Warehouses

Update a warehouse

A shared warehouse belongs to no team, so the team cannot change it and the call answers 404.

patch/api/v1/sa/inventory/warehouses/{id}

Request

  • Base URL: https://app.sellerassistant.app (the document declares no server; this is the origin it was published from)
  • URL: https://app.sellerassistant.app/api/v1/sa/inventory/warehouses/{id}
  • Auth: one of:
    • API key in query parameter api_key
    • API key in header X-Api-Key

Path parameters

idinteger required
Example:3

Request body

namestring

The name of the warehouse.

websitestring

Unique inside the team.

locationstring nullable
contactsstring nullable
configobject nullable
statusstring
is_primaryboolean

Example request

{
  "name": "East Coast Prep",
  "website": "eastcoastprep.com",
  "status": "active"
}

Response

The warehouse

Example response

{
  "data": {
    "id": 3,
    "name": "East Coast Prep",
    "website": "eastcoastprep.com",
    "status": "active"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.