메인 콘텐츠로 건너뛰기
GET
/
storefront
/
categories
카테고리 목록 조회 (트리)
curl --request GET \
  --url https://api.headlesscommerce.io/v1/storefront/categories \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "parent_id": "<string>",
      "position": 123,
      "children": "<array>",
      "metadata": {},
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

인증

Authorization
string
header
필수

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

응답

200 - application/json

성공

data
object[]