targetMarkets in the Upsert SKUs API to choose where to sell a
product. A market is a sales channel and destination country pair, such as ECOM/BR or LIVERPOOL/MX.
The selection applies to the whole product. Send the same selection on every SKU, including all variations.
Default behavior
When you omittargetMarkets from every SKU, e-CROSS automatically selects all markets enabled for your merchant.
You do not need to list each market. Only markets already enabled in your merchant account are included.
This also applies to updates: omitting targetMarkets restores all enabled markets, replacing any previous restriction.
The SKU must be active (globalSaleChannelData.active: true). Publication follows the normal localization and approval flow.
Select one market
1
Get the complete product
Retrieve the product using the Get all SKUs of a product API.
Keep every SKU returned and its catalog data.
2
Set the same selection on every SKU
Add
targetMarkets to every SKU. This complete request body selects ECOM in Brazil for a product with two variations.
Use your own SKU data and publicly accessible image URLs.3
Send the complete product
Send the complete product using the Upsert SKUs API.Expected: HTTP
200 and the saved SKUs, each with targetMarkets containing ECOM/BR.Change the selection
Before each update, retrieve the latest product using the Get all SKUs of a product API. Apply the changes to every SKU, then submit the complete product using the Upsert SKUs API. The snippets below show only the fields to change, not complete request bodies. Keep all other SKU data.Select multiple markets
Sell through ECOM and Liverpool in Mexico, assuming both markets are enabled:ECOM/BR is excluded in this example.
Remove one market
To keep only ECOM in Mexico:Restore all enabled markets
Stop sales in every market
Changeactive on every SKU and keep the other globalSaleChannelData fields:
active: false overrides the market selection. If the main SKU is inactive, every variation must also be inactive.
This does not delete physical inventory.