Return the stock details of a specific product

GET /product/stock/{sku}

Path parameters

  • sku string Required

    The SKU of the product

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • sku string | null
    • count integer(int32) | null
    • error string | null
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
  • 429 application/json

    Too Many Requests

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
GET /product/stock/{sku}
curl \
 --request GET 'https://dealers.api.rg-racing.com/product/stock/{sku}'
Response examples (200)
{
  "sku": "string",
  "count": 42,
  "error": "string"
}
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (401)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (429)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}