GET /breadcrumbs/product_category/:id_or_alias

GET /breadcrumbs/product_category/{id_or_alias}

Return all breadcrumbs available for a specific product category

Path parameters

Responses

GET /breadcrumbs/product_category/{id_or_alias}
curl \
 -X GET https://api.cosmily.com/api/v1/breadcrumbs/product_category/{id_or_alias} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": 42,
    "title": "string",
    "alias": "string",
    "menuindex": 42,
    "parent_id": 42,
    "parent": {
      "id": 42,
      "title": "string",
      "alias": "string",
      "menuindex": 42,
      "parent_id": 42
    },
    "children": [
      {
        "id": 42,
        "title": "string",
        "alias": "string",
        "menuindex": 42,
        "parent_id": 42
      }
    ]
  }
}
Response examples (200)
{
  "data": {
    "id": 42,
    "title": "string",
    "alias": "string",
    "menuindex": 42,
    "parent_id": 42,
    "parent": {
      "id": 42,
      "title": "string",
      "alias": "string",
      "menuindex": 42,
      "parent_id": 42
    },
    "children": [
      {
        "id": 42,
        "title": "string",
        "alias": "string",
        "menuindex": 42,
        "parent_id": 42
      }
    ]
  }
}