Recerc

Add order requirement template

Creates a new order requirement template.

POST/api/unstable/configs/order-requirements/templates

Creates a new order requirement template.

Request Body

application/json

id*string

Template identifier.

Example"tmpl_123"
key*string

Stable requirement key.

Example"purchase_order"
title*string

Requirement title shown to users.

Example"Purchase order"
description*string

Requirement help text.

Example"Ask the customer for the purchase order before confirming the sale."
enabled*boolean

Whether the template is active.

Exampletrue
[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json