A market is made of a merchant, an inventory model and a price list (plus an optional geocoder and tax calculator). Sales channel applications can specify a market scope when obtaining an access token. This way, all the resources (e.g., SKUs, prices, stock items) are automatically filtered (learn more).
A market object is returned as part of the response body of each successful create, list, retrieve, or update API call.
Field | Type | Description |
type |
|
|
id |
| The market unique identifier |
links.self |
| The market endpoint URL |
attributes.number |
| Unique identified for the market (numeric) |
attributes.name |
| The market's internal name |
attributes.facebook_pixel_id |
| The Facebook Pixed ID |
attributes.id |
| Unique identifier for the resource (hash). |
attributes.created_at |
| Time at which the resource was created. |
attributes.updated_at |
| Time at which the resource was last updated. |
attributes.reference |
| A string that you can use to add your own identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool or a CRM. |
attributes.metadata |
| Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format. |
relationships.merchant |
| The associated merchant. |
relationships.price_list |
| The associated price list. |
relationships.inventory_model |
| The associated inventoty model. |
meta.mode |
| The resource environment (can be one of |