Docs

Create Order Type

POST /organizations/{orgId}/order-types

POST/organizations/{orgId}/order-types

Adds an order type with one Details section and returns its id. Place attributes with OrderTypes_AssignOrderTypeSectionAttribute. Needs Order.Configure at the organization.

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
iconstringOptional
colorstringOptional

Response

Type: uuid