Get category taxonomy and IDs from Tesco Ireland

Retrieve the complete category taxonomy structure with category IDs that can be used with other Ireland category endpoints. No parameters required.

GET
/get-category-ids-for-ireland

Authorization

RapidApiKey
X-RapidAPI-Key<token>

In: header

Header Parameters

X-RapidAPI-Host*string
Default"tesco-data-api.p.rapidapi.com"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/get-category-ids-for-ireland" \  -H "X-RapidAPI-Host: tesco-data-api.p.rapidapi.com"
{
  "success": true,
  "data": {
    "taxonomy": [
      {
        "name": "Groceries",
        "label": "superDepartment",
        "children": [
          {
            "name": "Fresh Food",
            "label": "department",
            "children": [
              {
                "id": "b;R3JvY2VyaWVzJTdDRnJlc2glMjBGb29kJTdDRnJ1aXQlMjAmJTIwVmVnZXRhYmxlcw==",
                "label": "aisle",
                "name": "Fruit & Vegetables"
              }
            ]
          }
        ]
      }
    ]
  }
}
{
  "success": false,
  "message": "Internal server error. Please try again later.",
  "error": "INTERNAL_ERROR"
}
{
  "success": false,
  "message": "Tesco API is currently unavailable. Please try again later.",
  "error": "TESCO_API_ERROR"
}