POST api/Orders?companyId={companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

string

Required

Body Parameters

StoreOrderExpand
NameDescriptionTypeAdditional information
deliveryMethod

string

None.

deliveryType

string

None.

deliveryTracking

string

None.

paymentMethod

string

None.

createdBy

string

None.

currency

string

None.

subtotal

decimal number

None.

deliveryCost

decimal number

None.

discount

decimal number

None.

tax

decimal number

None.

total

decimal number

None.

customerMessage

string

None.

companyMessage

string

None.

couponName

string

None.

number

integer

None.

status

string

None.

createdDate

date

None.

paidDate

date

None.

urlCode

string

None.

paymentStatus

string

None.

items

Collection of StoreOrderItem

None.

Request Formats

application/json, text/json

Sample:
{
  "deliveryMethod": "sample string 1",
  "deliveryType": "sample string 2",
  "deliveryTracking": "sample string 3",
  "paymentMethod": "sample string 4",
  "createdBy": "sample string 5",
  "currency": "sample string 6",
  "subtotal": 7.0,
  "deliveryCost": 8.0,
  "discount": 9.0,
  "tax": 10.0,
  "total": 11.0,
  "customerMessage": "sample string 12",
  "companyMessage": "sample string 13",
  "couponName": "sample string 14",
  "number": 15,
  "status": "sample string 16",
  "createdDate": "2022-10-07T12:46:43.509006-06:00",
  "paidDate": "2022-10-07T12:46:43.509006-06:00",
  "urlCode": "sample string 18",
  "paymentStatus": "sample string 19",
  "items": [
    {
      "productId": 1,
      "description": "sample string 2",
      "quantity": 3,
      "unitPrice": 4.0,
      "total": 5.0,
      "isDiscountPrice": true,
      "imageUrl": "sample string 7"
    },
    {
      "productId": 1,
      "description": "sample string 2",
      "quantity": 3,
      "unitPrice": 4.0,
      "total": 5.0,
      "isDiscountPrice": true,
      "imageUrl": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<StoreOrderExpand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <companyMessage>sample string 13</companyMessage>
  <couponName>sample string 14</couponName>
  <createdBy>sample string 5</createdBy>
  <createdDate>2022-10-07T12:46:43.509006-06:00</createdDate>
  <currency>sample string 6</currency>
  <customerMessage>sample string 12</customerMessage>
  <deliveryCost>8</deliveryCost>
  <deliveryMethod>sample string 1</deliveryMethod>
  <deliveryTracking>sample string 3</deliveryTracking>
  <deliveryType>sample string 2</deliveryType>
  <discount>9</discount>
  <items>
    <StoreOrderItem>
      <description>sample string 2</description>
      <imageUrl>sample string 7</imageUrl>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>1</productId>
      <quantity>3</quantity>
      <total>5</total>
      <unitPrice>4</unitPrice>
    </StoreOrderItem>
    <StoreOrderItem>
      <description>sample string 2</description>
      <imageUrl>sample string 7</imageUrl>
      <isDiscountPrice>true</isDiscountPrice>
      <productId>1</productId>
      <quantity>3</quantity>
      <total>5</total>
      <unitPrice>4</unitPrice>
    </StoreOrderItem>
  </items>
  <number>15</number>
  <paidDate>2022-10-07T12:46:43.509006-06:00</paidDate>
  <paymentMethod>sample string 4</paymentMethod>
  <paymentStatus>sample string 19</paymentStatus>
  <status>sample string 16</status>
  <subtotal>7</subtotal>
  <tax>10</tax>
  <total>11</total>
  <urlCode>sample string 18</urlCode>
</StoreOrderExpand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.