Warehouses
Create warehouses
The body is one warehouse or an array of them. The website is unique inside the team. is_primary: true moves the primary flag: one team has one primary warehouse.
post/api/v1/sa/inventory/warehouses
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
- Auth: one of:
- API key in query parameter api_key
- API key in header X-Api-Key
Request body
Example request
{
"name": "East Coast Prep",
"website": "eastcoastprep.com",
"status": "active"
}Response
One result for each element. An array answers this shape.
Example response
{
"data": [
{
"id": 3,
"name": "East Coast Prep",
"website": "eastcoastprep.com",
"status": "active"
}
],
"meta": {
"succeeded": 2,
"failed": 1
},
"errors": [
{
"code": "not_found",
"message": "The product [P-1] was not found."
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.