Skip to content

Instantly share code, notes, and snippets.

@joao-pedrozo
Created December 8, 2022 21:38
Show Gist options
  • Save joao-pedrozo/f037cbcbbedb9d6e3fdb7b8193af7d67 to your computer and use it in GitHub Desktop.
Save joao-pedrozo/f037cbcbbedb9d6e3fdb7b8193af7d67 to your computer and use it in GitHub Desktop.
format 2
{
"orders": [
{
"store_name": "Loja 4",
"store_directory_name": "loja-4",
"store_logo": "http://loja.dev.local:3002/store/logos/4_aaa229139880f95b20e60452929230606163d178.png?1666966575",
"store_informations": [],
"store_address": "Italino Peruffo, 81650-330 - Boqueirão - Curitiba/PR",
"state": "complete",
"payment_state": "paid",
"shipping_state": "ready",
"number": "R306971654",
"total": "118.16",
"items": [
{
"classification": "similar",
"name": "Daxas",
"full_name": "Daxas 50mg",
"variation_name": "50mg",
"substance_name": "Lacosamida",
"factory_name": "Laboratil",
"brand_name": "",
"kind": "M",
"sku": "89135737159",
"image": "http://localhost:9000/consulta-remedios/product_images_configuration/7a5eceb946478589b274dd2c5a71a388a290720bprescription_not_required.png?1603383783",
"quantity": 1,
"price": "28.33",
"amount": "28.33",
"total": "28.33",
"product_parent_category": "Medicamentos",
"category": "Medicamentos/Pele e Mucosa"
},
{
"classification": "similar",
"name": "Alprazolam",
"full_name": "Alprazolam 200mg",
"variation_name": "200mg",
"substance_name": "Lacosamida",
"factory_name": "Haller",
"brand_name": "",
"kind": "M",
"sku": "87737392736",
"image": "http://localhost:9000/consulta-remedios/product_images_configuration/7a5eceb946478589b274dd2c5a71a388a290720bprescription_not_required.png?1603383783",
"quantity": 1,
"price": "79.09",
"amount": "79.09",
"total": "79.09",
"product_parent_category": "Medicamentos",
"category": "Medicamentos/Sistema Nervoso"
}
],
"shipping_price": 10.74,
"shipping_discount": 0,
"shipping_method": "Motoboy",
"shipping_code": "express",
"shipping_message": "Entrega em 4 horas",
"selected_shipping_method_estimated_time": 4,
"selected_shipping_method_estimated_time_unit": "hours"
},
{
"store_name": "Loja 2",
"store_directory_name": "loja-2",
"store_logo": "http://loja.dev.local:3002/store/logos/2_8503ab1cf9ac0e20367cc664f94028c0ecd746ea.png?1666966575",
"store_informations": [],
"store_address": "Italino Peruffo, 81650-330 - Boqueirão - Curitiba/PR",
"state": "complete",
"payment_state": "paid",
"shipping_state": "ready",
"number": "R864564127",
"total": "418.44",
"items": [
{
"classification": "similar",
"name": "Alprazolam",
"full_name": "Alprazolam 200mg",
"variation_name": "200mg",
"substance_name": "Lacosamida",
"factory_name": "Haller",
"brand_name": "",
"kind": "M",
"sku": "87737392736",
"image": "http://localhost:9000/consulta-remedios/product_images_configuration/7a5eceb946478589b274dd2c5a71a388a290720bprescription_not_required.png?1603383783",
"quantity": 1,
"price": "373.61",
"amount": "373.61",
"total": "373.61",
"product_parent_category": "Medicamentos",
"category": "Medicamentos/Sistema Nervoso"
}
],
"shipping_price": 44.83,
"shipping_discount": 0,
"shipping_method": "Motoboy",
"shipping_code": "express",
"shipping_message": "Entrega em 4 horas",
"selected_shipping_method_estimated_time": 4,
"selected_shipping_method_estimated_time_unit": "hours"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment