Last active
October 24, 2018 01:17
-
-
Save betiol/929aa8fa65a6c7acb8b1706e1d1fc9e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"order": { | |
"id": 14, | |
"created_at": "2018-10-18T13:35:20.186-03:00", | |
"updated_at": "2018-10-18T13:35:20.186-03:00", | |
"number": 8, | |
"status": "in_progress", | |
"status_i18n": "Em aberto", | |
"customer": { | |
"id": 5, | |
"name": "Maykon Pacheco d", | |
"born_at": null, | |
"gender": null, | |
"document": null, | |
"phone": "(65) 98157-9391", | |
"phone_alt": "", | |
"locations": [ | |
{ | |
"id": 6, | |
"title": null, | |
"street": "Rua Padronal, ", | |
"number": "06", | |
"complement": "Perto do colégio evolução", | |
"zipcode": "78120-670", | |
"latitude": null, | |
"longitude": null, | |
"city": "Cuiabá", | |
"state": "MT" | |
} | |
] | |
}, | |
"location": { | |
"id": 6, | |
"title": null, | |
"street": "Rua Padronal, ", | |
"number": "06", | |
"complement": "Perto do colégio evolução", | |
"zipcode": "78120-670", | |
"latitude": null, | |
"longitude": null, | |
"city": "Cuiabá", | |
"state": "MT" | |
}, | |
"payment_method": { | |
"id": 3, | |
"method_type": "credit_card", | |
"method_type_i18n": "Cartão de crédito", | |
"name": "Mastercard", | |
"image": { | |
"url": "http://55delivery.com/uploads/payment_method/image/3/Icon-master.png" | |
} | |
}, | |
"change_money": "80.0", | |
"subtotal": "41.9", | |
"delivery_fee": "5.0", | |
"total": "46.9", | |
"order_items_count": 1, | |
"order_items": [ | |
{ | |
"id": 21, | |
"product": { | |
"id": 1, | |
"category": { | |
"id": 1, | |
"name": "Pizzas", | |
"description": "", | |
"position": 1 | |
}, | |
"name": "Pizza Grande", | |
"description": "A Pizza de Mussarela é coberta com molho de tomate, queijo tipo mussarela, azeitonas pretas e orégano e massa com fermentação natural, oferece mais sabor e qualidade à sua mesa. Aproveite! 01 caixa contendo 12 cartuchos de 460g, cada. Peso total de 5,52kg. ", | |
"price": "35.0", | |
"avatar": { | |
"url": "http://55delivery.com/uploads/product/avatar/1/pizza.png", | |
"thumb": { | |
"url": "http://55delivery.com/uploads/product/avatar/1/thumb_pizza.png" | |
}, | |
"medium": { | |
"url": "http://55delivery.com/uploads/product/avatar/1/medium_pizza.png" | |
} | |
}, | |
"position": null, | |
"variants_count": 3 | |
}, | |
"quantity": 1, | |
"price": "41.9", | |
"total": "41.9", | |
"order_variants": [ | |
{ | |
"id": 47, | |
"variant": { | |
"id": 1, | |
"name": "Sabores", | |
"min_quantity": 1, | |
"max_quantity": 2, | |
"calculation_type": "biggest_price", | |
"calculation_type_i18n": "Maior preço" | |
}, | |
"variant_option": { | |
"id": 1, | |
"name": "Calabresa", | |
"price": "29.9" | |
}, | |
"price": "29.9" | |
}, | |
{ | |
"id": 48, | |
"variant": { | |
"id": 1, | |
"name": "Sabores", | |
"min_quantity": 1, | |
"max_quantity": 2, | |
"calculation_type": "biggest_price", | |
"calculation_type_i18n": "Maior preço" | |
}, | |
"variant_option": { | |
"id": 8, | |
"name": "Quatro queijos", | |
"price": "39.9" | |
}, | |
"price": "39.9" | |
}, | |
{ | |
"id": 49, | |
"variant": { | |
"id": 2, | |
"name": "Borda", | |
"min_quantity": 1, | |
"max_quantity": 1, | |
"calculation_type": "add_to_total", | |
"calculation_type_i18n": "Somar ao total" | |
}, | |
"variant_option": { | |
"id": 5, | |
"name": "Catupiry", | |
"price": 0 | |
}, | |
"price": "0.0" | |
}, | |
{ | |
"id": 50, | |
"variant": { | |
"id": 3, | |
"name": "Adicionais", | |
"min_quantity": 1, | |
"max_quantity": 100, | |
"calculation_type": "add_to_total", | |
"calculation_type_i18n": "Somar ao total" | |
}, | |
"variant_option": { | |
"id": 9, | |
"name": "Bacon", | |
"price": "2.0" | |
}, | |
"price": "2.0" | |
} | |
] | |
} | |
], | |
"order_actions": [ | |
{ | |
"id": 44, | |
"event": "in_progress", | |
"event_i18n": "Em aberto", | |
"author": { | |
"name": "Maykon Pacheco d", | |
"email": "maykonpachecogeo@gmail.com" | |
}, | |
"created_at": "2018-10-18T13:35:20.289-03:00" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment