10.5 Properties and translations

The getprop body is { "distCode", "metaCode" }. The addprop body:

FieldTypeRequiredDescription
distCodetextYesDistributor code
metaCodetextYesProduct code
props[].propCodetextYesProduct property code defined in the system
props[].valueCodetextYesValue code, at most 50 characters
props[].nametextNoName of the value
{ "distCode": "TEST", "metaCode": "P0003", "props": [{ "propCode": "Category", "valueCode": "41", "name": "Atıştırmalık" }] }

The value is also written to the product's batch variants. The translate body is a list: distCode, metaCode, lang and value (translation text) are required.

[{ "distCode": "TEST", "metaCode": "P0001", "lang": "en", "value": "Product A" }]