SHARE
TWEET

req.json

a guest Feb 27th, 2020 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "merchant_id": 221,
  3.     "branch_id": [31337],
  4.     "name": "spion vario",
  5.     "category_id": ["121010"],
  6.     "image_path": "https://mayang.klopos.com/uploads/16602/1579628980.png",
  7.     "is_favourite": 1,
  8.     "is_displayed": 1,
  9.     "is_serial_number": 1,
  10.     "is_expiry_date": 1,
  11.     "is_cogs": 1,
  12.     "stock_alert": 0,
  13.     "units": [
  14.         {
  15.             "unit_name": "Pcs",
  16.             "selling_price": 3000.0,
  17.             "purchase_price": 1500.0,
  18.             "unit_sku": "W10291",
  19.             "unit_conversion": 1.0
  20.         },
  21.         {
  22.             "unit_name": "Lusin",
  23.             "selling_price": 300000.0,
  24.             "purchase_price": 120000.0,
  25.             "unit_sku": "W10293",
  26.             "unit_conversion": 100.0
  27.         }
  28.     ],
  29.     "default_unit": {
  30.         "sales-unit": "Lusin",
  31.         "inventory-unit": "Pcs",
  32.         "purchase-unit": "Pcs"
  33.     },
  34.     "changeable_price": 4000.0,
  35.     "is_parent": 1,
  36.     "item_parent_id": 1337,
  37.     "is_recipe": 1,
  38.     "recipes": [
  39.         {
  40.             "id_item": "1448758",
  41.             "item_no": "SAT-00002",
  42.             "quantity": 3.0
  43.         },
  44.         {
  45.             "id_item": "1448758",
  46.             "item_no": "SAT-00001",
  47.             "quantity": 3.0
  48.         }
  49.     ],
  50.     "add_ons_id": [425, 434],
  51.     "is_finished_material": 1
  52. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top