Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.35 KB | None | 0 0
  1. {
  2.     "status": "SUCCESSFUL",
  3.     "trxId": "r1eZ86014",
  4.     "responseData": {
  5.         "id": 46,
  6.         "sku": "FULFILL-00000042",
  7.         "slug": "FULFILL-00000042",
  8.         "thumbnail": "http://localhost:3333/assets/20181210-081422-128.png",
  9.         "mdProductId": 11,
  10.         "mdProduct": {
  11.             "id": 11,
  12.             "thumbnail": "http://via.placeholder.com/500x500",
  13.             "nameTh": "กิ้ฟเซต",
  14.             "nameEn": "Giftset",
  15.             "descriptionTh": "-",
  16.             "descriptionEn": "-",
  17.             "productCategoryId": 2,
  18.             "detailsTh": "-",
  19.             "detailsEn": "-",
  20.             "materialDescriptionTh": "-",
  21.             "materialDescriptionEn": "-",
  22.             "couponId": null,
  23.             "active": 1,
  24.             "createdAt": "2018-12-05 20:26:39",
  25.             "updatedAt": "2018-12-05 20:26:49",
  26.             "slug": "giftset",
  27.             "isGiftset": 1
  28.         },
  29.         "unitPrice": {
  30.             "en": 6.8,
  31.             "th": 222
  32.         },
  33.         "name": {
  34.             "en": "name En",
  35.             "th": "name Th"
  36.         },
  37.         "description": {
  38.             "en": "",
  39.             "th": ""
  40.         },
  41.         "discount": {},
  42.         "customized": {
  43.             "version": "2.3.3",
  44.             "objects": [
  45.                 {
  46.                     "type": "image",
  47.                     "version": "2.3.3",
  48.                     "originX": "left",
  49.                     "originY": "top",
  50.                     "left": 79,
  51.                     "top": 88,
  52.                     "width": 100,
  53.                     "height": 100,
  54.                     "fill": "rgb(0,0,0)",
  55.                     "stroke": null,
  56.                     "strokeWidth": 0,
  57.                     "strokeDashArray": null,
  58.                     "strokeLineCap": "butt",
  59.                     "strokeLineJoin": "miter",
  60.                     "strokeMiterLimit": 4,
  61.                     "scaleX": 1,
  62.                     "scaleY": 1,
  63.                     "angle": 0,
  64.                     "flipX": false,
  65.                     "flipY": false,
  66.                     "opacity": 1,
  67.                     "shadow": null,
  68.                     "visible": true,
  69.                     "clipTo": null,
  70.                     "backgroundColor": "",
  71.                     "fillRule": "nonzero",
  72.                     "paintFirst": "fill",
  73.                     "globalCompositeOperation": "source-over",
  74.                     "transformMatrix": null,
  75.                     "skewX": 0,
  76.                     "skewY": 0,
  77.                     "crossOrigin": "",
  78.                     "cropX": 0,
  79.                     "cropY": 0,
  80.                     "controlsVisibility": null,
  81.                     "product": {
  82.                         "id": 2,
  83.                         "isProduct": true
  84.                     },
  85.                     "src": "http://localhost:3333/assets/20181210-081303-6079.png",
  86.                     "filters": []
  87.                 },
  88.                 {
  89.                     "type": "image",
  90.                     "version": "2.3.3",
  91.                     "originX": "left",
  92.                     "originY": "top",
  93.                     "left": 268,
  94.                     "top": 98,
  95.                     "width": 100,
  96.                     "height": 100,
  97.                     "fill": "rgb(0,0,0)",
  98.                     "stroke": null,
  99.                     "strokeWidth": 0,
  100.                     "strokeDashArray": null,
  101.                     "strokeLineCap": "butt",
  102.                     "strokeLineJoin": "miter",
  103.                     "strokeMiterLimit": 4,
  104.                     "scaleX": 1,
  105.                     "scaleY": 1,
  106.                     "angle": 0,
  107.                     "flipX": false,
  108.                     "flipY": false,
  109.                     "opacity": 1,
  110.                     "shadow": null,
  111.                     "visible": true,
  112.                     "clipTo": null,
  113.                     "backgroundColor": "",
  114.                     "fillRule": "nonzero",
  115.                     "paintFirst": "fill",
  116.                     "globalCompositeOperation": "source-over",
  117.                     "transformMatrix": null,
  118.                     "skewX": 0,
  119.                     "skewY": 0,
  120.                     "crossOrigin": "",
  121.                     "cropX": 0,
  122.                     "cropY": 0,
  123.                     "controlsVisibility": null,
  124.                     "product": {
  125.                         "id": 1,
  126.                         "isProduct": true
  127.                     },
  128.                     "src": "http://localhost:3333/assets/20181210-075616-9844.png",
  129.                     "filters": []
  130.                 },
  131.                 {
  132.                     "type": "textbox",
  133.                     "version": "2.3.3",
  134.                     "originX": "left",
  135.                     "originY": "top",
  136.                     "left": 213.02,
  137.                     "top": 142.18,
  138.                     "width": 203.98,
  139.                     "height": 15.82,
  140.                     "fill": "#333",
  141.                     "stroke": null,
  142.                     "strokeWidth": 1,
  143.                     "strokeDashArray": null,
  144.                     "strokeLineCap": "butt",
  145.                     "strokeLineJoin": "miter",
  146.                     "strokeMiterLimit": 4,
  147.                     "scaleX": 1,
  148.                     "scaleY": 1,
  149.                     "angle": 0,
  150.                     "flipX": false,
  151.                     "flipY": false,
  152.                     "opacity": 1,
  153.                     "shadow": null,
  154.                     "visible": true,
  155.                     "clipTo": null,
  156.                     "backgroundColor": "",
  157.                     "fillRule": "nonzero",
  158.                     "paintFirst": "fill",
  159.                     "globalCompositeOperation": "source-over",
  160.                     "transformMatrix": null,
  161.                     "skewX": 0,
  162.                     "skewY": 0,
  163.                     "text": "Text demo",
  164.                     "fontSize": 14,
  165.                     "fontWeight": "normal",
  166.                     "fontFamily": "arial black",
  167.                     "fontStyle": "normal",
  168.                     "lineHeight": 1.16,
  169.                     "underline": false,
  170.                     "overline": false,
  171.                     "linethrough": false,
  172.                     "textAlign": "center",
  173.                     "textBackgroundColor": "",
  174.                     "charSpacing": 0,
  175.                     "minWidth": 20,
  176.                     "controlsVisibility": null,
  177.                     "styles": {}
  178.                 }
  179.             ],
  180.             "backgroundImage": {
  181.                 "type": "image",
  182.                 "version": "2.3.3",
  183.                 "originX": "center",
  184.                 "originY": "center",
  185.                 "left": 250,
  186.                 "top": 250,
  187.                 "width": 500,
  188.                 "height": 500,
  189.                 "fill": "rgb(0,0,0)",
  190.                 "stroke": null,
  191.                 "strokeWidth": 0,
  192.                 "strokeDashArray": null,
  193.                 "strokeLineCap": "butt",
  194.                 "strokeLineJoin": "miter",
  195.                 "strokeMiterLimit": 4,
  196.                 "scaleX": 1,
  197.                 "scaleY": 1,
  198.                 "angle": 0,
  199.                 "flipX": false,
  200.                 "flipY": false,
  201.                 "opacity": 1,
  202.                 "shadow": null,
  203.                 "visible": true,
  204.                 "clipTo": null,
  205.                 "backgroundColor": "",
  206.                 "fillRule": "nonzero",
  207.                 "paintFirst": "fill",
  208.                 "globalCompositeOperation": "source-over",
  209.                 "transformMatrix": null,
  210.                 "skewX": 0,
  211.                 "skewY": 0,
  212.                 "crossOrigin": "",
  213.                 "cropX": 0,
  214.                 "cropY": 0,
  215.                 "controlsVisibility": null,
  216.                 "src": "http://via.placeholder.com/500x500/fff/fff",
  217.                 "filters": []
  218.             }
  219.         },
  220.         "sizes": [
  221.             {
  222.                 "name": {
  223.                     "en": "S",
  224.                     "th": "เล็ก"
  225.                 },
  226.                 "description": {
  227.                     "en": null,
  228.                     "th": null
  229.                 },
  230.                 "id": 1
  231.             },
  232.             {
  233.                 "name": {
  234.                     "en": "S",
  235.                     "th": "ปกติ"
  236.                 },
  237.                 "description": {
  238.                     "en": null,
  239.                     "th": null
  240.                 },
  241.                 "id": 2
  242.             },
  243.             {
  244.                 "name": {
  245.                     "en": "S",
  246.                     "th": "ใหญ่"
  247.                 },
  248.                 "description": {
  249.                     "en": null,
  250.                     "th": null
  251.                 },
  252.                 "id": 3
  253.             }
  254.         ],
  255.         "patterns": [
  256.             {
  257.                 "id": 1,
  258.                 "name": "Monkey",
  259.                 "src": "http://via.placeholder.com/100x100",
  260.                 "couponId": null,
  261.                 "active": 1,
  262.                 "pivotGiftsetId": 46,
  263.                 "pivotPatternId": 1
  264.             }
  265.         ],
  266.         "colors": [
  267.             {
  268.                 "id": 1,
  269.                 "code": "#FEE3E8"
  270.             },
  271.             {
  272.                 "id": 2,
  273.                 "code": "#DAECFA"
  274.             }
  275.         ],
  276.         "products": [
  277.             {
  278.                 "id": 1,
  279.                 "name": "Body Suit",
  280.                 "price": 500,
  281.                 "colors": [
  282.                     {
  283.                         "id": 1,
  284.                         "image": "https://fr.mathworks.com/responsive_image/100/0/0/0/0/cache/matlabcentral/profiles/5382298_1522107977522_DEF.jpg"
  285.                     },
  286.                     {
  287.                         "id": 2,
  288.                         "image": "https://s3-ap-southeast-1.amazonaws.com/snapask-dragonfruit/hk/home/openu.png"
  289.                     }
  290.                 ],
  291.                 "patterns": [
  292.                     {
  293.                         "id": 1,
  294.                         "image": "https://fr.mathworks.com/responsive_image/100/0/0/0/0/cache/matlabcentral/profiles/5382298_1522107977522_DEF.jpg"
  295.                     }
  296.                 ],
  297.                 "size": []
  298.             }
  299.         ],
  300.         "exchangeRate": {
  301.             "th": 1,
  302.             "en": 32.65517241379311
  303.         }
  304.     },
  305.     "processInstance": "instance: NODE_development",
  306.     "version": "1.0.0-dev"
  307. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement