Documentation

Shopping Cart Resources

Shopping cart collection item and associated entities:

{
  "module":"catalog",
  "productId":"62",
  "id":"171",
  "lid":"s1",
  "quantity":"2.0000",
  "weight":"0.00",
  "price":"1614.1500",
  "customPrice":"N",
  "basePrice":"1899.0000",
  "productPriceId":"21",
  "priceTypeId":"1",
  "currency":"USD",
  "barcodeMulti":"Y",
  "name":"USA. Life in abstraction",
  "catalogXmlId":"clothes_offers",
  "vatRate":"0.0000",
  "notes":"Retail price",
  "discountPrice":"284.8500",
  "productProviderClass":"\\Bitrix\\Catalog\\Product\\CatalogProvider",
  "dimensions":"a:3:{s:5:\u0022WIDTH\u0022;N;s:6:\u0022HEIGHT\u0022;N;s:6:\u0022LENGTH\u0022;N;}",
  "type":null,
  "setParentId":null,
  "detailPageUrl":"\/catalog\/pants\/pants-life-in-abstraction\/",
  "measureCode":"796",
  "measureName":"Pcs.",
  "orderId":"81",
  "productXmlId":"207#209",
  "subscribe":"N",
  "recommendation":null,
  "vatIncluded":"Y",
  "sort":"100",
  "discountName":null,
  "discountValue":null,
  "discountCoupon":null,
  "properties":[
    {
      "id":"680",
      "basketId":"171",
      "name":"Article",
      "value":"177-78-02",
      "code":"ARTNUMBER",
      "sort":"100"
    },
    {
      "id":"681",
      "basketId":"171",
      "name":"Color",
      "value":"Red with Blue",
      "code":"COLOR_REF",
      "sort":"100"
    },
    {
      "id":"682",
      "basketId":"171",
      "name":"Clothes size",
      "value":"L",
      "code":"SIZES_CLOTHES",
      "sort":"100"
    },
    {
      "id":"683",
      "basketId":"171",
      "name":"Catalog XML_ID",
      "value":"clothes_offers",
      "code":"CATALOG.XML_ID",
      "sort":"100"
    },
    {
      "id":"684",
      "basketId":"171",
      "name":"Product XML_ID",
      "value":"207#209",
      "code":"PRODUCT.XML_ID",
      "sort":"100"
    }
  ]
}
FieldType Description
basketItems[]list Shopping cart resource.
properties[]list Shopping cart properties.
прочие поля Fields, corresponding to the available list of fields at getFields.


© «Bitrix24», 2001-2024