PUT <baseURL>/deliveries/{deliveryId}/orderStatus

Use this request to change the status of a delivery order.

Note: This HTTP request can only be used if it has been approved by a Walmart GoLocal team member. The returned responses will be undefined unless you are cleared to use this HTTP request. Contact a Walmart GoLocal team member to obtain access to this feature.

Example

This request specifies the delivery status deliveryId of 4e9cf4d5-be96-4b30-a76e-073b5f912345 for clientId of 2 to be changed to READY_FOR_PICKUP.

PUT {baseURL}/deliveries/4e9cf4d5-be96-4b30-a76e-073b5f912345/orderStatus

Request body:

{ "deliveries": { "clientId": "49304", "orderStatus": "READY_FOR_PICKUP" }
}

Response body:

{ "deliveries": { "deliveryId": "4e9cf4d5-be96-4b30-a76e-073b5f912345" }
}

Example

This example shows the order status for drivers that delivers to stores with a passcode for pickups. Once the driver has arrived at the store, a one-time passcode is exchanged with the store associate. If the passcode is verified to be correct then the order status is updated to PIN_VALIDATION_PICKUP. After the passcode is verified, the store associate can transfer the item to the driver for delivery.

Request body:

{ "deliveries": { "clientId": "9930", "orderStatus": "PIN_VALIDATION_PICKUP" }
}

See Also

To change details about the delivery information, see PUT /deliveries/{deliveryId)/update

Language
URL
Click Try It! to start a request and see the response here!