POST poscube/order/new
Request Information
URI Parameters
None.
Body Parameters
CourierOrderRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StoreId | string |
None. |
|
| OrderId | string |
None. |
|
| CreatedDate | string |
None. |
|
| IsTestOrder | boolean |
None. |
|
| Customer | PosCubeCustomer |
None. |
|
| Address | PosCubeAddress |
None. |
|
| Payment | PosCubePayment |
None. |
|
| Delivery | PosCubeDelivery |
None. |
Request Formats
application/json, text/json
Sample:
{
"StoreId": "sample string 1",
"OrderId": "sample string 2",
"CreatedDate": "sample string 3",
"IsTestOrder": true,
"Customer": {
"FirstName": "sample string 1",
"LastName": "sample string 2",
"CustomerPhone": "sample string 3",
"phoneCode": "sample string 4"
},
"Address": {
"AddressDirection": "sample string 1",
"FullAddress": "sample string 2",
"Latitude": 1.1,
"Longitude": 1.1,
"City": "sample string 3",
"County": "sample string 4",
"Neighborhood": "sample string 5",
"Street": "sample string 6",
"BuildingName": "sample string 7",
"BuildingNumber": "sample string 8",
"Floor": "sample string 9",
"DoorNumber": "sample string 10"
},
"Payment": {
"PaymentTypeSId": "sample string 1",
"TotalPrice": 2.0
},
"Delivery": {
"ContactlessDelivery": true,
"RingDoorBell": true,
"CustomerNote": "sample string 3"
}
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.