Show more

Use to navigate results, ENTER to select one, ESC to close

Type in any word to easily find the endpoint, property or group of operations you are looking for.

API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
R&G Dealers logo

Topics

  • Introduction
  • Authentication

Endpoints

  • Bikes
    • Return details of all Bikes, Models & Years GET
  • Brands
    • Return details of all Brands GET
  • Categories
    • Return details of all Categories GET
  • Product
    • Return the details of a specific product GET
    • Return the stock details of a specific product GET
    • Return the stock details of an array specific products by SKU POST
    • Search for products based on specified criteria GET
Powered by Bump.sh
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
R&G Dealers logo

Search for products based on specified criteria

Ask AI
  • Open in ChatGPT
  • Open in Claude

  • View as Markdown
  • Copy as Markdown
GET /product/search

Query parameters

  • categoryId integer(int32)

    The id of the product category. Reference /categories/all for details

  • brandId integer(int32)

    The id of the product brand. Reference /brands/all for details

  • category string

    Return all products who's category name contains this value

  • brand string

    Return all products who's brand name contains this value

  • createdBefore string(date-time)

    Return all products created before this date/time

  • createdAfter string(date-time)

    Return all products created after this date/time

  • updatedBefore string(date-time)

    Return all products updated before this date/time

  • updatedAfter string(date-time)

    Return all products updated after this date/time

  • includeExtendedProperties boolean

    If true, additional product details including descriptions, prices, stock details, additional fields and additional images will be returned.

    Default value is false.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int32)
    • sku string | null
    • name string | null
    • category object

      Additional properties are NOT allowed.

      Hide category attributes Show category attributes object
      • id integer(int32)
      • name string | null
      • description string | null
      • productDescription string | null
      • image string | null
      • logo string | null
      • bannerImage string | null
    • images array[string] | null
    • productType string | null
    • brand string | null
    • briefDescription string | null
    • fullDescription string | null
    • fittingInstructions string | null
    • fittingInstructionsQR string | null
    • coversheet string | null
    • selectedOptions array[object] | null
      Hide selectedOptions attributes Show selectedOptions attributes object
      • name string | null
      • value string | null
    • additionalFields array[object] | null
      Hide additionalFields attributes Show additionalFields attributes object
      • name string | null
      • value string | null
    • dateCreated string(date-time)
    • dateModified string(date-time)
    • ean string | null
    • sitePrice number(double)
    • weight number(double) | null
    • stock object

      Additional properties are NOT allowed.

      Hide stock attributes Show stock attributes object
      • sku string | null
      • count integer(int32) | null
      • error string | null
    • dealerPriceGBP number(double) | null
    • dealerPriceUSD number(double) | null
    • dealerPriceEUR number(double) | null
    • bikes array[object] | null
      Hide bikes attributes Show bikes attributes object
      • id integer(int32)
      • name string | null
      • image string | null
      • models array[object] | null
        Hide models attributes Show models attributes object
        • id integer(int32)
        • name string | null
        • image string | null
        • years array[object] | null
          Hide years attributes Show years attributes object
          • id integer(int32)
          • name string | null
          • mic string | null
          • image 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/search
curl \
 --request GET 'https://dealers.api.rg-racing.com/product/search'
Response examples (200)
[
  {
    "id": 42,
    "sku": "string",
    "name": "string",
    "category": {
      "id": 42,
      "name": "string",
      "description": "string",
      "productDescription": "string",
      "image": "string",
      "logo": "string",
      "bannerImage": "string"
    },
    "images": [
      "string"
    ],
    "productType": "string",
    "brand": "string",
    "briefDescription": "string",
    "fullDescription": "string",
    "fittingInstructions": "string",
    "fittingInstructionsQR": "string",
    "coversheet": "string",
    "selectedOptions": [
      {
        "name": "string",
        "value": "string"
      }
    ],
    "additionalFields": [
      {
        "name": "string",
        "value": "string"
      }
    ],
    "dateCreated": "2025-05-04T09:42:00Z",
    "dateModified": "2025-05-04T09:42:00Z",
    "ean": "string",
    "sitePrice": 42.0,
    "weight": 42.0,
    "stock": {
      "sku": "string",
      "count": 42,
      "error": "string"
    },
    "dealerPriceGBP": 42.0,
    "dealerPriceUSD": 42.0,
    "dealerPriceEUR": 42.0,
    "bikes": [
      {
        "id": 42,
        "name": "string",
        "image": "string",
        "models": [
          {
            "id": 42,
            "name": "string",
            "image": "string",
            "years": [
              {
                "id": 42,
                "name": "string",
                "mic": "string",
                "image": "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"
}