New: Stripe & TossPayments integration guides now available →
curl --request PATCH \
--url https://api.headlesscommerce.io/v1/admin/regions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"currency": "<string>",
"tax_rate": 123,
"prices_include_tax": true,
"is_default": true,
"is_active": true,
"metadata": {}
}
'{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"currency": "<string>",
"tax_rate": 123,
"prices_include_tax": true,
"is_default": true,
"is_active": true,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}curl --request PATCH \
--url https://api.headlesscommerce.io/v1/admin/regions/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"currency": "<string>",
"tax_rate": 123,
"prices_include_tax": true,
"is_default": true,
"is_active": true,
"metadata": {}
}
'{
"id": "<string>",
"name": "<string>",
"code": "<string>",
"currency": "<string>",
"tax_rate": 123,
"prices_include_tax": true,
"is_default": true,
"is_active": true,
"metadata": {},
"created_at": "2023-11-07T05:31:56Z"
}API Key. Example: sk_live_xxxxx or pk_live_xxxxx
Resource ID