Skip to main content
GET
/
storefront
/
categories
/
by-slug
/
{slug}
Slug로 카테고리 조회
curl --request GET \
  --url https://api.headlesscommerce.io/v1/storefront/categories/by-slug/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "parent_id": "<string>",
  "position": 123,
  "children": "<array>",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

Path Parameters

slug
string
required

Response

Success

id
string
name
string
slug
string
description
string
parent_id
string | null
position
integer
children
array
metadata
object
created_at
string<date-time>