InventoryLocations

Delete Location

Delete a location by ID

Note: Locations can only be deleted if they:

  • Have no stock
  • Have no child locations
DELETE
/shipos/locations/{location_id}
x-access-token<token>

In: header

Path Parameters

location_id*string

The ID of the location to delete

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/shipos/locations/string"
Empty