Save OrderCopy Pagepost https://neon-loyalty-qa.spika.com/loyalty/v1/{space}/ordersets/{ordersetLookupId}/ordersAdd or Update an Order and all order linesPath ParamsspacestringrequiredThe name of the space (database) assigned to you.ordersetLookupIdstringrequiredOne of: The Entity's internal Entity Id The Entity's name The Entity's business Id, prefixed with $ Query ParamsdimstringThe Dimensions under which the calling application operates. Format: {dim1}:{value1}[;{dim2}:{value2}[;...]]includeUnpublishedbooleanIf true, also exposes Installed but Unpublished entity resources. Default is false.truefalseresponsebooleanDefaults to falseIf 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.truefalseBody ParamsorderIdstringlength ≤ 15Internal generated order id. Unique within the order set. Leave blank when creating new Orders.bizOrderIdstringlength ≤ 50Optional business order id or order number, usually coming from an order system. Case sensitive. Must be unique within the Order SetorderSetIdstringlength ≤ 15The Order Set Entity Id.memberIdstringrequiredlength ≤ 15When querying, returns Member Id. When saving also accepts member Lookup Id (email etc).statestringenumrequiredlength ≤ 20NEON's Order state. Used for calculating LTV.BASKETCONFIRMEDCANCELLEDAllowed:BASKETCONFIRMEDCANCELLEDbizStatestringlength ≤ 20An optional free-text business-specific state. Ignored by NEONorderDatedate-timeDate/time when the order was created. If left blank it gets set automatically on creation.shippingDatedate-timeOptional date/time when the order was shipped.billingAddressobjectOptional billing address, as Json fields.billingAddress objectshippingAddressobjectOptional shipping address, as Json fields.shippingAddress objectcurrencystringlength ≤ 3Optional currency information.dimensionsobjectThe Dimensions for which the order was first created. Cannot be updated.dimensions objectdatajsonOptional additional data in Json formatlinesarray of objectsList of all order lineslinesADD objectResponse 200OKUpdated about 1 year ago Query OrdersView OrderDid this page help you?YesNo