Skip to main content
PATCH
/
admin
/
shipping_methods
/
{id}
배송 방법 수정
curl --request PATCH \
  --url https://api.headlesscommerce.io/v1/admin/shipping_methods/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "price": 123,
  "free_shipping_threshold": 123,
  "is_active": true,
  "metadata": {}
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "price": {
    "amount": 123,
    "currency": "<string>"
  },
  "free_shipping_threshold": {
    "amount": 123,
    "currency": "<string>"
  },
  "is_active": true,
  "position": 123
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

Path Parameters

id
string
required

리소스 ID

Body

application/json
name
string
description
string
price
integer
free_shipping_threshold
integer
is_active
boolean
metadata
object

Response

200 - application/json

Success

id
string
name
string
description
string
price
object
free_shipping_threshold
object
is_active
boolean
position
integer