Skip to main content

Overview

Update prices for individual SKUs using one of two pricing models:
  • Origin Pricing: Define prices in your foreign currency, and e-CROSS automatically localizes them for all connected sales channels
  • Destination Pricing: Define prices in the destination country’s currency with all operational fees included
Update e-CROSS as soon as possible after SKU price changes to minimize the time it takes to reflect in sales channels, as each sales channel front-end has different caching mechanisms.

Pricing Models

Use origin pricing when you define prices in your foreign currency. e-CROSS will automatically localize these prices for each connected sales channel.

Update SKU Price (Origin)

curl -X POST 'https://product.api.e-cross.tech/ext/prices/origin/1234567891' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "listPrice": 30.00,
    "salePrice": 30.00
  }'
{
  "status": "LOCALIZATION IN PROGRESS",
  "publishedCount": 1,
  "publishedSkus": [
    "1234567891"
  ],
  "failedCount": 0,
  "failedSkus": [],
  "merchantId": "ACME"
}

Request Parameters

skuId
string
required
Identifier of the SKU (the SKU_ID used to create the SKU).
listPrice
number
The value in your foreign currency that will be localized into the “crossed” price in the local currency of connected sales channels. Use this when you want to apply a price promotion. In the product card, it will display as: “R$ 250,00 200,00”.
salePrice
number
required
The value in your foreign currency that will be localized into the final retail price in the local currency of connected sales channels. This is the payout value for each sale, meaning the amount that will be paid to you for each unit sold after the conciliation cycle.

Response Fields

status
string
required
Status of the localization process. Can be LOCALIZATION IN PROGRESS (queued) or ERROR (error in request).
publishedCount
integer
required
The number of price localization requests that were queued. In origin pricing, if there are 3 sales channels connected, then 3 localization requests will be queued.
publishedSkus
array
required
Array of SKU IDs that were queued to be localized.
failedCount
integer
required
The number of price localization requests that failed.
failedSkus
array
required
Array of SKU IDs that failed to be queued for localization.
merchantId
string
required
The merchant ID of this localization context.

How It Works

  1. Origin Pricing: You send prices in your currency → e-CROSS localizes for each sales channel → Final retail prices are calculated automatically
  2. Destination Pricing: You send final retail prices in destination currency → e-CROSS performs reverse localization → Estimated payout values are calculated
Price updates are processed asynchronously. The API performs online validation and queues the price localization to be processed. Changes may take some time to reflect in sales channels due to caching mechanisms.

Get SKU Price

Next: Learn how to retrieve current prices for a SKU