Create a customer order

If the status is Confirmed (30) or greater, the software tries to book available products from stock immediately.

If the status is Shipped (70) or Delivered (80), and products are booked, the software creates a shipment document and picks products from the stock.

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

Database ID of the customer.

string

A unique number to identify the customer order.

If omitted, it is auto-generated.

string

Reference of the customer order.

integer
enum

Status of customer order.

  • 10 - quotation
  • 20 - waiting for confirmation
  • 30 - confirmed
  • 40 - waiting for production
  • 50 - in production
  • 60 - ready for shipment
  • 70 - shipped
  • 80 - delivered
  • 85 - archived
  • 90 - cancelled

Optional.

If the status is Confirmed (30) or greater, the software tries to book available products from stock immediately.
If the status is Shipped (70) or Delivered (80), and products are booked, the software tries to create a shipment document and pick products from stock.

integer

Date and time when this customer order was created. Defaults to current date if omitted.

integer

Date and time when this customer order should be delivered.

string | null

Delivery terms of the order.

string

Internal notes, any additional information about the order.

number

Percentage of discount.

number

Alias of discount_rate

number

Sum of discount in the order's currency.

string

Currency of the customer order. Can only be set on create.

number

Currency rate of the customer order.

integer

ID of customer order shipping address if it is selected in customer order details.

integer

Optional site ID.

If provided, products are booked from this site.
Otherwise, products are booked from the customer order's site.

integer

Database ID of the pricelist.

integer

Sales person who handles that customer order.

Optional stock lot ID or array of stock lot IDs.

If provided, products are booked from these stock lots.
Otherwise, products are booked from any stock lots.

Optional storage location ID or array of storage location IDs.

If provided, products are booked from these storage locations.
Otherwise, products are booked from any storage location.

products
array of objects
required

Array of products that are sold.
To create a customer order, provide at least one product line.

products*
Responses

429

Rate limited - another request is running

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