Delete location
DELETE
/api/v1/inventory/locations/{location_id}
Delete a location. Cannot delete if it has inventory or is the default.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Path
-
location_idstring required
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
404 Not Found - Resource does not exist
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-