POST api/Store/AddCartUrlClickLog
Request Information
URI Parameters
None.
Body Parameters
CartUrlLog| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Guid | globally unique identifier |
None. |
|
| products | Collection of RetailCart |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Guid": "6543179d-27eb-478b-a929-238271953b37",
"products": [
{
"ProductId": 1,
"Quantity": 2,
"Replace": true,
"StockPointID": 3,
"BuyingRate": 4,
"FCLocationID": 5
},
{
"ProductId": 1,
"Quantity": 2,
"Replace": true,
"StockPointID": 3,
"BuyingRate": 4,
"FCLocationID": 5
}
]
}
application/xml, text/xml
Sample:
<CartUrlLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
<CustomerId>1</CustomerId>
<Guid>6543179d-27eb-478b-a929-238271953b37</Guid>
<products>
<RetailCart>
<BuyingRate>4</BuyingRate>
<FCLocationID>5</FCLocationID>
<ProductId>1</ProductId>
<Quantity>2</Quantity>
<Replace>true</Replace>
<StockPointID>3</StockPointID>
</RetailCart>
<RetailCart>
<BuyingRate>4</BuyingRate>
<FCLocationID>5</FCLocationID>
<ProductId>1</ProductId>
<Quantity>2</Quantity>
<Replace>true</Replace>
<StockPointID>3</StockPointID>
</RetailCart>
</products>
</CartUrlLog>
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/11/03 15:58:23",
"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>