Good morning,
We found an issue with the a duplicate client reference.
Last October 15 at 21:31:05, we create a new job with these data:
- “pickup_at”:“2021-10-15T19:41:01.317Z”
- “client_reference”:“MTMK01001717”
However, at 21:41:12 we received two updates on the status of the order through the webhook with two different id job:
(1)
{
“event”:“job”,
“type”:“create”,
“data”:{
“id”:168122013,
“status”:“searching”,
“comment”:null,
“pickupAt”:null,
“dropoffAt”:null,
“createdAt”:“2021-10-15T21:41:12.000+02:00”,
“endedAt”:null,
“transportType”:{
“code”:null
},
“packageType”:{
“code”:"(hidden)"
},
“originComment”:null,
“destinationComment”:"(hidden)",
“jobReference”:“MTMK01001717”,
“currentDelivery”:null,
“deliveries”:[
{
“id”:170303536,
“clientReference”:“MTMK01001717”
}
]
}
}
(2)
{
“event”:“job”,
“type”:“create”,
“data”:{
“id”:168122014,
“status”:“searching”,
“comment”:null,
“pickupAt”:null,
“dropoffAt”:null,
“createdAt”:“2021-10-15T21:41:12.000+02:00”,
“endedAt”:null,
“transportType”:{
“code”:null
},
“packageType”:{
“code”:"(hidden)"
},
“originComment”:null,
“destinationComment”:"(hidden)",
“jobReference”:“MTMK01001717”,
“currentDelivery”:null,
“deliveries”:[
{
“id”:170303537,
“clientReference”:“MTMK01001717”
}
]
}
}
Could you check why the duplication has occurred, please?
Thanks in advance.
Regards.