Create a “Order” document (ORDER) according to the “Price List”

To work with this method, the user must be authorized.

URL

Method

POST

URL query

/api/distribex/doc/order?gln=9864065732327&recipient_gln=9864065732303&number=apitest07&delivery_gln=9864065732327&delivery_terms=1

URL parameters

gln (required) String - GLN of your own Company; OR guid (required) String - unique identifier of your own Company

recipient_gln (required) String - Seller’s (Manufacturer) GLN

number (required) String - ORDER document number

doc_date (optional) String - date of the document («YYYY-MM-DD»). In the absence of a parameter, the current date at the time of the request is automatically set.

delivery_date (optional) String - delivery date («YYYY-MM-DD»). In the absence of a parameter, the current date at the time of the request is automatically set.

delivery_gln (required) String - delivery point GLN

delivery_terms (required) String - shipment condition code

Headers

Authorization

SID - token received at authorization

Content-Type

application/json

REQUEST

JSON Body

In the request body of the method, the product items for the Order) as an array of objects are transmitted.

RESPONSE

Method will send in response (json) details of the “Order” (ORDER) document creation result as object.