PUT /price-updates/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
channelVariantId integer(int32) | null
Channel variant
-
compareAtPriceCache number | null
Compare at price cache
-
createdAt string(date-time)
Created at
-
exchangeRate number | null
Exchange rate
-
id integer(int32)
Id
-
inventoryFeedVariantId integer(int32) | null
Inventory feed variant
-
priceCache number | null
Price cache
-
Price
-
priceListId integer(int32) | null
Price list
-
trigger string | null
Trigger
Values are
channelImport
,inventoryFeed
,priceList
, ormanual
. -
updatedAt string(date-time)
Updated at
PUT
/price-updates/{id}.json
curl \
-X PUT http://api.example.com/v1/price-updates/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}