POST api/Store/AddCartUrlClickLog

Request Information

URI Parameters

None.

Body Parameters

CartUrlLog
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Guid

globally unique identifier

None.

products

Collection of RetailCart

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Guid": "8f5f1d21-10a6-4551-989c-f259b2a55347",
  "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>8f5f1d21-10a6-4551-989c-f259b2a55347</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
NameDescriptionTypeAdditional 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/05/03 02:19:49",
  "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>