Ejemplo Order Object
{
"token": "e190b977-a81a-426e-b230-bcdd12d72d80",
"api_key_id": "7e8e2523-b87b-4c79-adf6-9329e22945db",
"billing_address": {
"additional_description": "",
"address1": "Monte Alegr 86282 ",
"address2": "Jesús del Monte",
"address_type": "other",
"city": "CUAJIMALPA DE MORELOS",
"country_code": "MX",
"created_at": "2023-04-21T16:09:36.035316877Z",
"email": "[email protected]",
"first_name": "Jonattan Giovanni",
"id": 0,
"identity_document": "",
"is_default": false,
"last_name": "Linares",
"lat": 0,
"lng": 0,
"phone": "+525519526966",
"state_code": "",
"state_name": "CIUDAD DE MÉXICO",
"updated_at": "2023-04-21T16:09:36.035316978Z",
"user_id": "",
"zipcode": "05060"
},
"cash_change": 0,
"created_at": "2023-04-21T16:08:31.490083535Z",
"currency": "MXN",
"deleted_at": null,
"discounts": null,
"gift_cards": null,
"hash_state": "80a9b4b66781ce769dd73d0c63a24ab5",
"hooks": [
{
"created_at": "2023-04-21T16:09:36.593324195Z",
"max_retry": 3,
"name": "notify",
"response": {
"code": "succeeded",
"http_status_code": 200,
"raw_response": "{\"status\":\"succeeded\",\"data\":{\"order_id\":\"1326560802458\"}}"
},
"retry": 0,
"successed": true,
"updated_at": "2023-04-21T16:09:36.87217353Z",
"url": "https://middleware.deuna.io/api/v1/payments/notify"
}
],
"items": [
{
"brand": "",
"category": "",
"color": "",
"description": "",
"details_url": "",
"discounts": null,
"id": "1525",
"image_url": "",
"included_in_subscription": false,
"isbn": "",
"manufacturer": "",
"name": "Almohada Memory Night Fresh Atlas Basics",
"options": "",
"quantity": 1,
"size": "",
"sku": "",
"taxable": false,
"tax_amount": {
"amount": 0,
"currency": "",
"currency_symbol": ""
},
"total_amount": {
"amount": 74900,
"currency": "",
"currency_symbol": "",
"original_amount": 74900,
"total_discount": 0
},
"type": "",
"unit_price": {
"amount": 74900,
"currency": "",
"currency_symbol": ""
},
"uom": "",
"upc": "",
"weight": {
"unit": "",
"weight": 0
}
}
],
"items_total_amount": 74900,
"merchant_id": "dcad8431-114f-4021-9873-8b0dbe1c9cd7",
"merchant_id_order_id": "dcad8431-114f-4021-9873-8b0dbe1c9cd7#1326560802458",
"metadata": null,
"order_id": "1326560802458",
"order_type": "DEUNA_NOW",
"payment": {
"data": {
"amount": {
"amount": 74900,
"currency": "MXN"
},
"created_at": "2023-04-21T16:09:36.452593Z",
"customer": {
"email": "[email protected]",
"id": "04c51032-8840-4230-81fc-4b308d151816"
},
"external_transaction_id": "",
"from_card": {
"card_brand": "",
"first_six": "",
"last_four": ""
},
"id": "000000000000058",
"merchant": {
"id": "dcad8431-114f-4021-9873-8b0dbe1c9cd7",
"store_code": "all"
},
"metadata": null,
"method_type": "credit_card",
"processor": "stripe_direct",
"reason": "",
"status": "denied",
"updated_at": "2023-04-21T16:09:36.458351387Z"
}
},
"payment_link": "",
"payment_method": "credit_card",
"payment_status": "denied",
"redirect_url": "",
"scheduled_at": null,
"shipping": {
"discounts": null,
"original_amount": 0,
"total_discount": 0
},
"shipping_address": {
"additional_description": "",
"address1": "Monte Alegre",
"address2": "Jesús del Monte",
"address_type": "other",
"city": "CUAJIMALPA DE MORELOS",
"country_code": "MX",
"created_at": "0001-01-01T00:00:00Z",
"email": "",
"first_name": "Jonattan",
"id": 0,
"identity_document": "",
"is_default": false,
"last_name": "Lxxxxx",
"lat": 0,
"lng": 0,
"phone": "+50000000066",
"state_code": "",
"state_name": "CIUDAD DE MÉXICO",
"updated_at": "0001-01-01T00:00:00Z",
"user_id": "",
"zipcode": "00060"
},
"shipping_amount": 0,
"shipping_method": {
"code": "",
"cost": 0,
"display_cost": "",
"display_tax_amount": "",
"max_delivery_date": "",
"min_delivery_date": "",
"name": "",
"scheduler": null,
"tax_amount": 0
},
"shipping_methods": null,
"shipping_options": {
"details": {
"additional_details": {
"pickup_time": "0001-01-01T00:00:00Z",
"stock_location": ""
},
"address": "other",
"address_coordinates": {
"lat": 0,
"lng": 0
},
"contact": {
"name": "",
"phone": ""
},
"store_name": "all"
},
"type": "delivery"
},
"shipping_tax_amount": 0,
"status": "pending",
"statuses": [
{
"created_at": "2023-04-21T16:08:31.490083535Z",
"name": "pending"
},
{
"created_at": "2023-04-21T16:09:36.593324988Z",
"name": "pending"
}
],
"store_code": "all",
"sub_total": 74900,
"succeeded_at": null,
"tax_amount": 0,
"timezone": "",
"total_amount": 74900,
"total_discount": 0,
"total_tax_amount": 0,
"transaction_id": "1326560802458",
"updated_at": "2023-04-21T16:09:36.593325583Z",
"user_id": "04c51032-8840-4230-81fc-4b308d151816",
"user_instructions": "",
"user_is_guest": false,
"webhook_urls": {
"apply_coupon": "https://duna--atlasmx.myvtex.com/vinneren/d-una/api/v1/setorder/{order_id}/coupons",
"get_shipping_methods": "https://duna--atlasmx.myvtex.com/vinneren/d-una/api/v1/setorder/{order_id}/shipping-methods",
"notify_order": "https://middleware.deuna.io/api/v1/payments/notify",
"remove_coupon": "https://duna--atlasmx.myvtex.com/vinneren/d-una/api/v1/setorder/{order_id}/coupons/{coupon}",
"shipping_rate": "",
"sync_notify_order": "",
"update_shipping_method": "https://duna--atlasmx.myvtex.com/vinneren/d-una/api/v1/setorder/{order_id}/shipping-methods"
}
}
Updated about 1 month ago