Save order requirements settings
Replaces the order requirements configuration for the current workspace.
PUT
/api/unstable/configs/order-requirementsReplaces the order requirements configuration for the current workspace.
Request Body
application/json
enabled*boolean
Whether order requirements are enabled globally.
Example
truetemplates*array<>
Configured requirement templates.
Example
[
{
"id": "tmpl_123",
"key": "purchase_order",
"title": "Purchase order",
"description": "Ask the customer for the purchase order before confirming the sale.",
"enabled": true
}
][key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json