New: Stripe & TossPayments integration guides now available →
cURL
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": {} }
API Key. Example: sk_live_xxxxx or pk_live_xxxxx
Update store settings. Currency can only be changed in the initial state with no product/order data. Returns 409 Conflict if products/orders exist when changing currency.
ISO 4217. Cannot be changed if product/order data exists
성공
basis points. 1000 = 10%