Документация для разработчиков
Темная тема

Ресурс корзины

Элемент коллекции корзины и связанные сущности:

{
	"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":"RUB",
	"barcodeMulti":"Y",
	"name":"Штаны Жизнь в Абстракции",
	"catalogXmlId":"clothes_offers",
	"vatRate":"0.0000",
	"notes":"Розничная цена",
	"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":"Штука",
	"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":"Артикул",
			"value":"177-78-02",
			"code":"ARTNUMBER",
			"sort":"100"
		},
		{
			"id":"681",
			"basketId":"171",
			"name":"Цвет",
			"value":"Красный с Синим",
			"code":"COLOR_REF",
			"sort":"100"
		},
		{
			"id":"682",
			"basketId":"171",
			"name":"Размеры одежды",
			"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"
		}
	]
}
ПолеТип Описание
basketItems[]list Ресурс корзины.
properties[]list Свойства корзины.
прочие поля Поля, соответствующие доступному списку полей getFields.


© «Битрикс», 2001-2024, «1С-Битрикс», 2024