Extras

Simulate a delivery action in test enviroment only.

post
/delivery/simulate-action

Note that the actions need to be triggered in this order

  1. ASSIGNED

  2. PICKUP

  3. PICKEDUP

  4. DROPOFF

  5. DROPEDOFF

  6. 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 happen
simulate_statusstring · enumRequired
  • 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
Possible values:
secret_codestringRequired

delivery secret code to be used in triggering ENDED status

Responses
post
/delivery/simulate-action

Last updated

Was this helpful?