Last updated 5 months ago
Get pricing for a product by specifying the {productId} URI path parameter. This method returns the pricing associated with the product identifier.
Provide the product identifier.
Successful response.
const response = await fetch('https://api.digitalriver.com/v1/shoppers/me/products/{productId}/pricing', { method: 'GET', headers: {}, }); const data = await response.json();
{ "pricing": { "uri": "https://api.digitalriver.com/v1/shoppers/me/products/64578500/pricing", "listPrice": { "currency": "USD", "value": "19.99" }, "salePriceWithQuantity": { "currency": "USD", "value": "19.99" }, "formattedListPrice": "$19.99", "formattedSalePriceWithQuantity": "$17.99", "listPriceIncludesTax": "false", "formattedCommitmentPrice": "$240.00", "commitmentPrice": { "currency": "USD", "value": "240.00" }, "msrpPrice": "text", "formattedMsrpPrice": "text" } }