GET
/
walmart
/
product
/
units-in-stock
curl -X GET "http://rivin.ai/api/walmart/product/units-in-stock?walmart_product_code=1370971228" \
  -H "Content-Type: application/json" \
  -H "x-api-key: (YOUR_API_KEY_HERE)"
{
  "walmart_product_code": "1370971228",
  "sellers": [
    {
      "seller_name": "Walmart.com",
      "units_in_stock": 45,
      "last_updated": "2024-01-15T10:30:00Z"
    },
    {
      "seller_name": "Third Party Seller",
      "units_in_stock": 12,
      "last_updated": "2024-01-15T09:15:00Z"
    }
  ]
}
🚧 Coming Soon: This endpoint is currently in development and will be available soon. Stay tuned for updates!
Rate Limit: This endpoint has a default rate limit of 10 products/second per account. Need higher limits? Contact our support team - we can accommodate any rate limit requirements on request.
Credit Cost: This endpoint costs 5 credits per successful request. Credits are only deducted when the API call succeeds and returns product data. Failed requests (errors, rate limits, etc.) do not consume credits.
curl -X GET "http://rivin.ai/api/walmart/product/units-in-stock?walmart_product_code=1370971228" \
  -H "Content-Type: application/json" \
  -H "x-api-key: (YOUR_API_KEY_HERE)"
{
  "walmart_product_code": "1370971228",
  "sellers": [
    {
      "seller_name": "Walmart.com",
      "units_in_stock": 45,
      "last_updated": "2024-01-15T10:30:00Z"
    },
    {
      "seller_name": "Third Party Seller",
      "units_in_stock": 12,
      "last_updated": "2024-01-15T09:15:00Z"
    }
  ]
}
Inventory Tracking: This endpoint provides real-time inventory levels for all sellers of a specific product. Data is updated frequently but may have slight delays depending on seller update frequency.

Headers

x-api-key
string
required

Your unique API key for authentication. This key is required in the header of all API requests, to authenticate your account and access Rivin.ai's services. Get your API key through the Settings page.

Query Parameters

walmart_product_code
string
required

The Walmart product code to get inventory information for.

Response

200
application/json

Successful response

The response is of type object.