Purpose
Create a new order in Clopos using the simplified v2 payload. Optional fields with defaults can be omitted.HTTP Request
Request Example
Payload fields
Top-level
auto_accept_terminal(number, optional): Terminal that auto-accepts.auto_order_accept(boolean, defaultfalse): Auto-accept the order.auto_order_sent_to_station(boolean, defaultfalse): Auto-send to stations after acceptance.sale_type_id(number, required): Sale type to use.venue_id(number, required): Venue where the order belongs.delivery_fee(number, optional): Delivery charge to apply.comment(string, optional): Free text note for the order.
Discounts
discount(object, optional; defaults applied if present but fields omitted)discount_type(number, default0)discount_value(number, default0)
Service charge
service_charge(object, optional; defaults applied if present but fields omitted)enabled(boolean, defaultfalse)value(number, default0)
Customer (required)
id(number)phone(string)address(string)customer_discount_type(number)name(string)
Products (array, required)
Each product item requires:product_id(number)product_name(string, required) — Display name of the productcount(number)price(number)status(string)product_hash(string)portion_size(number, default1, optional)note(string, optional) — Free text note for the product (e.g., “No onions”)modifiers(array, optional; defaults to[])modifier_id(number)modifier_name(string, required) — Display name of the modifiercount(number)price(number, default0, optional)portion_size(number, default1, optional)
Optional fields and any values with defaults can be omitted; defaults are
applied server-side .
Response (example)
Response Field Reference
| Field | Type | Description |
|---|---|---|
id | integer | Newly created order identifier. |
venue_id | integer | Venue where the order was placed. |
type | string | Order type (e.g., CALL_CENTER_ORDER). |
integration | string | Integration channel (e.g., call_center_new). |
integration_uuid | string (nullable) | UUID from the integration source, if provided. |
integration_id | string (nullable) | External ID from the integration source. |
customer_ref_id | string (nullable) | External customer reference ID. |
integration_status | string | Initial integration state (CREATED). |
status | string | Initial order lifecycle state (PENDING). |
integration_response | object (nullable) | Response from the integration, if any. |
created_at | string | Creation timestamp (ISO 8601). |
updated_at | string | Last update timestamp (ISO 8601). |