POST api/Order

Request Information

URI Parameters

None.

Body Parameters

PlaceOrderDto
NameDescriptionTypeAdditional 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": "049e39ba-b562-4967-bb35-a7f8628e8aac",
  "orderLines": [
    {
      "count": 1,
      "campaignId": "fbbf42fc-84dd-4cf4-8eb0-bc424184eae5",
      "productId": "3d955e02-12b6-4537-95f4-f0961a8e6867"
    },
    {
      "count": 1,
      "campaignId": "fbbf42fc-84dd-4cf4-8eb0-bc424184eae5",
      "productId": "3d955e02-12b6-4537-95f4-f0961a8e6867"
    }
  ],
  "deliveryMethod": "sample string 2",
  "paymentMethod": "sample string 3",
  "isSubscription": true,
  "shopId": "0e485fd8-1a86-4877-8c60-5a0ef814ea93",
  "isFree": true
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.