POST api/Store/AddOrderMaster
Request Information
URI Parameters
None.
Body Parameters
OrderMasterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Businessid | integer |
None. |
|
| Vat | decimal number |
None. |
|
| SubTotalAmount | decimal number |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalDiscount | decimal number |
None. |
|
| UserID | integer |
None. |
|
| Customerid | integer |
None. |
|
| CustomerId | integer |
None. |
|
| isOfflineOrder | integer |
None. |
|
| OfflineInvoiceCode | string |
None. |
|
| PaymentModeId | integer |
None. |
|
| PaymentOptionTypeName | string |
None. |
|
| PaymentCode | string |
None. |
|
| Flag | integer |
None. |
|
| ShareMode | string |
None. |
|
| OrderLocation | string |
None. |
|
| OrderLatitude | string |
None. |
|
| OrderLongitude | string |
None. |
|
| DueDate | date |
None. |
|
| note | string |
None. |
|
| OrderDateTime | string |
None. |
|
| Mode | string |
None. |
|
| EventID | integer |
None. |
|
| DistributorID | integer |
None. |
|
| IsPerformaInvoice | integer |
None. |
|
| IsOnlineOrder | integer |
None. |
|
| Offlinecustomerid | string |
None. |
|
| IsPayingOnlyWallet | integer |
None. |
|
| OrderIdInput | integer |
None. |
|
| DeliveryAmount | decimal number |
None. |
|
| StateId | integer |
None. |
|
| MeetingID | string |
None. |
|
| OrganizationName | string |
None. |
|
| OrderSource | string |
None. |
|
| DeliveryLocation | string |
None. |
|
| DeliveryLatitude | string |
None. |
|
| DeliveryLongitude | string |
None. |
|
| details | Collection of Storedetails |
None. |
|
| VerifyPrice | integer |
None. |
|
| cityname | string |
None. |
|
| IsCOD | integer |
None. |
|
| PromoPrice | decimal number |
None. |
|
| CouponCode | string |
None. |
|
| couponDiscount | decimal number |
None. |
|
| WalletDiscount | decimal number |
None. |
|
| omniPointsAmount | decimal number |
None. |
|
| PrimaryMasterOrderId | integer |
None. |
|
| OrderPaymentType | integer |
None. |
|
| CouponId | integer |
None. |
|
| ParentDuplicateOrderId | integer |
None. |
|
| IsPotentialFake | integer |
None. |
|
| serviceFee | decimal number |
None. |
|
| isSelfPickup | integer |
None. |
|
| pickupDate | date |
None. |
|
| ReferralCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Businessid": 1,
"Vat": 2.0,
"SubTotalAmount": 3.0,
"TotalAmount": 4.0,
"TotalDiscount": 5.0,
"UserID": 6,
"Customerid": 7,
"CustomerId": 8,
"isOfflineOrder": 9,
"OfflineInvoiceCode": "sample string 10",
"PaymentModeId": 11,
"PaymentOptionTypeName": "sample string 12",
"PaymentCode": "sample string 13",
"Flag": 14,
"ShareMode": "sample string 15",
"OrderLocation": "sample string 16",
"OrderLatitude": "sample string 17",
"OrderLongitude": "sample string 18",
"DueDate": "2025-11-03T15:58:28.8282851+00:00",
"note": "sample string 20",
"OrderDateTime": "sample string 21",
"Mode": "sample string 22",
"EventID": 23,
"DistributorID": 24,
"IsPerformaInvoice": 25,
"IsOnlineOrder": 26,
"Offlinecustomerid": "sample string 27",
"IsPayingOnlyWallet": 28,
"OrderIdInput": 29,
"DeliveryAmount": 30.0,
"StateId": 31,
"MeetingID": "sample string 32",
"OrganizationName": "sample string 33",
"OrderSource": "sample string 34",
"DeliveryLocation": "sample string 35",
"DeliveryLatitude": "sample string 36",
"DeliveryLongitude": "sample string 37",
"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
}
],
"VerifyPrice": 38,
"cityname": "sample string 39",
"IsCOD": 40,
"PromoPrice": 41.0,
"CouponCode": "sample string 42",
"couponDiscount": 43.0,
"WalletDiscount": 44.0,
"omniPointsAmount": 45.0,
"PrimaryMasterOrderId": 46,
"OrderPaymentType": 47,
"CouponId": 48,
"ParentDuplicateOrderId": 49,
"IsPotentialFake": 50,
"serviceFee": 51.0,
"isSelfPickup": 52,
"pickupDate": "2025-11-03T15:58:28.8282851+00:00",
"ReferralCode": "sample string 53"
}
application/xml, text/xml
Sample:
<OrderMasterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
<Businessid>1</Businessid>
<CouponCode>sample string 42</CouponCode>
<CouponId>48</CouponId>
<CustomerId>8</CustomerId>
<Customerid>7</Customerid>
<DeliveryAmount>30</DeliveryAmount>
<DeliveryLatitude>sample string 36</DeliveryLatitude>
<DeliveryLocation>sample string 35</DeliveryLocation>
<DeliveryLongitude>sample string 37</DeliveryLongitude>
<DistributorID>24</DistributorID>
<DueDate>2025-11-03T15:58:28.8282851+00:00</DueDate>
<EventID>23</EventID>
<Flag>14</Flag>
<IsCOD>40</IsCOD>
<IsOnlineOrder>26</IsOnlineOrder>
<IsPayingOnlyWallet>28</IsPayingOnlyWallet>
<IsPerformaInvoice>25</IsPerformaInvoice>
<IsPotentialFake>50</IsPotentialFake>
<MeetingID>sample string 32</MeetingID>
<Mode>sample string 22</Mode>
<OfflineInvoiceCode>sample string 10</OfflineInvoiceCode>
<Offlinecustomerid>sample string 27</Offlinecustomerid>
<OrderDateTime>sample string 21</OrderDateTime>
<OrderIdInput>29</OrderIdInput>
<OrderLatitude>sample string 17</OrderLatitude>
<OrderLocation>sample string 16</OrderLocation>
<OrderLongitude>sample string 18</OrderLongitude>
<OrderPaymentType>47</OrderPaymentType>
<OrderSource>sample string 34</OrderSource>
<OrganizationName>sample string 33</OrganizationName>
<ParentDuplicateOrderId>49</ParentDuplicateOrderId>
<PaymentCode>sample string 13</PaymentCode>
<PaymentModeId>11</PaymentModeId>
<PaymentOptionTypeName>sample string 12</PaymentOptionTypeName>
<PrimaryMasterOrderId>46</PrimaryMasterOrderId>
<PromoPrice>41</PromoPrice>
<ReferralCode>sample string 53</ReferralCode>
<ShareMode>sample string 15</ShareMode>
<StateId>31</StateId>
<SubTotalAmount>3</SubTotalAmount>
<TotalAmount>4</TotalAmount>
<TotalDiscount>5</TotalDiscount>
<UserID>6</UserID>
<Vat>2</Vat>
<VerifyPrice>38</VerifyPrice>
<WalletDiscount>44</WalletDiscount>
<cityname>sample string 39</cityname>
<couponDiscount>43</couponDiscount>
<details>
<Storedetails>
<BundleSkuId>14</BundleSkuId>
<Discount>6.1</Discount>
<ItemId>1</ItemId>
<Notes>sample string 7</Notes>
<PreOrderQuantity>4</PreOrderQuantity>
<Price>5.1</Price>
<Quantity>3</Quantity>
<SkulId>2</SkulId>
<distributorId>8</distributorId>
<itemName>sample string 9</itemName>
<promoprice>11.1</promoprice>
<skuCode>sample string 10</skuCode>
<stockPointId>12</stockPointId>
<stockpointSellingPrice>13</stockpointSellingPrice>
</Storedetails>
<Storedetails>
<BundleSkuId>14</BundleSkuId>
<Discount>6.1</Discount>
<ItemId>1</ItemId>
<Notes>sample string 7</Notes>
<PreOrderQuantity>4</PreOrderQuantity>
<Price>5.1</Price>
<Quantity>3</Quantity>
<SkulId>2</SkulId>
<distributorId>8</distributorId>
<itemName>sample string 9</itemName>
<promoprice>11.1</promoprice>
<skuCode>sample string 10</skuCode>
<stockPointId>12</stockPointId>
<stockpointSellingPrice>13</stockpointSellingPrice>
</Storedetails>
</details>
<isOfflineOrder>9</isOfflineOrder>
<isSelfPickup>52</isSelfPickup>
<note>sample string 20</note>
<omniPointsAmount>45</omniPointsAmount>
<pickupDate>2025-11-03T15:58:28.8282851+00:00</pickupDate>
<serviceFee>51</serviceFee>
</OrderMasterModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.