Files
kupshop/bundles/KupShop/GraphQLBundle/Tests/ApiPos/GraphQLPosWarehouseTest.json
2025-08-02 16:30:27 +02:00

660 lines
20 KiB
JSON
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"producers" : [
{
"id" : 2,
"name" : "Ariston",
"photo" : "producer-7-2.png",
"web" : "http://www.ariston.com/cz/",
"active" : "Y",
"position" : 4,
"meta_title" : "Náhradní díly pro plynové kotle italské značky Ariston",
"meta_description" : "Všechny náhradní díly pro plynové kotle italské značky Ariston. Jedině u nás!! Skladem, připraveny ihned odeslat.",
"meta_keywords" : null,
"orderby" : "title",
"orderdir" : "ASC",
"data" : "{\"id_slider\":\"\"}"
}
],
"products" : [
{
"id" : 2343,
"title" : "ARISTON o-kroužek 17 x 4",
"code" : "998424",
"ean" : 8596389023430,
"short_descr" : "ARISTON o-kroužek 17 x 4",
"long_descr" : "",
"parameters" : "",
"price" : 17.2016,
"price_common" : 0.0000,
"vat" : 1,
"id_cn" : null,
"discount" : 0.00000000,
"producer" : 2,
"guarantee" : 24,
"in_store" : 6,
"pieces_sold" : 94,
"delivery_time" : -2,
"campaign" : "",
"updated" : "2023-03-06 19:50:25",
"date_added" : "2015-05-20 09:17:00",
"figure" : "Y",
"show_raw_price" : "N",
"position" : null,
"meta_title" : null,
"meta_description" : null,
"meta_keywords" : null,
"show_in_feed" : "Y",
"max_cpc" : 0,
"in_store_min" : null,
"note" : "A-21-9",
"weight" : 0.003000,
"data" : "{\"generate_coupon\":\"N\",\"recycling_fee\":\"\"}",
"date_stock_in" : "2020-10-13 19:11:53",
"show_in_search" : "Y",
"width" : null,
"height" : null,
"depth" : null,
"price_buy" : null
},
{
"id" : 1768,
"id_block" : null,
"title" : "SIT termočlánek 500 M9x1 mm",
"code" : "0200232",
"ean" : 8596389017682,
"short_descr" : "SIT termočlánek 500 M9x1 mm",
"long_descr" : "",
"parameters" : "",
"price" : 135.2000,
"price_for_discount" : 135.2000,
"price_common" : 0.0000,
"vat" : 1,
"id_cn" : null,
"discount" : 0.00000000,
"charge_id" : null,
"charge_included" : "N",
"producer" : null,
"guarantee" : 24,
"in_store" : 27,
"pieces_sold" : 28,
"delivery_time" : -2,
"campaign" : "",
"updated" : "2023-02-22 04:02:52",
"date_added" : "2015-01-06 00:52:00",
"figure" : "Y",
"show_raw_price" : "N",
"position" : null,
"meta_title" : null,
"meta_description" : null,
"meta_keywords" : null,
"show_in_feed" : "Y",
"max_cpc" : 0,
"in_store_min" : null,
"in_store_old" : 0,
"note" : "J-3-3",
"weight" : 0.100000,
"data" : "{\"recycling_fee\":\"\",\"generate_coupon\":\"N\"}",
"date_stock_in" : null,
"show_in_search" : "Y",
"width" : null,
"height" : null,
"depth" : null,
"price_buy" : null
},
{
"id" : 5924,
"id_block" : 6552,
"title" : "SIT zapalovač piezo černý SIT 739",
"code" : "073952",
"ean" : 8596389059248,
"short_descr" : "Zapalovač piezo černý SIT 739",
"long_descr" : "",
"parameters" : "",
"price" : 155.7504,
"price_for_discount" : 155.7504,
"price_common" : 0.0000,
"vat" : 1,
"id_cn" : null,
"discount" : 0.00000000,
"charge_id" : null,
"charge_included" : "N",
"producer" : null,
"guarantee" : 24,
"in_store" : 6,
"pieces_sold" : 105,
"delivery_time" : -2,
"campaign" : "",
"updated" : "2023-02-22 04:02:52",
"date_added" : "2017-06-08 09:43:00",
"figure" : "Y",
"show_raw_price" : "N",
"position" : null,
"meta_title" : null,
"meta_description" : null,
"meta_keywords" : null,
"show_in_feed" : "Y",
"max_cpc" : 0,
"in_store_min" : null,
"in_store_old" : 0,
"note" : "L-8-2-2",
"weight" : 0.100000,
"data" : "{\"generate_coupon\":\"N\",\"recycling_fee\":\"\"}",
"date_stock_in" : "2022-09-12 11:19:21",
"show_in_search" : "Y",
"width" : null,
"height" : null,
"depth" : null,
"price_buy" : 64.5000
},
{
"id" : 22675,
"id_block" : 10001,
"title" : "SIT hořáček zapalovací 140",
"code" : "140037",
"ean" : 8596389226756,
"short_descr" : "SIT hořáček zapalovací 140",
"long_descr" : "",
"parameters" : "",
"price" : 226.7200,
"price_for_discount" : 226.7200,
"price_common" : 0.0000,
"vat" : 1,
"id_cn" : null,
"discount" : 0.00000000,
"charge_id" : null,
"charge_included" : "N",
"producer" : null,
"guarantee" : 24,
"in_store" : 3,
"pieces_sold" : 32,
"delivery_time" : -2,
"campaign" : "",
"updated" : "2023-02-22 08:10:59",
"date_added" : "2019-11-30 16:28:00",
"figure" : "Y",
"show_raw_price" : "N",
"position" : null,
"meta_title" : null,
"meta_description" : null,
"meta_keywords" : null,
"show_in_feed" : "Y",
"max_cpc" : 0,
"in_store_min" : null,
"in_store_old" : 0,
"note" : null,
"weight" : 0.300000,
"data" : "{\"generate_coupon\":\"N\",\"recycling_fee\":\"\"}",
"date_stock_in" : "2022-12-02 12:51:12",
"show_in_search" : "Y",
"width" : null,
"height" : null,
"depth" : null,
"price_buy" : 150.0000
}
],
"products_batches": [
{
"id": 1,
"id_product": 2343,
"id_variation": null,
"code": "22206",
"date_expiry": "2025-07-23 00:00:00"
},
{
"id": 2,
"id_product": 2343,
"id_variation": null,
"code": "22207",
"date_expiry": "2025-07-24 00:00:00"
},
{
"id": 3,
"id_product": 2343,
"id_variation": null,
"code": "22208",
"date_expiry": "2025-07-26 00:00:00"
}
],
"delivery_type_payment" : [
{
"id" : 3,
"position" : 6,
"currency" : "CZK",
"name" : "Hotově",
"name_admin" : null,
"price" : 0.0000,
"class" : "Hotovost",
"photo" : "p3.jpeg",
"description" : "<h3><strong>HOTOVĚ </strong></h3>\r\n\r\n<p>Za zboží zaplatíte hotově nebo kartou při osobním odběru přímo na naší pobočce.</p>",
"data" : null,
"cart_description" : null
},
{
"id" : 8,
"position" : 9,
"currency" : "CZK",
"name" : "Platba kartou na pobočce",
"name_admin" : null,
"price" : 0.0000,
"class" : "PlatebniKarta",
"photo" : "p8.jpeg",
"description" : "<h3><strong>PLATBA KARTOU NA POBOČCE</strong></h3>\r\n\r\n<p>Za zboží zaplatíte kartou, při osobním odběru přímo na pobočce.</p>",
"data" : null,
"cart_description" : null
},
{
"id" : 5,
"position" : 0,
"currency" : "CZK",
"name" : "Platba na fakturu",
"name_admin" : null,
"price" : 0.0000,
"class" : "Prevodem",
"photo" : "p5.jpeg",
"description" : "<p>Částku <strong>{CENA} </strong>prosím pošlete na bankovní účet: <strong>2600636677/2010</strong></p>\r\n\r\n<p>Jako variabilní symbol použijte číslo objednávky: <strong>{KOD}</strong></p>",
"data" : null,
"cart_description" : null
}
],
"delivery_type_delivery" : [
{
"id" : 18,
"position" : 10,
"currency" : "CZK",
"name" : "Osobní odběr Praha",
"name_admin" : null,
"price" : 0.0000,
"photo" : "p18.jpeg",
"time_days" : null,
"time_hours" : "15:00:00",
"currencies" : null,
"class" : "OsobniOdber",
"description" : "<p>Výdej zboží je na adrese: <strong>Kurta Konráda 2445/7, Praha 9, 190 00</strong></p>\r\n\r\n<p>Možnost vyzvednutí v termínu od 1. září až 31. března</p>\r\n\r\n<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>pondělí - čtvrtek</td>\r\n\t\t\t<td>9:30 - 12:00</td>\r\n\t\t\t<td>12:30 - 17:15</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>pátek</td>\r\n\t\t\t<td>9:30 - 12:00</td>\r\n\t\t\t<td>12:30 - 15:45</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td> </td>\r\n\t\t\t<td> </td>\r\n\t\t\t<td> </td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<p>Možnost vyzvednutí v termínu od 1. dubna. do 31. srpna:</p>\r\n\r\n<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\">\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td>pondělí - čtvrtek</td>\r\n\t\t\t<td>9:30 - 12:00</td>\r\n\t\t\t<td>12:30 - 16:15</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td>pátek</td>\r\n\t\t\t<td>9:30 - 12:00</td>\r\n\t\t\t<td>12:30 - 15:45</td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>",
"price_dont_countin_from" : null,
"price_dont_countin_from_reg" : null,
"price_registered" : null,
"cart_description" : "<p><strong>Vyčkejte na SMS zprávu s výzvou k převzetí zboží.</strong> Zboží si vyzvednete na adrese <strong>Kurta Konráda 2445/7; Praha 9</strong>. Po odeslání SMS je zboží rezervováno 4 dny.</p>",
"id_pricelist" : null,
"data" : "{\"opening_hours\":{\"1\":[\"9:00\",\"16:00\"],\"2\":[\"9:00\",\"16:00\"],\"3\":[\"9:00\",\"16:00\"],\"4\":[\"9:00\",\"16:00\"],\"5\":[\"9:00\",\"15:00\"],\"6\":[null,null],\"7\":[null,null]},\"restrictions\":{\"countries\":[\"CZ\",\"SK\"],\"enabled\":\"N\"}}"
}
],
"delivery_type" : [
{
"id" : 27,
"currency" : "CZK",
"id_delivery" : 18,
"id_payment" : 3,
"price" : null,
"vat" : 1,
"price_dont_countin_from" : null,
"format" : "#b98cd9",
"figure" : "Y",
"payment_class" : null,
"description" : null,
"price_dont_countin_from_reg" : null,
"data" : null
},
{
"id" : 38,
"currency" : "CZK",
"id_delivery" : 18,
"id_payment" : 8,
"price" : null,
"vat" : 1,
"price_dont_countin_from" : null,
"format" : "#8c9fd9",
"figure" : "Y",
"payment_class" : null,
"description" : null,
"price_dont_countin_from_reg" : null,
"data" : null
},
{
"id" : 29,
"currency" : "CZK",
"id_delivery" : 18,
"id_payment" : 5,
"price" : null,
"vat" : 1,
"price_dont_countin_from" : null,
"format" : null,
"figure" : "N",
"payment_class" : null,
"description" : null,
"price_dont_countin_from_reg" : null,
"data" : null
},
{
"id" : 35,
"currency" : "CZK",
"id_delivery" : 18,
"id_payment" : 3,
"price" : 82.6446,
"vat" : 1,
"price_dont_countin_from" : 3000.0000,
"format" : null,
"figure" : "Y",
"payment_class" : null,
"description" : null,
"price_dont_countin_from_reg" : null,
"data" : null
}
],
"pos" : [
{
"id" : 2,
"name" : "Pokladna PRAHA",
"date_created" : "2023-03-02 09:33:53",
"cash_delivery_type" : 27,
"card_delivery_type" : 38,
"invoice_delivery_type" : 29,
"data" : "{\"stores\":[\"2\"],\"virtual_box\":\"4767\"}"
}
],
"warehouse_locations" : [
{
"id" : 1,
"code" : "STUL",
"sort_index" : 69,
"delete_empty" : "Y",
"score_multiplier" : 1
},
{
"id" : 2,
"code" : "BOX",
"sort_index" : 68,
"delete_empty" : "Y",
"score_multiplier" : 1
},
{
"id" : 11,
"code" : "A",
"sort_index" : 0,
"delete_empty" : "N",
"score_multiplier" : 1
},
{
"id" : 62,
"code" : "PA",
"sort_index" : 70,
"delete_empty" : "N",
"score_multiplier" : 1
},
{
"id" : 106,
"code" : "PQ",
"sort_index" : 95,
"delete_empty" : "N",
"score_multiplier" : 10
}
],
"warehouse_positions" : [
{
"id" : 2001,
"code" : "STUL-PRAHA",
"id_location" : 1,
"inventory_date" : null
},
{
"id" : 1,
"code" : "PRIJEM",
"id_location" : 1,
"inventory_date" : null
},
{
"id" : 1563,
"code" : "A-18-12",
"id_location" : 11,
"inventory_date" : null
},
{
"id" : 4767,
"code" : "BOX-VIRT",
"id_location" : 2,
"inventory_date" : null
},
{
"id" : 6423,
"code" : "PA-4-2-4",
"id_location" : 62,
"inventory_date" : null
},
{
"id" : 12230,
"code" : "PQ-6-2",
"id_location" : 106,
"inventory_date" : null
},
{
"id": 2019,
"code": "BOX-019",
"id_location": 2,
"inventory_date": null
}
],
"warehouse_products" : [
{
"id_product" : 2343,
"id_variation" : null,
"id_position" : 1563,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N",
"id_product_batch": 1
},
{
"id_product" : 2343,
"id_variation" : null,
"id_position" : 6423,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N",
"id_product_batch": 2
},
{
"id_product" : 2343,
"id_variation" : null,
"id_position" : 12230,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N",
"id_product_batch": 3
},
{
"id_product": 1768,
"id_variation": null,
"id_position": 2019,
"inventory_date": null,
"pieces": 1,
"over_supply": "N",
"id_product_batch": 2
},
{
"id_product": 5924,
"id_variation": null,
"id_position": 2019,
"inventory_date": null,
"pieces": 1,
"over_supply": "N",
"id_product_batch": 1
},
{
"id_product": 22675,
"id_variation": null,
"id_position": 6423,
"inventory_date": null,
"pieces": 1,
"over_supply": "N",
"id_product_batch": 1
}
],
"stores" : [
{
"id": 1,
"name": "Hlavní sklad",
"type": 1,
"figure": "Y",
"data" : "{\"warehouse_locations\":[\"1\",\"11\",\"62\",\"9\", \"5\", \"9\"]}"
},
{
"id" : 2,
"position" : 1,
"name" : "Prodejna Praha",
"id_delivery" : null,
"id_base_position" : 2001,
"type" : 0,
"id_return_table" : 1,
"figure" : "Y",
"data" : "{\"warehouse_locations\":[\"1\",\"11\",\"62\",\"9\", \"5\", \"9\"]}"
}
],
"stores_items": [
{
"id": 243,
"id_store": 2,
"id_product": 2343,
"id_variation": null,
"quantity": 6,
"min_quantity": null,
"integrity_unique": "6-35-7339",
"custom_data": "{\"batch_numbers\": {}}"
}
],
"orders" : [
{
"id" : 183911,
"source" : "shop",
"order_no" : "183911",
"id_language" : "cs",
"currency" : "CZK",
"currency_rate" : 1.00000000,
"id_user" : null,
"date_created" : "2023-02-21 22:36:26",
"date_accept" : "2023-02-21 22:42:07",
"date_handle" : null,
"date_delivered" : null,
"date_updated" : "2023-02-22 07:06:59",
"date_due" : null,
"status" : 5,
"status_payed" : 0,
"status_dispatch" : 0,
"status_storno" : 0,
"total_price" : 726.0000,
"total_price_without_vat" : 600.0000,
"invoice_name" : "Jan",
"invoice_surname" : "Drápal",
"invoice_firm" : "",
"invoice_ico" : "",
"invoice_dic" : "",
"invoice_street" : "Senorady 214",
"invoice_city" : "Senorady",
"invoice_zip" : "67575",
"invoice_country" : "CZ",
"invoice_phone" : "+420777351138",
"invoice_email" : "proosud@seznam.cz",
"delivery_name" : "Jan",
"delivery_surname" : "Drápal",
"delivery_firm" : "Dům, stavba, zahrada - Oslavany",
"delivery_street" : "Náměstí 13. prosince 6",
"delivery_city" : "Oslavany",
"delivery_zip" : "664 12",
"delivery_country" : "CZ",
"delivery_type" : "Dobírkou - Zásilkovna",
"id_delivery" : 35,
"delivery_complete" : "",
"note_user" : "",
"note_admin" : "{\"ip_address\":\"46.135.70.200\",\"remote_port\":\"13036\",\"user_agent\":\"Mozilla\\/5.0 (Windows NT 6.1; rv:108.0) Gecko\\/20100101 Firefox\\/108.0\",\"referer\":null,\"cart_id\":\"ofqiqnkarr8ut2ebn6adp6q1ba\",\"client_id\":\"2058622934.1677015095\",\"utm_source\":null,\"utm_medium\":null,\"utm_campaign\":null,\"deliveryDate\":\"2023-02-24T22:36:26+01:00\",\"discounts\":{\"email\":\"proosud@seznam.cz\"},\"delivery_data\":{\"fromWidget\":true,\"idZ\":\"988\",\"zip\":\"664 12\",\"hours\":{\"compactShort\":\"<strong>Po\\u2013P\\u00e1<\\/strong> 07:00\\u201317:00\",\"compactLong\":\"<strong>Po\\u2013P\\u00e1<\\/strong> 07:00\\u201317:00\",\"tableLong\":\"<table class='packetery-hours'><tr><th>Po<\\/th><td>07:00\\u201317:00<\\/td><\\/tr><tr><th>\\u00dat<\\/th><td>07:00\\u201317:00<\\/td><\\/tr><tr><th>St<\\/th><td>07:00\\u201317:00<\\/td><\\/tr><tr><th>\\u010ct<\\/th><td>07:00\\u201317:00<\\/td><\\/tr><tr><th>P\\u00e1<\\/th><td>07:00\\u201317:00<\\/td><\\/tr><tr><th>So<\\/th><td><\\/td><\\/tr><tr><th>Ne<\\/th><td><\\/td><\\/tr><\\/table>\",\"exceptions\":[],\"regular\":{\"monday\":\"07:00\\u201317:00\",\"tuesday\":\"07:00\\u201317:00\",\"wednesday\":\"07:00\\u201317:00\",\"thursday\":\"07:00\\u201317:00\",\"friday\":\"07:00\\u201317:00\"}},\"street\":\"N\\u00e1m\\u011bst\\u00ed 13. prosince 6\",\"country\":\"CZ\",\"city\":\"Oslavany\",\"place_name\":\"Oslavany, n\\u00e1m. 13. prosince 6, stavebniny\",\"place\":\"D\\u016fm, stavba, zahrada - Oslavany\",\"labelRouting\":\"C60-106-988\",\"directions\":\"<p>V prodejn\\u011b s n\\u00e1pisem STAVBA - D\\u016eM - ZAHRADA, nalevo od m\\u011bstsk\\u00e9ho \\u00fa\\u0159adu.<\\/p>\"},\"payment_data\":[],\"heurekaDisagree\":\"on\",\"consents\":{\"personalization_and_functionality_storage\":0,\"analytics_storage\":1,\"ad_storage\":2},\"conversion_sent\":1}",
"admin" : null,
"note_invoice" : null,
"package_id" : null,
"invoice_state" : "",
"invoice_custom_address" : "",
"delivery_state" : "",
"delivery_custom_address" : "",
"flags" : "",
"pos" : null,
"delivery_phone" : "",
"user_order_no" : "",
"total_weight" : 0.500000
}
],
"order_items" : [
{
"id" : 468441,
"id_order" : 183911,
"id_product" : 22675,
"id_variation" : null,
"pieces" : 1,
"pieces_reserved" : 1,
"piece_price" : 226.4463,
"total_price" : 226.4463,
"descr" : "SIT hořáček zapalovací 140 (Kód: 140037)",
"tax" : 21,
"date" : "2023-02-21 22:36:26",
"note" : "",
"discount" : 0.0000,
"price_buy" : 150.0000
},
{
"id" : 468442,
"id_order" : 183911,
"id_product" : 5924,
"id_variation" : null,
"pieces" : 1,
"pieces_reserved" : 1,
"piece_price" : 155.3719,
"total_price" : 155.3719,
"descr" : "SIT zapalovač piezo černý SIT 739 (Kód: 073952)",
"tax" : 21,
"date" : "2023-02-21 22:36:26",
"note" : "",
"discount" : 0.0000,
"price_buy" : 64.5000
},
{
"id" : 468443,
"id_order" : 183911,
"id_product" : 1768,
"id_variation" : null,
"pieces" : 1,
"pieces_reserved" : 1,
"piece_price" : 135.5372,
"total_price" : 135.5372,
"descr" : "SIT termočlánek 500 M9x1 mm (Kód: 0200232)",
"tax" : 21,
"date" : "2023-02-21 22:36:26",
"note" : "",
"discount" : 0.0000,
"price_buy" : null
},
{
"id" : 468444,
"id_order" : 183911,
"id_product" : null,
"id_variation" : null,
"pieces" : 1,
"pieces_reserved" : 0,
"piece_price" : 82.6446,
"total_price" : 82.6446,
"descr" : "Dobírkou - Zásilkovna",
"tax" : 21,
"date" : "2023-02-21 22:36:26",
"note" : "{\"item_type\":\"delivery\"}",
"discount" : 0.0000,
"price_buy" : null
}
],
"warehouse_orders": [
{
"id": 147700,
"id_order": 183911,
"id_position": 2019,
"state": "{\"checkouts\":[],\"commits\":{\"207279f9-7c1c-4d59-a31c-386ab0928a3f\":\"575082\"}}",
"date_start": "2023-02-22 07:43:06",
"date_finish": null,
"date_close": null,
"id_packaged_by": null
}
]
}