• Pricing
  • Blog
Log inBook a demo
Create market POSTDelete market DELETEGet market GETList markets GETUpdate market PATCH
System status
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

List markets

List reusable country groups that resolve market-specific prices independently from currency.

GET
/markets

List reusable country groups that resolve market-specific prices independently from currency.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/markets"
{  "object": "list",  "data": [    {      "id": "string",      "name": "string",      "countryCodes": [        "string"      ],      "metadata": {        "property1": null,        "property2": null      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "object": "market",      "livemode": true    }  ],  "hasMore": true,  "nextCursor": "string"}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}

Get market GET

Get one reusable market.

Update market PATCH

Replace the name, countries, and metadata of a market.