Skip to content

Get Category

Endpoint: https://api.youcan.shop/categories/{id}

Method: GET

Required Scopes

  • read-categories

Response

[200]

json
{
  "id": "07cbf517-f3b0-4215-a970-0253af95a7b1",
  "name": "Default category",
  "image": null,
  "slug": "default-category",
  "show_on_collection": false,
  "public_url": "http://my-store.youcan.shop/collections/default-category",
  "description": "This is the default category.",
  "has_parent": false,
  "parent_id": null,
  "is_default": false,
  "images": [],
  "depth": 0,
  "meta": {
    "title": "Default category",
    "description": "This is the default category.",
    "images": [],
    "images_urls": []
  },
  "created_at": "2021-04-12T11:25:00+00:00",
  "updated_at": "2021-04-12T11:25:00+00:00",
  "deleted_at": null,
  "parent": []
}