The market object
A comprehensive list of the market resource's attributes and relationships
A market object is returned as part of the response body of each successful list, retrieve, create or update API call to the /api/markets
endpoint.
Fields
Field | Type | Description |
---|---|---|
type |
|
|
id |
| The market unique identifier |
links.self |
| The market endpoint URL |
attributes.number |
| Unique identifier for the market (numeric). |
attributes.name |
| The market's internal name. |
attributes.code |
| A string that you can use to identify the market (must be unique within the environment). |
attributes.facebook_pixel_id |
| The Facebook Pixed ID. |
attributes.checkout_url |
| The checkout URL for this market. |
attributes.external_prices_url |
| The URL used to overwrite prices by an external source. |
attributes.external_order_validation_url |
| The URL used to validate orders by an external source. |
attributes.private |
| Indicates if market belongs to a customer_group. |
attributes.shipping_cost_cutoff |
| When specified indicates the maximum number of shipping line items with cost that will be added to an order. |
attributes._disable |
| Send this attribute if you want to mark this resource as disabled. |
attributes._enable |
| Send this attribute if you want to mark this resource as enabled. |
attributes.disabled_at |
| Time at which this resource was disabled. |
attributes.shared_secret |
| The shared secret used to sign the external request payload. |
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 any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever. |
attributes.reference_origin |
| Any identifier of the third party system that defines the reference code. |
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 active price list. Can be the one associated to the active scheduler or the base one if there are no schedulers. |
relationships.base_price_list |
| The base price list associated to the market, no matter the active price scheduler. |
relationships.inventory_model |
| The associated inventory model. |
relationships.subscription_model |
| The associated subscription model. |
relationships.tax_calculator |
| The associated tax calculator. |
relationships.customer_group |
| The associated customer group. |
relationships.geocoder |
| The associated geocoder. |
relationships.stores |
| The associated stores. |
relationships.price_list_schedulers |
| The associated price list schedulers. |
relationships.attachments |
| The associated attachments. |
relationships.versions |
| The associated changes. |
meta.mode |
| The resource environment (can be one of |
Last updated