Advertisement
sambacar

Untitled

May 9th, 2024
920
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.95 KB | None | 0 0
  1. #request
  2. {
  3.   "id": "100003767500000000",
  4.   "order_number": "100003767500000000",
  5.   "order_date": "2024-05-09T13:14:56",
  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": "3858893611806",
  22.         "name": "OMRON M3 tlakomjer + adapter"
  23.       },
  24.       "quantity": 1,
  25.       "price": 92.23
  26.     },
  27.     {
  28.       "position": 2,
  29.       "product": {
  30.         "sku": "dostava"
  31.       },
  32.       "quantity": 1,
  33.       "price": "0.00"
  34.     }
  35.   ],
  36.   "payment": {
  37.     "status": "pending",
  38.     "method": "wire_transfer"
  39.   },
  40.   "discount_amount": "0.0000"
  41. }
  42.  
  43. #response
  44. [R005] Invalid [price] data type for order row [id:] [position:2] [] []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement