Files
2025-08-02 16:30:27 +02:00

136 lines
6.9 KiB
JSON

{
"products" : [
{
"id": 5644,
"title": "Dárkový poukaz v hodnotě 500 Kč",
"code": null,
"ean": null,
"short_descr": ".",
"long_descr": ".",
"parameters": "",
"price": 413.2231,
"price_common": 0.0000,
"vat": 1,
"id_cn": null,
"discount": 0.00000000,
"producer": null,
"guarantee": 24,
"in_store": 73,
"pieces_sold": 238,
"delivery_time": 0,
"campaign": "O",
"updated": "2023-10-14 18:03:34",
"date_added": "2020-04-27 14:45: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,
"data": "{\"generate_coupon\":\"Y\",\"generate_coupon_discount\":\"75\"}",
"weight": null,
"show_in_search": "Y",
"width": null,
"height": null,
"depth": null,
"note": null,
"pohoda_sync_date": null,
"price_buy": null
}
],
"orders":[
{
"id": 4047,
"source": "shop",
"order_no": "0194047",
"currency_rate": 1,
"id_user": null,
"date_created": "2019-06-04 06:42:02",
"date_accept": null,
"date_handle": null,
"date_updated": "2019-06-04 06:42:02",
"date_due": null,
"status": 0,
"status_payed": 0,
"status_dispatch": 0,
"status_storno": 0,
"total_price": 121,
"invoice_name": "Jan",
"invoice_surname": "Prokop",
"invoice_firm": "WPJ s.r.o.",
"invoice_ico": "123456789",
"invoice_dic": "CZ123456789",
"invoice_street": "Dlouha 123",
"invoice_city": "Vrchlabí",
"invoice_zip": 54301,
"invoice_country": "CZ",
"invoice_phone": "+773568922",
"invoice_email": "prokop@wpj.cz",
"delivery_name": "Jan",
"delivery_surname": "Prokop",
"delivery_firm": "WPJ s.r.o.",
"delivery_street": "Dlouha 123",
"delivery_city": "Vrchlabí",
"delivery_zip": 54301,
"delivery_country": "CZ",
"delivery_type": "Dobírka - PPL",
"id_delivery": 3,
"delivery_complete": "N",
"note_user": null,
"note_admin": "null",
"flags": "",
"admin": null,
"note_invoice": null,
"package_id": null,
"invoice_state": "",
"invoice_custom_address": "",
"delivery_state": "",
"delivery_custom_address": ""
}
],
"order_items" : [
{
"id": 31012,
"id_order": 4047,
"id_product": 5644,
"id_variation": null,
"pieces": 2,
"pieces_reserved": 2,
"piece_price": 413.2231,
"total_price": 826.44628,
"descr": "Dárkový poukaz 500 Kč",
"tax": 21,
"date": "2019-06-04 06:42:02",
"note": "",
"discount": 0
}
],
"discounts" :
[
{
"id": 75,
"descr": "* Dárkový poukaz 500 Kč",
"apply": "order",
"condition_type": "generate_coupon",
"compare_sign": "=",
"condition_value": "OVECZ",
"discount": "500",
"unit": "price",
"compatible": "Y",
"to_who": "user,reg",
"date_from": null,
"date_to": null,
"uses_count": 210,
"uses_max": 296,
"min_price": 500,
"languages": "[\"cs\"]",
"data": "{\"valid_months\":\"\",\"currency\":\"CZK\",\"bg_img\":{\"path\":\"data\\/coupon\\/\",\"original\":\"75.pdf\",\"size\":{\"width\":794,\"height\":374},\"png\":\"75.png?1666012297\"},\"JSON\":{\"version\":\"2.4.3\",\"objects\":[{\"type\":\"PlaceholderText\",\"version\":\"2.4.3\",\"originX\":\"left\",\"originY\":\"top\",\"left\":522,\"top\":211,\"width\":130,\"height\":18.08,\"fill\":\"#000000\",\"stroke\":null,\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.5,\"scaleY\":1.5,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{KOD}\",\"fontSize\":16,\"fontWeight\":\"normal\",\"fontFamily\":\"Proxima-Nova\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"styles\":[],\"textAnchor\":\"start\"},{\"type\":\"PlaceholderText\",\"version\":\"2.4.3\",\"originX\":\"left\",\"originY\":\"top\",\"left\":517,\"top\":107,\"width\":130,\"height\":18.08,\"fill\":\"#000000\",\"stroke\":null,\"strokeWidth\":1,\"strokeDashArray\":null,\"strokeLineCap\":\"butt\",\"strokeLineJoin\":\"miter\",\"strokeMiterLimit\":4,\"scaleX\":1.5,\"scaleY\":1.5,\"angle\":0,\"flipX\":false,\"flipY\":false,\"opacity\":1,\"shadow\":null,\"visible\":true,\"clipTo\":null,\"backgroundColor\":\"\",\"fillRule\":\"nonzero\",\"paintFirst\":\"fill\",\"globalCompositeOperation\":\"source-over\",\"transformMatrix\":null,\"skewX\":0,\"skewY\":0,\"text\":\"{PLATNOST}\",\"fontSize\":16,\"fontWeight\":\"normal\",\"fontFamily\":\"Proxima-Nova\",\"fontStyle\":\"normal\",\"lineHeight\":1.16,\"underline\":false,\"overline\":false,\"linethrough\":false,\"textAlign\":\"left\",\"textBackgroundColor\":\"\",\"charSpacing\":0,\"minWidth\":20,\"styles\":[],\"textAnchor\":\"start\"}]},\"SVG\":\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?><!DOCTYPE svg PUBLIC \\\"-\\/\\/W3C\\/\\/DTD SVG 1.1\\/\\/EN\\\" \\\"http:\\/\\/www.w3.org\\/Graphics\\/SVG\\/1.1\\/DTD\\/svg11.dtd\\\"><svg xmlns=\\\"http:\\/\\/www.w3.org\\/2000\\/svg\\\" xmlns:xlink=\\\"http:\\/\\/www.w3.org\\/1999\\/xlink\\\" version=\\\"1.1\\\" width=\\\"794\\\" height=\\\"374\\\" viewBox=\\\"0 0 794 374\\\" xml:space=\\\"preserve\\\"><desc>Created with Fabric.js 2.4.3<\\/desc><defs><\\/defs><g transform=\\\"matrix(1.5 0 0 1.5 620.25 225.31)\\\" style=\\\"\\\" >\\t\\t<text xml:space=\\\"preserve\\\" font-family=\\\"Proxima-Nova\\\" font-size=\\\"16\\\" font-style=\\\"normal\\\" font-weight=\\\"normal\\\" style=\\\"stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1; white-space: pre;\\\" ><tspan x=\\\"-65\\\" y=\\\"5.03\\\" >{KOD}<\\/tspan><\\/text><\\/g><g transform=\\\"matrix(1.5 0 0 1.5 615.25 121.31)\\\" style=\\\"\\\" >\\t\\t<text xml:space=\\\"preserve\\\" font-family=\\\"Proxima-Nova\\\" font-size=\\\"16\\\" font-style=\\\"normal\\\" font-weight=\\\"normal\\\" style=\\\"stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1; white-space: pre;\\\" ><tspan x=\\\"-65\\\" y=\\\"5.03\\\" >{PLATNOST}<\\/tspan><\\/text><\\/g><\\/svg>\",\"valid_days\":\"365\"}",
"date_added": "2000-01-01 00:00:00"
}
],
"discounts_coupons" : [ ]
}