Save Order

Add or Update an Order and all order lines

Path Params
string
required

The name of the space (database) assigned to you.

string
required

One of:

  • The Entity's internal Entity Id
  • The Entity's name
  • The Entity's business Id, prefixed with $
Query Params
string

The Dimensions under which the calling application operates.
Format: {dim1}:{value1}[;{dim2}:{value2}[;...]]

boolean

If true, also exposes Installed but Unpublished entity resources. Default is false.

boolean
Defaults to false

If true, returns the saved content/resource. If false, the response content tag is not populated. Only set to true when the response payload is needed.

Body Params
string
length ≤ 15

Internal generated order id. Unique within the order set. Leave blank when creating new Orders.

string
length ≤ 50

Optional business order id or order number, usually coming from an order system. Case sensitive.
Must be unique within the Order Set

string
length ≤ 15

The Order Set Entity Id.

string
required
length ≤ 15

When querying, returns Member Id. When saving also accepts member Lookup Id (email etc).

string
enum
required
length ≤ 20

NEON's Order state. Used for calculating LTV.

Allowed:
string
length ≤ 20

An optional free-text business-specific state. Ignored by NEON

date-time

Date/time when the order was created. If left blank it gets set automatically on creation.

date-time

Optional date/time when the order was shipped.

billingAddress
object

Optional billing address, as Json fields.

shippingAddress
object

Optional shipping address, as Json fields.

string
length ≤ 3

Optional currency information.

dimensions
object

The Dimensions for which the order was first created. Cannot be updated.

json

Optional additional data in Json format

lines
array of objects

List of all order lines

lines
Response

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