Skip to main content
POST
cURL
Create a reusable market without attaching it to a plan or price. Countries can belong to only one active market.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
name
string
requerido
Minimum string length: 1
countryCodes
string[]
requerido
Minimum array length: 1
Required string length: 2
metadata
object

Respuesta

Success

id
string
requerido
name
string
requerido
countryCodes
string[]
requerido
metadata
object
requerido
createdAt
string<date-time>
requerido
updatedAt
string<date-time>
requerido
object
string
requerido
Allowed value: "market"
livemode
boolean
requerido