201Successful Response
Schema: SuccessEnvelope_LocationResponse_
successbooleanmessagestringcodestringdataLocationResponse
/api/v1/inventory/locationsCreate a new inventory location.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: LocationCreate
namestringrequiredLocation name
codestringShort code like 'WH1', 'STORE-NYC'
location_typeLocationTypeEnumLocationTypeEnumType of location
address_line1stringaddress_line2stringcitystringstatestringpostal_codestringcountrystringis_defaultbooleanDefault location for new inventory
is_activebooleanWhether location accepts new inventory
contact_namestringcontact_emailstringcontact_phonestringnotesstringSchema: SuccessEnvelope_LocationResponse_
successbooleanmessagestringcodestringdataLocationResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject