POST v3/storeFront/order/create

Request Information

URI Parameters

None.

Body Parameters

StoreFrontOrderRequest
NameDescriptionTypeAdditional information
customerId

string

None.

paymentMethod

string

None.

createdBy

string

None.

currency

string

None.

deliveryCost

decimal number

None.

subtotal

decimal number

None.

discount

decimal number

None.

tax

decimal number

None.

total

decimal number

None.

seen

boolean

None.

customerMessage

string

None.

couponUsed

boolean

None.

couponName

string

None.

couponDiscount

decimal number

None.

deliveryType

string

None.

deliveryMethod

string

None.

items

Collection of ItemDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "customerId": "sample string 1",
  "paymentMethod": "sample string 2",
  "createdBy": "sample string 3",
  "currency": "sample string 4",
  "deliveryCost": 5.0,
  "subtotal": 6.0,
  "discount": 7.0,
  "tax": 8.0,
  "total": 9.0,
  "seen": true,
  "customerMessage": "sample string 11",
  "couponUsed": true,
  "couponName": "sample string 13",
  "couponDiscount": 14.0,
  "deliveryType": "sample string 15",
  "deliveryMethod": "sample string 16",
  "items": [
    {
      "id": 1,
      "productId": 2,
      "description": "sample string 3",
      "quantity": 4,
      "unitPrice": 5.0,
      "total": 6.0,
      "isDiscountPrice": true
    },
    {
      "id": 1,
      "productId": 2,
      "description": "sample string 3",
      "quantity": 4,
      "unitPrice": 5.0,
      "total": 6.0,
      "isDiscountPrice": true
    }
  ]
}

application/xml, text/xml

Sample:
<StoreFrontOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <couponDiscount>14</couponDiscount>
  <couponName>sample string 13</couponName>
  <couponUsed>true</couponUsed>
  <createdBy>sample string 3</createdBy>
  <currency>sample string 4</currency>
  <customerId>sample string 1</customerId>
  <customerMessage>sample string 11</customerMessage>
  <deliveryCost>5</deliveryCost>
  <deliveryMethod>sample string 16</deliveryMethod>
  <deliveryType>sample string 15</deliveryType>
  <discount>7</discount>
  <items>
    <ItemDTO>
      <description>sample string 3</description>
      <id>1</id>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>2</productId>
      <quantity>4</quantity>
      <total>6</total>
      <unitPrice>5</unitPrice>
    </ItemDTO>
    <ItemDTO>
      <description>sample string 3</description>
      <id>1</id>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>2</productId>
      <quantity>4</quantity>
      <total>6</total>
      <unitPrice>5</unitPrice>
    </ItemDTO>
  </items>
  <paymentMethod>sample string 2</paymentMethod>
  <seen>true</seen>
  <subtotal>6</subtotal>
  <tax>8</tax>
  <total>9</total>
</StoreFrontOrderRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.