Skip to content
Last updated

Update Warehouse

Updates an existing Ship From Location (formerly known as warehouse).

NOTE

In the API, the endpoint is called warehouse, but the process actually affects Ship From locations in the UI on the application side of operations.

curl -i -X PUT \
  -u <username>:<password> \
  https://ssapi.shipstation.com/warehouses/updatewarehouse \
  -H 'Content-Type: application/json' \
  -d '{
    "warehouseId": 17977,
    "warehouseName": "Flagship Location",
    "originAddress": {
      "name": "John Doe",
      "company": "Acme Corp",
      "street1": "123 Main St",
      "street2": "Apt 4B",
      "street3": "Building B",
      "city": "Austin",
      "state": "TX",
      "postalCode": "78701",
      "country": "US",
      "phone": "512-555-1234",
      "residential": true,
      "addressVerified": "Address validated successfully"
    },
    "returnAddress": {
      "name": "John Doe",
      "company": "Acme Corp",
      "street1": "123 Main St",
      "street2": "Apt 4B",
      "street3": "Building B",
      "city": "Austin",
      "state": "TX",
      "postalCode": "78701",
      "country": "US",
      "phone": "512-555-1234",
      "residential": true,
      "addressVerified": "Address validated successfully"
    },
    "isDefault": true
  }'
Loading...