Create order

What is it for?

Creates a new order in the system.

Conditions

  • Requires authentication.
    Each array element is a product in the order. Minimum 1 line required. In each line you must identify the product with ONE of these three fields: product_id, pack_id or name. You do not need to send all three.

Parameters

Fill in the fields in Body Params, Query Params and/or Path Params as applicable.

External Financial Status Reference

The external_financial_status field reflects the financial state coming from the external e-commerce platform (Shopify, WooCommerce, MercadoPago). Accepted values:

ValueMeaning
paidOrder has been paid
pendingOrder pending payment
refundedOrder has been refunded
partially_refundedOrder has been partially refunded

Note: When sent in a request (POST/PUT), the value is accepted as free string and stored as-is.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

External order identifier. Copy it from your system (Shopify, WooCommerce, etc.)

string
required

Internal order reference

integer | null

Payment method ID (can be null)

string | null

External payment method name

string | null

External financial status (e.g.: 'paid', 'pending')

date-time
required

Date and time the order was created (valid date/time format)

date-time | null

Date and time the order was paid (if applicable)

customer
object
required

Customer information

float
required

Total order taxes

float
required

Total shipping cost

float
required

Total discount applied to the order

string
required

Currency code (e.g.: 'EUR', 'USD')

integer
required

ID of the shop the order belongs to

lines
array of objects
required
length ≥ 1

Order line items (at least 1)

lines*
integer | null

Associated product ID (required if name or pack_id is not provided)

string | null

Product name (required if product_id or pack_id is not provided)

integer
required

Number of items in the line

float
required

Total cost for this line (subtotal)

string | null

External product ID

string | null

External product variant ID

integer | null

Pack ID (required if name or product_id is not provided)

Responses

400

Malformed request or invalid data

401

Unauthorized (invalid or expired token)

422

Validation error

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json