cURL
curl --request POST \ --url https://api.fabric.inc/v3/prices \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-fabric-tenant-id: <x-fabric-tenant-id>' \ --data '{ "priceListId": 100000, "itemId": 10000001, "itemSku": "SKU0123456", "offers": { "startAt": "2019-08-24T14:15:22.000Z", "endAt": "2019-08-25T14:15:22.000Z", "price": { "base": 299.99, "sale": 199.99, "cost": 148.99 } } }'
{ "priceListId": 100000, "itemId": 10000001, "itemSku": "SKU0123456", "isDeleted": false, "channelId": "12", "currency": "USD", "offers": { "startAt": "2019-08-24T14:15:22.000Z", "endAt": "2019-08-25T14:15:22.000Z", "price": { "base": 299.99, "sale": 199.99, "cost": 148.99 } }, "createdAt": "2019-08-20T14:15:22.000Z", "updatedAt": "2019-08-20T14:15:22.000Z" }
Create or update price of an item based on given itemId and itemSku
itemId
itemSku
24
1 - 10
Show child attributes
Was this page helpful?