POST api/Order
Request Information
URI Parameters
None.
Body Parameters
PlaceOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Currency | string |
None. |
|
| PersonId | globally unique identifier |
None. |
|
| OrderLines | Collection of PlaceOrderLineDto |
None. |
|
| DeliveryMethod | string |
None. |
|
| PaymentMethod | string |
None. |
|
| IsSubscription | boolean |
None. |
|
| ShopId | globally unique identifier |
None. |
|
| IsFree | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"currency": "sample string 1",
"personId": "8b2affc4-bf9c-402b-9ad5-05a8ff1bcc4f",
"orderLines": [
{
"count": 1,
"campaignId": "5e3c44a0-e469-4221-98bf-c222b2d6d011",
"productId": "bd67c208-5f50-47d8-a616-ebdece693d8f"
},
{
"count": 1,
"campaignId": "5e3c44a0-e469-4221-98bf-c222b2d6d011",
"productId": "bd67c208-5f50-47d8-a616-ebdece693d8f"
}
],
"deliveryMethod": "sample string 2",
"paymentMethod": "sample string 3",
"isSubscription": true,
"shopId": "0dcee3f5-e072-4e7c-a768-5cea034356b1",
"isFree": true
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.