Docs
Create Order Type
POST /organizations/{orgId}/order-types
POST
/organizations/{orgId}/order-typesAdds an order type with one Details section and returns its id. Place attributes with OrderTypes_AssignOrderTypeSectionAttribute. Needs Order.Configure at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| icon | string | Optional | |
| color | string | Optional |
Response
Type: uuid