# Pricing

Pricing is essential to any product listing; it impacts customer purchasing decisions and overall sales strategy. Understanding and accessing accurate pricing information, including list prices, discounts, and applicable fees, ensures transparency and helps shoppers make informed decisions. This section details the steps needed to retrieve comprehensive pricing data for specific products, complete with practical examples and sample responses.

## Getting pricing for a specific product

Retrieving the pricing details for a specific product lets you obtain comprehensive pricing information, including list prices, sale prices, and applicable discounts. The following section will guide you through the necessary steps to achieve this, including a practical example using cURL and a sample response for successful requests.

Send a [`GET /v1/shoppers/me/products/{productId}/pricing` ](https://docs.digitalriver.com/commerce-api-references/shopper-apis/browse-product-discovery/pricing#v1-shoppers-me-products-productid-pricing)request to get pricing for a specific product. Replace `{productId}` with the product's ID and provide the necessary authorization header. Here's an example using cURL:

{% tabs %}
{% tab title="cURL" %}

```http
curl --location --request GET 'https://api.digitalriver.com/v1/shoppers/me/products/{productId}/pricing' \
--header 'authorization: bearer {Your_Access_token}\
```

{% endtab %}

{% tab title="200 OK response" %}

```json
{
  "volumePricing": {
    "uri": "https://api.digitalriver.com/v1/shoppers/me/products/73248500/pricing/volume-pricing",
    "tier": [
      {
        "from": 1,
        "to": 1,
        "pricing": {
          "listPrice": {
            "currency": "USD",
            "value": "19.99"
          },
          "listPriceWithQuantity": {
            "currency": "USD",
            "value": "19.99"
          },
          "salePriceWithQuantity": {
            "currency": "USD",
            "value": "19.99"
          },
          "formattedListPrice": "$8.00",
          "formattedListPriceWithQuantity": "$8.00",
          "formattedSalePriceWithQuantity": "$8.00",
          "totalDiscountWithQuantity": {
            "currency": "USD",
            "value": "19.99"
          },
          "formattedTotalDiscountWithQuantity": "$0.00",
          "discountDescription": "string",
          "feePricing": {
            "salePriceWithFeesAndQuantity": {
              "currency": "USD",
              "value": "19.99"
            },
            "formattedSalePriceWithFeesAndQuantity": "$8.00"
          },
          "listPriceIncludesTax": "false",
          "msrpPrice": {
            "currency": "USD",
            "value": "19.99"
          },
          "formattedMsrpPrice": "string"
        }
      }
    ],
    "formattedSalesPriceRange": "$5.00-$8.00"
  }
}
```

{% endtab %}
{% endtabs %}

A `200 OK` response will include the volume pricing details for the specified product.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/shopper-apis/product-discovery/pricing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
