Extras
Note that the actions need to be triggered in this order
ASSIGNED
PICKUP
PICKEDUP
DROPOFF
DROPEDOFF
ENDED
Query parameters
app_keystringRequired
Body
delivery_codestringRequiredDefault:
The delivery code from the delivery that you want to simulate the action for. The delivery should already be created for this to happensimulate_statusstring · enumRequiredPossible values:
- PENDING - The initial state of a delivery after creation - GROUPED - The delivery has been added to a group/trip - AGENCY_ASSIGNED - The delivery has been assigned to an agency - ASSIGNED - The delivery has been assigned to a rider - ONHOLD - The delivery is on hold due to low funds or some other reason - PICKUP - The rider is on the way to pick up the items - PICKEDUP - The rider has picked up the items - DROPOFF - The rider is on the way to drop off the items - DROPEDOFF - The rider has dropped off the items - ENDED - The delivery is commpleted - CANCELLED - The delivery has been cancelled
secret_codestringRequired
delivery secret code to be used in triggering ENDED status
Responses
200
Success Responses On Delivery Simulation
application/json
400
Validation Error
application/json
500
Simulate acction failed
post
/delivery/simulate-actionLast updated
Was this helpful?