Delete location
DELETE/v1/sellers/:sellerId/locations/:locationId
Permanently deletes the specified location.
Constraint: The default location of a type cannot be deleted while other locations of the same type exist. Promote a different location to default before deleting this one. Returns 409 in this case.
Constraint: A location actively referenced by live SKU inventory locations cannot be deleted. Returns 409 with details of the affected SKUs.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
Location deleted successfully. No response body.
Bearer token is absent or expired.
The authenticated application does not have permission to delete this location.
No location exists for the given locationId under this Seller.
Location cannot be deleted because it is either:
- The sole default location for its type, or
- Still referenced by one or more active SKU inventory locations.
Internal server error.