Use this method to create new orders using the new order form settings.
This is only for the new order form. The standard order form uses a different method.
URL
(POST) orders/newform?token={token}&data={data}
The files linked to the order should be sent within a single ZIP file as the body of the HTTP request. All the filenames insides the ZIP should be declared in the files parameter.
The ZIP must be attached as a binary payload. In Postman you woud use this option:
PARAMETERS
|
token |
The token obtained on connection |
Required |
|
data |
A json object containing a list of custom field ids and values. See below for details. Parameters:
Example:
|
Required |
RESULTS
The method executes asynchronously. It returns the id of the asynchronous operation or 0 if the operation has completed immediately:
|
|