deprecated
ORDER INFORMATION - API EXPRESS
over 2 years ago by Vanessa Villegas
Podrá consumir la bitácora de su envío consumiendo el endpoint descrito a continuación.
curl --location --request POST 'https://api.ivoy.mx/api/order/getById/json/web' \
--header 'Content-Type: application/json' \
--header 'token: eyJhbGciOiJSUzI1NiIsImtpZCI6IjZmOGUxY2IxNTY0MTQ2M2M2ZGYwZjMzMzk0YjAzYzkyZmNjODg5YWMiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiRVhQUkVTUyBJTlRFR1JBVElPTiBRQSIsImlkVXNlciI6MjI0MzkxLCJuYW1lVXNlciI6IldFQkhPT0tfNkwwWDNfYyIsImxvZ2luVHlwZSI6MiwiaWRDbGllbnRQcm9maWxlIjo2LCJpc1BheW1lbnRNYW5kYXRvcnkiOjAsImlkQ2xpZW50VHlwZSI6MSwiYXBpVHlwZSI6MCwiaXNzIjoiaHR0cHM6Ly9zZWN1cmV0b2tlbi5nb29nbGUuY29tL2l2b3ktc2VjdXJpdHkiLCJhdWQiOiJpdm95LXNlY3VyaXR5IiwiYXV0aF90aW1lIjoxNjU0MDI1NDM1LCJ1c2VyX2lkIjoiZjliNDA3ZDctYjA5MC00M2ZkLTk4NTctNDQyMzAwZGYyNmJmIiwic3ViIjoiZjliNDA3ZDctYjA5MC00M2ZkLTk4NTctNDQyMzAwZGYyNmJmIiwiaWF0IjoxNjU0MDI1NDM1LCJleHAiOjE2NTQwMjkwMzUsImVtYWlsIjoid2ViaG9va3N0ZXN0QGl2b3kubXgiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwicGhvbmVfbnVtYmVyIjoiKzUyNTU4NzMwOTgxMiIsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsicGhvbmUiOlsiKzUyNTU4NzMwOTgxMiJdLCJlbWFpbCI6WyJ3ZWJob29rc3Rlc3RAaXZveS5teCJdfSwic2lnbl9pbl9wcm92aWRlciI6InBhc3N3b3JkIn19.2arI6-oNelUqBGNNd2Mcm0bZtKqbjFo9ORsN2ruv4rbDhfnjvHcdFRDiETDYQRS-jeffROoqt_ETqIVmJ3b3K9Oqyg_uz8-mF9ETflryqoB865oF3DRWTAK5onxdKQWAksFZiOoznOIazM8UiyOTj2YkamgPNJYPAKKihWyKSbWH_2zIZGaBlD0CYwhNOJz7bRLUQ1VH7-u4w6LCfVfapHPkVHXmuJU89arO4eEtnJk0hJ_9ATylhypz26qrwydyxmCM8Lj6YtlgScbW14roDKbBCW-_QMqpMa63YiJF8MN2xzPPm_KXhUOIeTZQFUXe7jbm_KMtUqXyYQNbpauxCA' \
--header 'Authorization: Basic VEVTVFRFU1Q6UEFTU1BBU1M=' \
--data-raw '{
"data": {
"bOrder": {
"idOrder": 3873821
}
}
}'
{
"code": 0,
"data": {
"idOrder": 3873821,
"dateAdd": 1654027806040,
"datePickup": 1654092000000,
"dateEdit": 1654027806040,
"device": "api",
"orderStatus": {
"idOrderStatus": 2,
"description": "Orden creada",
"name": "created"
},
"orderHistories": [
{
"idOrderHistory": 48464256,
"dateAdd": 1654027806126,
"nameOrderStatus": "Orden creada",
"idOrder": 3873821,
"idOrderStatus": 2,
"offLine": false
},
{
"idOrderHistory": 48464257,
"dateAdd": 1654027806126,
"nameOrderStatus": "Orden programada",
"idOrder": 3873821,
"offLine": false
}
]
...
}
}
Si necesita realizar una prueba, solicítela a través de [email protected]