latestOpenAPI 3.1.0MIT2026-08-104712182.1 KB

c71c20d26559

warehouses

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.

put/warehouses/updatewarehouse

Request body

warehouseIdinteger required

Unique identifier for the warehouse

warehouseNamestring

Name of Ship From Location

isDefaultboolean

Whether this will be the default Ship From Location

Example request

{
  "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
}

Response

Warehouse updated successfully

warehouseIdinteger
warehouseNamestring
isDefaultboolean

Example response

{
  "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"
  }
}