Skip to main content
GET
/
api
/
commerce
/
products
/
{productId}
/
offers
Get product pricing and offers
curl --request GET \
  --url https://api-beta.pepay.io/api/commerce/products/{productId}/offers \
  --header 'x-commerce-api-key: <api-key>'
{
  "success": true,
  "data": {
    "productId": "B08N5WRWNW",
    "retailer": "amazon",
    "offers": [
      {
        "offerId": "<string>",
        "sellerId": "ATVPDKIKX0DER",
        "sellerName": "Amazon.com",
        "price": 99.99,
        "shipping": 0,
        "totalCost": 99.99,
        "prime": true,
        "primeOnly": false,
        "condition": "New",
        "handlingDays": {
          "min": 0,
          "max": 2
        },
        "sellerRating": 98.5,
        "sellerRatingCount": 10543,
        "international": false,
        "available": true
      }
    ]
  },
  "meta": {
    "timestamp": "2025-01-30T12:34:56.789Z"
  }
}

Authorizations

x-commerce-api-key
string
header
required

Legacy alias for commerce-scoped API keys. Prefer x-api-key with scope=commerce.

Path Parameters

productId
string
required

Product identifier

Required string length: 1 - 100

Query Parameters

retailer
enum<string>
default:amazon

Retailer to fetch offers from

Available options:
amazon,
walmart
zipCode
string

US zip code for shipping calculations

Response

Product offers and pricing

success
boolean
Example:

true

data
object
meta
object