Skip to main content
POST
Create an order approval rule

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Body

application/json
account_id
string<uuid> | null

Scope the rule to a customer account.

sales_channel_id
string<uuid> | null

Scope the rule to a sales channel.

threshold_amount
number | null

Order amount that triggers approval.

approver_user_id
string<uuid> | null
is_active
boolean
default:true

Response

Approval rule created.

The response is of type object.