POST api/OrderRequest
Create order call with using objects, instead of parameters. Use StoreRequest and CustomerRequest before calling this method
Request Information
URI Parameters
None.
Body Parameters
OrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderGUID | globally unique identifier |
None. |
|
| Application | string |
None. |
|
| OrderType | string |
None. |
|
| OrderNumber | string |
None. |
|
| DateOrdered | date |
None. |
|
| OrderETA | date |
None. |
|
| isPromo | boolean |
None. |
|
| Promotion | string |
None. |
|
| SendNotification | boolean |
None. |
|
| StoreID | integer |
None. |
|
| CustomerGuid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderGUID": "e750fcd0-db93-413b-95c9-2b2d5cd18621",
"Application": "sample string 2",
"OrderType": "sample string 3",
"OrderNumber": "sample string 4",
"DateOrdered": "2026-06-23T15:48:43.1233093+02:00",
"OrderETA": "2026-06-23T15:48:43.1233093+02:00",
"isPromo": true,
"Promotion": "sample string 7",
"SendNotification": true,
"StoreID": 9,
"CustomerGuid": "c154903b-315f-4e75-b07c-3d288846760a"
}
application/xml, text/xml
Sample:
<OrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communication.Module.Data.Models"> <Application>sample string 2</Application> <CustomerGuid>c154903b-315f-4e75-b07c-3d288846760a</CustomerGuid> <DateOrdered>2026-06-23T15:48:43.1233093+02:00</DateOrdered> <OrderETA>2026-06-23T15:48:43.1233093+02:00</OrderETA> <OrderGUID>e750fcd0-db93-413b-95c9-2b2d5cd18621</OrderGUID> <OrderNumber>sample string 4</OrderNumber> <OrderType>sample string 3</OrderType> <Promotion>sample string 7</Promotion> <SendNotification>true</SendNotification> <StoreID>9</StoreID> <isPromo>true</isPromo> </OrderRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReturnObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Id | integer |
None. |
|
| Message | string |
None. |
|
| ExceptionMessage | string |
None. |
|
| OrderGUID | globally unique identifier |
None. |
|
| OrderNumber | string |
None. |
|
| AdditionalData_1 | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Id": 2,
"Message": "sample string 3",
"ExceptionMessage": "sample string 4",
"OrderGUID": "d9ff9de6-3dfe-4c1d-b460-67746d1c8698",
"OrderNumber": "sample string 6",
"AdditionalData_1": "sample string 7"
}
application/xml, text/xml
Sample:
<ReturnObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communication.Module.TransferLayer.Models"> <AdditionalData_1>sample string 7</AdditionalData_1> <ExceptionMessage>sample string 4</ExceptionMessage> <Id>2</Id> <Message>sample string 3</Message> <OrderGUID>d9ff9de6-3dfe-4c1d-b460-67746d1c8698</OrderGUID> <OrderNumber>sample string 6</OrderNumber> <Success>true</Success> </ReturnObject>