Fulfillment & ShippingFulfillment
Delete a location
Deletes a non-default location only after its inventory, active transfers, and open fulfillment orders are cleared.
DELETE
/v1/fulfillment/locations/{id}Deletes a non-default location only after its inventory, active transfers, and open fulfillment orders are cleared.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Path Parameters
id*string
Unique identifier of the resource.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/v1/fulfillment/locations/7204558912004325301" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "id": "7204558912004325301"}