Skip to main content
Use 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 omit targetMarkets 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.
Send every SKU that should remain in the product. SKUs missing from the request are treated as deleted. A market-only update still requires the complete product payload.

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:
The list replaces the previous selection. ECOM/BR is excluded in this example.

Remove one market

To keep only ECOM in Mexico:
Removed markets become unavailable in e-CROSS immediately. Sales channel updates are asynchronous. Adding a market follows localization and approval before publication. If you remove and add markets together, removals apply first; new markets wait for approval.

Restore all enabled markets

[] means all enabled markets, not no markets. Omitting targetMarkets has the same effect, including on updates. Restoring all markets can add markets and require localization and approval.

Stop sales in every market

Change active 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.