Testing Tool
The tool helps users update order statuses during API testing (applicable only in the Staging environment).
The Testing Tool is available under the Actions column for each order on the Order History page.
Updating Order Status
Partners can update any order status to check the statuses and callback logs for orders.
Among the available update actions, the Continue action allows automatic progression to the next status in order:
Created - Assigning Driver - Driver Accepted - In Progress - Delivered Successfully
Corresponding to these statuses:
ASSIGNING - ACCEPTED - IN PROCESS - COMPLETED
Assign to a Default Driver
When an order is in the ASSIGNING status, selecting Continue will assign the order to a default driver and continue with the delivery process.
Assign to a Partner’s Driver
This option is for Partners using the AhaSTG Driver App to manage orders.
- Step 1: When the order is in the ASSIGNING status, select Assign Order and enter the phone number of the driver configured in the Staging environment.
- Step 2: Open the driver app and locate the assigned order.
- Step 3: Continue updating the order status via the driver app.
Cancel Order by Customer
Partners can cancel the order by user. Select Cancel Order, then choose a reason from the list to cancel the order.
Cancel Order by Driver
Partners can cancel the order by driver. Select Driver Cancels Order, then choose a reason from the list to cancel the order.
Checking Callback Logs
For Partners using Webhooks to receive order status updates, the Testing Tool allows checking the callback request logs sent by Ahamove to the Partner's Webhook URL.
For failed callbacks (response code not equal to 200), Partners can resend the callback for the corresponding failed statuses.