Skip to main content
GET
/
storefront
/
customers
/
me
/
addresses
내 주소록 조회
curl --request GET \
  --url https://api.headlesscommerce.io/v1/storefront/customers/me/addresses \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Customer-Token: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "company": "<string>",
      "line1": "<string>",
      "line2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "postal_code": "<string>",
      "country": "<string>",
      "phone": "<string>",
      "type": "shipping",
      "is_default": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

X-Customer-Token
string
header
required

Storefront 고객 인증 토큰. POST /admin/customers/{id}/token 으로 발급. /storefront/customers/, /storefront/orders/ 접근 시 필요.

Response

200 - application/json

Success

data
object[]