JSON structure

JSON order sample

{
"order_id": 10,
"email": "johndoe@gmail.com",
"processed_at": "2019-05-24 19:06:22-05:00",
"total_price": 990,
"subtotal_price": 890,
"total_discounts": 100,
"currency": "MXN",
"source_name": "amazon",
"discount_applications": [
{
"type": "discount_code",
"value": 100,
"value_type": "fixed_amount",
"title": "SARELLY"
}
],
"discount_codes": [
{
"type": "fixed_amount",
"amount": 990,
"code": "SUMMERSALE"
}
],
"fulfillment_status": null,
"line_items": [
{
"product_id": 312146657320,
"variant_id": 3068444704808,
"title": "Rubber Duck",
"variant_title": "Little duck",
"quantity": 1,
"sku": "",
"vendor": "Awesome Company",
"price": 0,
"total_discount": 0
},
{
"product_id": 1274304757865,
"variant_id": 3633119985704,
"title": "The talking fish",
"variant_title": "Little fish",
"quantity": 1,
"sku": "Satin 150",
"vendor": "Awesome Company",
"price": 990,
"total_discount": 0
}
],
"shipping_lines": [
{
"title": "Free Shipping",
"price": 0,
"code": "free-shipping",
"carrier_identifier": null,
"discounted_price": 0
}
],
"payment_gateway_names": [
{
"installments": "1",
"paymentSystem": "101",
"paymentSystemName": "Aplazo",
"group": "promissory",
"dueDate": null
}
],
"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"
},
"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"
},
"customer": {
"customer_id": "622625947753",
"email": "johndoe@gmail.com"
}
}