JSON structure

JSON order sample

{
"order_id" : 123456920,
"email" : "johndoe@gmail.com",
"processed_at" : "2019-05-24T19:06:22-05:00",
"total_price" : 990.0,
"subtotal_price" : 890.0,
"total_discounts": 100.0,
"currency" : "MXN",
"source_name": "amazon",
"discount_applications" : [
{
"type" : "discount_code",
"value" : 100.0,
"value_type" : "fixed_amount",
"title" : null
}
],
"discount_codes" : [
{
"type" : "fixed_amount",
"amount" : 990.0,
"code" : "SUMMERSALE"
}
],
"fulfillment_status" : null,
"line_items" : [
{
"product_id" : 312146657320,
"variant_id" : 3068444704808,
"title" : "Rubber Duck",
"variant_title" : "",
"quantity" : 1,
"sku" : "",
"vendor" : "Awesome Company",
"price" : 0.0,
"total_discount" : 0.0
},
{
"product_id" : 1274304757865,
"variant_id" : 3633119985704,
"title" : "The talking fish",
"variant_title" : "",
"quantity" : 1,
"sku" : "Satin 150",
"vendor" : "Awesome Company",
"price" : 990.0,
"total_discount" : 0.0
}
],
"shipping_lines" : [
{
"title" : "Free Shipping",
"price" : 0.0,
"code" : "free-shipping",
"carrier_identifier" : null,
"discounted_price" : 0.0
}
],
"shipping_address" : {
"address1" : "197 Maryland Avenue",
"address2" : "",
"phone" : "6198073595",
"city" : "San Diego",
"zip" : "05120",
"province" : "California",
"country" : "United States",
"company" : "Compu-Global-Hyper-Mega-Net"
},
"billing_address" : {
"address1" : "197 Maryland Avenue",
"address2" : "",
"phone" : "6198073595",
"city" : "San Diego",
"zip" : "05120",
"province" : "California",
"country" : "United States",
"company" : "Compu-Global-Hyper-Mega-Net"
},
"customer" : {
"customer_id" : "622625947753",
"email" : "johndoe@gmail.com",
}
}