Skip to main content

Response

FieldDescriptionType
itemsList of productsarray

Items:

FieldDescriptionType
idProduct ID in T&Tinteger
ext_idProduct ID in the manufacturer’s systemstring
grp_idProduct group ID in T&Tinteger
nameProduct namestring
codeArticle / Vendor codestring
barcodeGTINstring
capacityVolume of product unit (for alcohol)float
documentStandard (GOST, TU, etc.)string
descriptionDescriptionstring
statusThe product status (0 - in progress, 1 - manufacturing halted, 2 - out of sale),integer
unitsList of packagesarray

Array units:

FieldDescriptionType
idPackage ID in T&T systeminteger
ext_idPackage ID in the manufacturer´s systemstring
namePackage namestring
barcodePackage GTINstring
capacityNumber of items in this packageinteger
levEmbedding level (e.g., for tobacco: 0 - pack, 1 - bundle, 2 - MC, 3 – pallet, etc.)integer
gen_codeTrue - codes are generated in the T&T system; false – external codesboolean
template_nameName of the codes generation templatestring
label_nameName of the printed labelstring

Note: searching of packages (units) for each product is works on the principle of hierarchy from bottom to top (from product -> to product group -> to category level), when you call /products/ API - for each specific product you will receive only one packaging structure (1 unit id/ext_id to each level); search starts from product level, if packages are not set on product level, then search on the group level, if packages are not set on group level, then search on the category level.