Delete a location

Deletes a location from your account. Every line that sits there is moved back to having no location — the lines themselves are kept.

Requires the inventory:write scope.

Path Parameters
  • locationName
    Type: string
    min length:  
    1
    required

    The location's current name. URL-encode it in the path — e.g. Shelf%20A. Matched case-insensitively.

Body
application/json
Empty object
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/inventory/locations/{locationName}
curl 'https://public-api.cardnexus.com/v1/inventory/locations/{locationName}' \
  --request DELETE \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{}'
null