POST api/Store/AddRetailCartCache

Request Information

URI Parameters

None.

Body Parameters

RetailCartCache
NameDescriptionTypeAdditional information
CustomerID

integer

None.

BusinessId

integer

None.

LoginId

integer

None.

products

Collection of RetailCart

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "BusinessId": 1,
  "LoginId": 1,
  "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:
<RetailCartCache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerID>1</CustomerID>
  <BusinessId>1</BusinessId>
  <LoginId>1</LoginId>
  <products>
    <RetailCart>
      <ProductId>1</ProductId>
      <Quantity>2</Quantity>
      <Replace>true</Replace>
      <StockPointID>3</StockPointID>
      <BuyingRate>4</BuyingRate>
      <FCLocationID>5</FCLocationID>
    </RetailCart>
    <RetailCart>
      <ProductId>1</ProductId>
      <Quantity>2</Quantity>
      <Replace>true</Replace>
      <StockPointID>3</StockPointID>
      <BuyingRate>4</BuyingRate>
      <FCLocationID>5</FCLocationID>
    </RetailCart>
  </products>
</RetailCartCache>

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/04/28 13:39:04",
  "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>