Price List goods data (array of XPriceListElement objects)
JSON:
[
{
"category_id": 264,
"category_name": "Кава",
"children": [
{
"category_id": 266,
"category_name": "Жокей",
"children": [
{
"category_id": 268,
"category_name": "Зернову",
"children": [],
"prods": [
{
"group_id": 268,
"article": "7115",
"name": "\"Класичний\" 250х16 зернова кава Жокей Укр",
"barcode": "4820022867438",
"user_code": "901120000",
"unit_weight": "1.2",
"box_qty": "16",
"box_weight": "19.2",
"box_in_layer": "4",
"box_in_palette": "8",
"palette_weight": "78.65",
"producer_code": "BP08333",
"regions": "Запорізька",
"is_pickup": false,
"id": 11,
"date_created": 1648049515,
"date_changed": 1651147723,
"producer_id": 13200791,
"product_id": 150,
"unit_id": 8,
"price_without_vat": 57.75,
"vat": 5,
"price_with_vat": 69.3,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Коментар",
"quota": 25.0,
"is_promo": true,
"is_new": false,
"is_public": false,
"is_surcharge": false
},
{
"group_id": 268,
"article": "7115",
"name": "\"Класичний\" 250х16 зернова кава Жокей Укр",
"barcode": "4820022867438",
"user_code": "901120000",
"unit_weight": "1.2",
"box_qty": "16",
"box_weight": "19.2",
"box_in_layer": "4",
"box_in_palette": "8",
"palette_weight": "78.65",
"producer_code": "BP08333",
"regions": "Запорізька",
"is_pickup": false,
"id": 168,
"date_created": 1651142892,
"date_changed": 1651142892,
"producer_id": 13200791,
"product_id": 150,
"unit_id": 8,
"price_without_vat": 57.75,
"vat": 5,
"price_with_vat": 69.3,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Коментар",
"quota": 25.0,
"is_promo": true,
"is_new": false,
"is_public": false,
"is_surcharge": false
}
]
}
],
"prods": []
}
],
"prods": []
},
{
"category_id": 132,
"category_name": "Tea",
"children": [
{
"category_id": 292,
"category_name": "Greenfield",
"children": [
{
"category_id": 294,
"category_name": "Sheet ж/б",
"children": [],
"prods": [
{
"group_id": 294,
"article": "6183",
"name": "Ж/Б Royal Earl Grey 125гр.х14п.\"Greenfield\" Ukr",
"barcode": "4820022865816",
"user_code": "902200010",
"unit_weight": "0.55",
"box_qty": "14",
"box_weight": "7.7",
"box_in_layer": "3",
"box_in_palette": "9",
"palette_weight": "100.24",
"producer_code": "BP0835",
"regions": "Cherkasy",
"is_pickup": false,
"id": 16,
"date_created": 1648130218,
"date_changed": 1648130218,
"producer_id": 13200791,
"product_id": 566,
"unit_id": 8,
"price_without_vat": 66.05,
"vat": 5,
"price_with_vat": 79.26,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Comment",
"quota": 25.0,
"is_promo": false,
"is_new": false,
"is_public": false,
"is_surcharge": false
},
{
"group_id": 294,
"article": "6181",
"name": "Ж/Б Oriental Spirits 125гр.х14п.\"Greenfield\" Ukr",
"barcode": "4820022865830",
"user_code": "902200010",
"unit_weight": "0.4",
"box_qty": "14",
"box_weight": "5.6",
"box_in_layer": "3",
"box_in_palette": "9",
"palette_weight": "99.18",
"producer_code": "BP0836",
"regions": "Ivano-Frankivsk,Kharkiv",
"is_pickup": false,
"id": 17,
"date_created": 1648130219,
"date_changed": 1648130219,
"producer_id": 13200791,
"product_id": 148,
"unit_id": 8,
"price_without_vat": 66.05,
"vat": 5,
"price_with_vat": 79.26,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Comment",
"quota": 25.0,
"is_promo": false,
"is_new": true,
"is_public": false,
"is_surcharge": false
}
]
}
],
"prods": []
}
],
"prods": []
},
{
"category_id": 127,
"category_name": "Coffee",
"children": [
{
"category_id": 296,
"category_name": "Jockey",
"children": [
{
"category_id": 298,
"category_name": "cereal ",
"children": [],
"prods": [
{
"group_id": 298,
"article": "426436",
"name": "\"Traditional\" 400х12 grain coffee Jockey Ukr",
"barcode": "4820022867421",
"user_code": "54737",
"unit_weight": "77",
"box_qty": "57",
"box_weight": "57",
"box_in_layer": "57",
"box_in_palette": "57",
"palette_weight": "574",
"producer_code": "754457",
"regions": "Lviv",
"is_pickup": false,
"id": 18,
"date_created": 1648130221,
"date_changed": 1648130221,
"producer_id": 13200791,
"product_id": 149,
"unit_id": 8,
"price_without_vat": 80.05,
"vat": 5,
"price_with_vat": 96.06,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Comment",
"quota": 25.0,
"is_promo": false,
"is_new": false,
"is_public": false,
"is_surcharge": false
}
]
}
],
"prods": []
}
],
"prods": []
},
{
"category_id": 114,
"category_name": "Чай",
"children": [
{
"category_id": 260,
"category_name": "Грінфілд",
"children": [
{
"category_id": 262,
"category_name": "Листовий ж/б",
"children": [],
"prods": [
{
"group_id": 262,
"article": "6183",
"name": "Ж/Б Royal Earl Grey 125гр.х14п.\"Грінфілд\" Укр",
"barcode": "4820022865888",
"user_code": "902200010",
"unit_weight": "0.55",
"box_qty": "14",
"box_weight": "7.7",
"box_in_layer": "3",
"box_in_palette": "9",
"palette_weight": "100.24",
"producer_code": "BP0835",
"regions": "Волинська,Харківська",
"is_pickup": false,
"id": 20,
"date_created": 1648141107,
"date_changed": 1648141107,
"producer_id": 13200791,
"product_id": 568,
"unit_id": 2,
"price_without_vat": 66.05,
"vat": 14,
"price_with_vat": 79.26,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Коментар",
"quota": 25.0,
"is_promo": false,
"is_new": false,
"is_public": false,
"is_surcharge": false
},
{
"group_id": 314,
"article": "7115",
"name": "\"Класичний\" 250х16 зернова кава Жокей Укр",
"barcode": "4820022867499",
"user_code": "901120000",
"unit_weight": "1.2",
"box_qty": "16",
"box_weight": "19.2",
"box_in_layer": "4",
"box_in_palette": "8",
"palette_weight": "78.65",
"producer_code": "BP0838",
"regions": "Грузія,Казахстан",
"is_pickup": false,
"id": 50,
"date_created": 1648300165,
"date_changed": 1648300165,
"producer_id": 13200791,
"product_id": 578,
"unit_id": 8,
"price_without_vat": 57.75,
"vat": 5,
"price_with_vat": 69.3,
"date_from": 0,
"date_to": 0,
"stock_balance": 100.0,
"comment": "Коментар",
"quota": 25.0,
"is_promo": true,
"is_new": false,
"is_public": false,
"is_surcharge": false
}
]
}
],
"prods": []
}
],
"prods": []
}
]
Table 1 - Parameters description
Parameter |
Mandatory/Optional |
Format |
Description |
---|---|---|---|
Object XPriceListElement |
|||
category_id |
O |
long |
identifier
|
category_name |
M |
String |
name
|
children |
O/M |
List<XPriceListElement> |
array of objects;
|
prods |
M |
List<XPriceListProduct> |
array of objects; product data |
Table 2 - Parameters description of object XPriceListProduct
Parameter |
Mandatory/Optional |
Format |
Description |
---|---|---|---|
Object XPriceListProduct |
|||
group_id |
long |
group ID |
|
article |
M |
String |
article |
name |
M |
String |
the name of the product |
barcode |
M |
String |
barcode |
user_code |
O |
String |
УКТ ЗЕД code |
unit_weight |
O |
String |
unit weight, kg |
box_qty |
M |
String |
units in a box |
box_weight |
O |
String |
box weight, kg |
box_in_layer |
O |
String |
number of boxes in a layer, pcs. |
box_in_palette |
O |
String |
number of boxes per pallet, pcs. |
palette_weight |
O |
String |
pallet weight, kg |
producer_code |
O |
String |
Seller (Manufacturer) Code |
min_order_qty |
O |
float (10.3) |
Minimum order quantity |
regions |
M |
String |
region / countries of availability of the goods (list of names through a comma) |
id |
long |
item identifier |
|
date_created |
long |
the date the product was created |
|
date_changed |
long |
date of changes in product data |
|
producer_id |
long |
Seller ID |
|
product_id |
long |
product identifier |
|
unit_id |
O |
long |
unit identifier; valid values:
|
price_without_vat |
M |
Double |
unit price without VAT, UAH |
vat |
O |
int |
VAT rate,% |
price_with_vat |
O |
Double |
unit price including VAT, UAH |
date_from |
long |
period from |
|
date_to |
long |
period of validity |
|
stock_balance |
O |
Double |
balance |
comment |
O |
String |
comments |
quota |
O |
Double |
quota to order |
is_promo |
O |
boolean |
«Novelty!» mark |
is_new |
O |
boolean |
«Action!» mark |
is_public |
O |
boolean |
«Public!» mark |
is_surcharge |
O |
boolean |
«Surcharge!» mark |
is_pickup |
O |
boolean |
«In-pickup!» mark |