Skip to main content
POST
/
api
/
v1
/
:team_slug
/
:app_slug
/
markets
Error
A valid request URL is required to generate request examples
{
  "data": {
    "active": true,
    "country_codes": [
      "<string>"
    ],
    "created_at": "<string>",
    "currency_code": "<string>",
    "id": "<string>",
    "locale": "<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

Market data

country_codes
string[]
required
Minimum array length: 1
currency_code
string
required
locale
string
required
name
string
required
slug
string
required
active
boolean

Response

Market created or updated 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