Setting the price of an item
Learn how to set the price and aggregate price of items in a Checkout or Invoice.
Defining a price
curl --location --request POST 'https://api.digitalriver.com/checkouts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <API_key>' \
--data-raw '{
"customerId": 520984250336,
...
"items": [
{
"skuId": "77817db3-5b74-443e-86fc-b04ee6637f29",
"price": 100.00,
"quantity": 2
},
{
"skuId": "e446860d-86a6-4e22-ba38-bbaa2c17de55",
"price": 50.00,
"quantity": 3
}
]
}'Defining an aggregate price
Use cases
Example one
Example two
Last updated