Skip to main content
POST
/
api
/
v1
/
:team_slug
/
:app_slug
/
warehouses
Error
A valid request URL is required to generate request examples
{
  "data": {
    "address": {
      "country": "<string>",
      "city": "<string>",
      "postal_code": "<string>",
      "state": "<string>",
      "street_address": "<string>"
    },
    "app_id": "<string>",
    "available_online": true,
    "created_at": "<string>",
    "id": "<string>",
    "markets": [
      {
        "active": true,
        "country_codes": [
          "<string>"
        ],
        "created_at": "<string>",
        "currency_code": "<string>",
        "id": "<string>",
        "locale": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "updated_at": "<string>"
      }
    ],
    "name": "<string>",
    "slug": "<string>",
    "updated_at": "<string>"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

app_slug
string
required

App slug

team_slug
string
required

Team slug

Body

application/json

Warehouse data

address
object
required
name
string
required
slug
string
required
available_online
boolean
default:true
markets
string[]

Response

Warehouse created successfully

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean