POST /price-updates.json

POST /price-updates.json
application/json

Body Required

Responses

POST /price-updates.json
curl \
 -X POST http://api.example.com/v1/price-updates.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"channelVariantId":42,"compareAtPriceCache":42.0,"exchangeRate":42.0,"inventoryFeedVariantId":42,"priceCache":42.0,"priceId":42,"priceListId":42,"trigger":"channelImport"}'
Request example
{
  "channelVariantId": 42,
  "compareAtPriceCache": 42.0,
  "exchangeRate": 42.0,
  "inventoryFeedVariantId": 42,
  "priceCache": 42.0,
  "priceId": 42,
  "priceListId": 42,
  "trigger": "channelImport"
}
Response examples (200)
{
  "channelVariantId": 42,
  "compareAtPriceCache": 42.0,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "exchangeRate": 42.0,
  "id": 42,
  "inventoryFeedVariantId": 42,
  "priceCache": 42.0,
  "priceId": 42,
  "priceListId": 42,
  "trigger": "channelImport",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}