POST api/WhatsAppOrderBot/CreateOrder
Request Information
URI Parameters
None.
Body Parameters
WhatsAppCreateOrder| Name | Description | Type | Additional information | 
|---|---|---|---|
| BusinessId | integer | None. | |
| UserId | integer | None. | |
| CustomerId | integer | None. | |
| Channel | string | None. | |
| StockPointIds | string | None. | |
| serviceFee | decimal number | None. | |
| DeliveryAmount | decimal number | None. | |
| DeliveryLocation | string | None. | |
| DeliveryLatitude | string | None. | |
| DeliveryLongitude | string | None. | |
| OrderLocation | string | None. | |
| OrderLatitude | string | None. | |
| OrderLongitude | string | None. | |
| StateId | integer | None. | |
| cityname | string | None. | |
| OrderDateTime | string | None. | |
| OrderSource | string | None. | |
| details | Collection of Storedetails | None. | |
| CouponId | integer | None. | |
| couponDiscount | decimal number | None. | |
| Flag | integer | None. | |
| MeetingID | string | None. | |
| PromoPrice | decimal number | None. | |
| TotalAmount | decimal number | None. | |
| PaymentModeId | integer | None. | |
| OrderPaymentType | integer | None. | |
| PaymentOptionTypeName | string | None. | |
| TotalDiscount | decimal number | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "BusinessId": 1,
  "UserId": 2,
  "CustomerId": 3,
  "Channel": "sample string 4",
  "StockPointIds": "sample string 5",
  "serviceFee": 6.0,
  "DeliveryAmount": 7.0,
  "DeliveryLocation": "sample string 8",
  "DeliveryLatitude": "sample string 9",
  "DeliveryLongitude": "sample string 10",
  "OrderLocation": "sample string 11",
  "OrderLatitude": "sample string 12",
  "OrderLongitude": "sample string 13",
  "StateId": 14,
  "cityname": "sample string 15",
  "OrderDateTime": "sample string 16",
  "OrderSource": "sample string 17",
  "details": [
    {
      "ItemId": 1,
      "SkulId": 2,
      "Quantity": 3,
      "PreOrderQuantity": 4,
      "Price": 5.1,
      "Discount": 6.1,
      "Notes": "sample string 7",
      "distributorId": 8,
      "itemName": "sample string 9",
      "skuCode": "sample string 10",
      "promoprice": 11.1,
      "stockPointId": 12,
      "stockpointSellingPrice": 13.0,
      "BundleSkuId": 14
    },
    {
      "ItemId": 1,
      "SkulId": 2,
      "Quantity": 3,
      "PreOrderQuantity": 4,
      "Price": 5.1,
      "Discount": 6.1,
      "Notes": "sample string 7",
      "distributorId": 8,
      "itemName": "sample string 9",
      "skuCode": "sample string 10",
      "promoprice": 11.1,
      "stockPointId": 12,
      "stockpointSellingPrice": 13.0,
      "BundleSkuId": 14
    }
  ],
  "CouponId": 18,
  "couponDiscount": 19.0,
  "Flag": 20,
  "MeetingID": "sample string 21",
  "PromoPrice": 22.0,
  "TotalAmount": 23.0,
  "PaymentModeId": 24,
  "OrderPaymentType": 25,
  "PaymentOptionTypeName": "sample string 26",
  "TotalDiscount": 27.0
}
        application/xml, text/xml
            Sample:
        
<WhatsAppCreateOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BusinessId>1</BusinessId>
  <UserId>2</UserId>
  <CustomerId>3</CustomerId>
  <Channel>sample string 4</Channel>
  <StockPointIds>sample string 5</StockPointIds>
  <serviceFee>6</serviceFee>
  <DeliveryAmount>7</DeliveryAmount>
  <DeliveryLocation>sample string 8</DeliveryLocation>
  <DeliveryLatitude>sample string 9</DeliveryLatitude>
  <DeliveryLongitude>sample string 10</DeliveryLongitude>
  <OrderLocation>sample string 11</OrderLocation>
  <OrderLatitude>sample string 12</OrderLatitude>
  <OrderLongitude>sample string 13</OrderLongitude>
  <StateId>14</StateId>
  <cityname>sample string 15</cityname>
  <OrderDateTime>sample string 16</OrderDateTime>
  <OrderSource>sample string 17</OrderSource>
  <details>
    <Storedetails>
      <ItemId>1</ItemId>
      <SkulId>2</SkulId>
      <Quantity>3</Quantity>
      <PreOrderQuantity>4</PreOrderQuantity>
      <Price>5.1</Price>
      <Discount>6.1</Discount>
      <Notes>sample string 7</Notes>
      <distributorId>8</distributorId>
      <itemName>sample string 9</itemName>
      <skuCode>sample string 10</skuCode>
      <promoprice>11.1</promoprice>
      <stockPointId>12</stockPointId>
      <stockpointSellingPrice>13</stockpointSellingPrice>
      <BundleSkuId>14</BundleSkuId>
    </Storedetails>
    <Storedetails>
      <ItemId>1</ItemId>
      <SkulId>2</SkulId>
      <Quantity>3</Quantity>
      <PreOrderQuantity>4</PreOrderQuantity>
      <Price>5.1</Price>
      <Discount>6.1</Discount>
      <Notes>sample string 7</Notes>
      <distributorId>8</distributorId>
      <itemName>sample string 9</itemName>
      <skuCode>sample string 10</skuCode>
      <promoprice>11.1</promoprice>
      <stockPointId>12</stockPointId>
      <stockpointSellingPrice>13</stockpointSellingPrice>
      <BundleSkuId>14</BundleSkuId>
    </Storedetails>
  </details>
  <CouponId>18</CouponId>
  <couponDiscount>19</couponDiscount>
  <Flag>20</Flag>
  <MeetingID>sample string 21</MeetingID>
  <PromoPrice>22</PromoPrice>
  <TotalAmount>23</TotalAmount>
  <PaymentModeId>24</PaymentModeId>
  <OrderPaymentType>25</OrderPaymentType>
  <PaymentOptionTypeName>sample string 26</PaymentOptionTypeName>
  <TotalDiscount>27</TotalDiscount>
</WhatsAppCreateOrder>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | string | None. | |
| dateTime | string | None. | |
| StatusCode | integer | None. | |
| ErrorMessage | string | None. | |
| Result | Object | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "Version": "1.0.0",
  "dateTime": "2025/10/31 15:36:32",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}
        application/xml, text/xml
            Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <ErrorMessage>sample string 2</ErrorMessage> <Result /> </VCAPIResponse>