API · Walmart
GET /walmart/products/{product_id}/offers
Who sells a Walmart item: the primary offer, the seller and other offers.
| |
|---|
| Request | GET /v1/walmart/products/{product_id}/offers |
| Operation id | walmart.offers.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Who sells a Walmart item: the primary offer, the seller and other offers.
| Name | Type | Required | Description |
|---|
product_id | string | yes | Walmart item id (the number in /ip/…/<id>), or a product URL. Example: 5113175776. |
| Name | Type | Required | Description |
|---|
country | "US" | "CA" | no | US (default) or CA. One of US, CA. |
| Status | Meaning | Schema |
|---|
200 | The offers. | WalmartOffers |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The product or category does not exist. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Walmart is temporarily unavailable. Retryable; nothing was charged. | Error |
| Field | Type | Description |
|---|
product_id | string | |
country | string | |
name | string | null | |
primary_offer | object | null | |
seller | object | |
secondary_offers | object[] | |
condition_offers | object[] | |
additional_offer_count | number | null | |
Errors use one shape everywhere; see Errors for every code and what to do.