Pour les agents IA : markdown de cette page — /docs-content-en/entities/catalog-product-property-enums.md index de la documentation — /llms.txt
Les articles de documentation sont actuellement disponibles en anglais.
Catalog list-property values
Dictionary of the options of a trade-catalog list property: create, read, update, delete, search, and inspect the field reference. Each record is one option of a dropdown — the element id and its readable text value. It is the companion to Catalog product properties: a property with propertyType: "L" describes the field, and this entity enumerates the options that can be selected in it.
This is the source of what no product endpoint provides: all possible values of a list property, not just the one selected on a particular product.
Bitrix24 API: catalog.productPropertyEnum.*
Scope: catalog
Create a list-property value
POST /v1/catalog-product-property-enums
Provide a product catalog list property's propertyId, a visible value, and an xmlId. The property must have propertyType: "L". Bitrix24 rejects another property type or a property outside the product catalog; V1 returns its business message with status 422.
curl -X POST "https://vibecode.bitrix24.com/v1/catalog-product-property-enums" \
-H "X-Api-Key: YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{"propertyId":166,"value":"Blue","xmlId":"BLUE","sort":100,"def":false}'
A successful response is 201 with the created element in data. Missing propertyId, value, or xmlId returns 400 MISSING_REQUIRED_FIELDS before Bitrix24 is called. id is read-only. A duplicate xmlId is rejected by Bitrix24 with 422.