Skip to main content
DELETE
/
settings
/
shipping
/
warehouses
/
{index}
Delete Warehouse
curl --request DELETE \
  --url https://staging-api.puppetvendors.com/settings/shipping/warehouses/{index} \
  --header 'x-access-token: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt

Use this file to discover all available pages before exploring further.

V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Remove a warehouse / location at the given zero-based index. Returns the remaining warehouses after deletion. Vendor scope required.

Path Parameters

index
integer
required
Zero-based index of the warehouse to delete.

Response

200
{
  "success": true,
  "data": [
    { "locationId": 1, "name": "East Coast Fulfillment" }
  ]
}

Example

curl -X DELETE "https://staging-api.puppetvendors.com/settings/shipping/warehouses/0" \
  -H "x-access-token: YOUR_VENDOR_JWT"