POST api/WhatsAppEcommerceBot/addToCart
Request Information
URI Parameters
None.
Body Parameters
AddBotOrderName | Description | Type | Additional information |
---|---|---|---|
Flag | integer |
None. |
|
BusinessId | integer |
None. |
|
OrderId | string |
None. |
|
BotSKUID | integer |
None. |
|
BotBrandId | integer |
None. |
|
Quantity | integer |
None. |
|
Price | integer |
None. |
|
CustomerID | integer |
None. |
|
DeliveryAmount | integer |
None. |
|
IsReseller | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Flag": 1, "BusinessId": 2, "OrderId": "sample string 3", "BotSKUID": 4, "BotBrandId": 5, "Quantity": 6, "Price": 7, "CustomerID": 8, "DeliveryAmount": 9, "IsReseller": 10 }
application/xml, text/xml
Sample:
<AddBotOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <BotBrandId>5</BotBrandId> <BotSKUID>4</BotSKUID> <BusinessId>2</BusinessId> <CustomerID>8</CustomerID> <DeliveryAmount>9</DeliveryAmount> <Flag>1</Flag> <IsReseller>10</IsReseller> <OrderId>sample string 3</OrderId> <Price>7</Price> <Quantity>6</Quantity> </AddBotOrder>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VCAPIResponseName | 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/04/04 06:56:01", "StatusCode": 1, "ErrorMessage": "sample string 2", "Result": {} }
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>