Skip to main content
PATCH
/
admin
/
store
스토어 설정 수정
curl --request PATCH \
  --url https://api.headlesscommerce.io/v1/admin/store \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "currency": "<string>",
  "timezone": "<string>",
  "prices_include_tax": true,
  "tax_rate": 123,
  "metadata": {}
}
'
{
  "id": "<string>",
  "name": "<string>",
  "currency": "<string>",
  "timezone": "<string>",
  "prices_include_tax": true,
  "tax_rate": 123,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

Body

application/json

스토어 설정 수정. currency는 상품/주문 데이터가 없는 초기 상태에서만 변경 가능합니다. 기존 상품/주문이 있는 경우 currency 변경 시 409 Conflict를 반환합니다.

name
string
currency
string

ISO 4217. 상품/주문 데이터 존재 시 변경 불가

timezone
string
prices_include_tax
boolean
tax_rate
integer
metadata
object

Response

200 - application/json

Success

id
string
name
string
currency
string
timezone
string
prices_include_tax
boolean
tax_rate
integer

basis points. 1000 = 10%

metadata
object