Pricing

Get pricing for a specific product

get
Path parameters
productIdstringRequired

Provide the product identifier.

Query parameters
apiKeystringOptional

Provide your client identifier.

tokenstringOptional

Provide the authorized or anonymous token for a shopper.

expandstringOptional

Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.

fieldsstringOptional

Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.

currencystringOptional

Set the preferred currency for the pricing information returned for a product. The currency query parameter takes precedence over locale.

localestringOptional

Set the preferred locale for the pricing information returned for products. The currency query parameter takes precedence over locale.

Responses
200
Successful response.
application/json
Responseone of
or
get
GET /v1/shoppers/me/products/{productId}/pricing HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
  "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"
  }
}

Last updated