Skip to content

Instantly share code, notes, and snippets.

@duranmla duranmla/orders.js
Created Oct 22, 2018

Embed
What would you like to do?
{
"id": 371,
"status": "completed",
"subtotal": "480.0",
"fee": "32.735128",
"updated_at": "2018-10-02T08:05:02.520-05:00",
"user": {
"id": 19,
"contact_name": "Javier Aldape",
"contact_email": "javieraldape@outlook.com",
"contact_phone": "+528119168388"
},
"order_tickets": [
{
"id": 345,
"event_name": "Cielo Magico Viernes 2018",
"ticket_type_name": "Estacionamiento Viernes",
"ticket_type_price": "50.0",
"ticket_type_fixed_commision": "8.12",
"ticket_type_variable_commision": "12.47",
"ticket_type_total_fee": "15.367564",
"ticket_type_total_price": "65.367564",
"quantity": 2,
"unit_price": "50.0",
"total_price": "100.0",
"tickets": [
{
"id": 252,
"token": "mITPJIpTo7UFAFUxlniMh_TJyGM=",
"order_ticket_id": 345,
"created_at": "2018-10-02T08:05:02.813-05:00",
"updated_at": "2018-10-02T08:05:02.813-05:00",
"custom_fields": {}
},
{
"id": 253,
"token": "qFeiigkytSrlK-zKTCXzKMwbGlc=",
"order_ticket_id": 345,
"created_at": "2018-10-02T08:05:02.837-05:00",
"updated_at": "2018-10-02T08:05:02.837-05:00",
"custom_fields": {}
}
]
},
{
"id": 346,
"event_name": "Cielo Magico Viernes 2018",
"ticket_type_name": "General Viernes",
"ticket_type_price": "190.0",
"ticket_type_fixed_commision": "1.0",
"ticket_type_variable_commision": "0.0",
"ticket_type_total_fee": "1.0",
"ticket_type_total_price": "191.0",
"quantity": 2,
"unit_price": "190.0",
"total_price": "380.0",
"tickets": [
{
"id": 254,
"token": "-3CKITB76D_a54DWT1ZgLNGnOHg=",
"order_ticket_id": 346,
"created_at": "2018-10-02T08:05:02.854-05:00",
"updated_at": "2018-10-02T08:05:02.854-05:00",
"custom_fields": {}
}
]
}
],
"payments": [
{
"id": 164,
"card_type": null,
"last4": null,
"name": null,
"exp_month": null,
"exp_year": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.