Advertisement
sambacar

Untitled

Jul 19th, 2024
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.78 KB | None | 0 0
  1. #request1
  2. {
  3.   "id": "1000039749STG1",
  4.   "order_number": "1000039749STG1",
  5.   "order_date": "2024-07-19T08:57:33",
  6.   "status": "open",
  7.   "customer": {
  8.     "contact_name": "Petar Sambolek",
  9.     "first_name": "Petar",
  10.     "last_name": "Sambolek",
  11.     "street": "Ulica Svete Ane 57",
  12.     "postcode": "31000",
  13.     "city": "Osijek",
  14.     "phone": "0923051110",
  15.     "e_mail": "sambolek.petar@gmail.com"
  16.   },
  17.   "items": [
  18.     {
  19.       "position": 1,
  20.       "product": {
  21.         "ean_code": "omron-compair-set-za-inhalaciju",
  22.         "name": "Set za inhalaciju za OMRON inhalator CompAir"
  23.       },
  24.       "quantity": 1,
  25.       "price": 13.14
  26.     },
  27.     {
  28.       "position": 2,
  29.       "product": {
  30.         "sku": "dostava gls"
  31.       },
  32.       "quantity": 1,
  33.       "price": 5
  34.     }
  35.   ],
  36.   "payment": {
  37.     "status": "pending",
  38.     "method": "wire_transfer"
  39.   },
  40.   "discount_amount": "0.0000"
  41. }
  42.  
  43. #response1
  44. [N201] Invalid item sku/ean code/part number
  45.  
  46.  
  47. #request2
  48. {
  49.   "id": "1000039751STG1",
  50.   "order_number": "1000039751STG1",
  51.   "order_date": "2024-07-19T08:59:26",
  52.   "status": "open",
  53.   "customer": {
  54.     "company_name": "WOOM DIGITAL d.o.o.",
  55.     "vat_number": "20432779385",
  56.     "contact_name": "Petar Sambolek",
  57.     "first_name": "Petar",
  58.     "last_name": "Sambolek",
  59.     "street": "Ulica Svete Ane 57",
  60.     "postcode": "31000",
  61.     "city": "Osijek",
  62.     "phone": "0923051110",
  63.     "e_mail": "sambolek.petar@gmail.com"
  64.   },
  65.   "items": [
  66.     {
  67.       "position": 1,
  68.       "product": {
  69.         "ean_code": "omron-compair-set-za-inhalaciju",
  70.         "name": "Set za inhalaciju za OMRON inhalator CompAir"
  71.       },
  72.       "quantity": 1,
  73.       "price": 13.14
  74.     }
  75.   ],
  76.   "payment": {
  77.     "status": "paid",
  78.     "method": "credit_card",
  79.     "transaction_id": "220039",
  80.     "credit_card": {
  81.       "brand": "VISA"
  82.     }
  83.   },
  84.   "discount_amount": "0.0000"
  85. }
  86.  
  87. #response2
  88. [N201] Invalid item sku/ean code/part number
  89.  
  90.  
  91. #request3
  92. {
  93.   "id": "1000039752STG1",
  94.   "order_number": "1000039752STG1",
  95.   "order_date": "2024-07-19T08:59:56",
  96.   "status": "open",
  97.   "customer": {
  98.     "contact_name": "Petar Sambolek",
  99.     "first_name": "Petar",
  100.     "last_name": "Sambolek",
  101.     "street": "Ulica Svete Ane 57",
  102.     "postcode": "31000",
  103.     "city": "Osijek",
  104.     "phone": "0923051110",
  105.     "e_mail": "sambolek.petar@gmail.com"
  106.   },
  107.   "items": [
  108.     {
  109.       "position": 1,
  110.       "product": {
  111.         "ean_code": "omron-compair-set-za-inhalaciju",
  112.         "name": "Set za inhalaciju za OMRON inhalator CompAir"
  113.       },
  114.       "quantity": 1,
  115.       "price": 13.14
  116.     },
  117.     {
  118.       "position": 2,
  119.       "product": {
  120.         "sku": "dostava gls"
  121.       },
  122.       "quantity": 1,
  123.       "price": 5
  124.     }
  125.   ],
  126.   "payment": {
  127.     "status": "pending",
  128.     "method": "cod"
  129.   },
  130.   "discount_amount": "0.0000"
  131. }
  132.  
  133. #response3
  134. [N201] Invalid item sku/ean code/part number
  135.  
  136. #request4
  137. {
  138.   "id": "1000039753STG1",
  139.   "order_number": "1000039753STG1",
  140.   "order_date": "2024-07-19T09:03:24",
  141.   "status": "open",
  142.   "customer": {
  143.     "contact_name": "Petar Sambolek",
  144.     "first_name": "Petar",
  145.     "last_name": "Sambolek",
  146.     "street": "Ulica Svete Ane 57",
  147.     "postcode": "20221",
  148.     "city": "Kolo\u010dep",
  149.     "phone": "0923051110",
  150.     "e_mail": "sambolek.petar@gmail.com"
  151.   },
  152.   "items": [
  153.     {
  154.       "position": 1,
  155.       "product": {
  156.         "ean_code": "omron-compair-set-za-inhalaciju",
  157.         "name": "Set za inhalaciju za OMRON inhalator CompAir"
  158.       },
  159.       "quantity": 1,
  160.       "price": 13.14
  161.     },
  162.     {
  163.       "position": 2,
  164.       "product": {
  165.         "sku": "dostava hp"
  166.       },
  167.       "quantity": 1,
  168.       "price": 5
  169.     }
  170.   ],
  171.   "payment": {
  172.     "status": "pending",
  173.     "method": "wire_transfer"
  174.   },
  175.   "discount_amount": "0.0000"
  176. }
  177.  
  178. #response4
  179. [N201] Invalid item sku/ean code/part number
  180.  
  181. #request5
  182. {
  183.   "id": "1000039754STG1",
  184.   "order_number": "1000039754STG1",
  185.   "order_date": "2024-07-19T09:03:56",
  186.   "status": "open",
  187.   "customer": {
  188.     "contact_name": "Petar Sambolek",
  189.     "first_name": "Petar",
  190.     "last_name": "Sambolek",
  191.     "street": "Ulica Svete Ane 57",
  192.     "postcode": "20221",
  193.     "city": "Kolo\u010dep",
  194.     "phone": "0923051110",
  195.     "e_mail": "sambolek.petar@gmail.com"
  196.   },
  197.   "items": [
  198.     {
  199.       "position": 1,
  200.       "product": {
  201.         "ean_code": "omron-compair-set-za-inhalaciju",
  202.         "name": "Set za inhalaciju za OMRON inhalator CompAir"
  203.       },
  204.       "quantity": 1,
  205.       "price": 13.14
  206.     },
  207.     {
  208.       "position": 2,
  209.       "product": {
  210.         "sku": "dostava hp"
  211.       },
  212.       "quantity": 1,
  213.       "price": 5
  214.     }
  215.   ],
  216.   "payment": {
  217.     "status": "pending",
  218.     "method": "cod"
  219.   },
  220.   "discount_amount": "0.0000"
  221. }
  222.  
  223. #response5
  224. [N201] Invalid item sku/ean code/part number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement