Self Pick

This page discuss the extended information for self pick up scenarios, please also check the base API.


Order Status

image.png

Order Status

Description

Display Sample (Index Page)

PENDING

When the restaurant has not confirmed the order.

image.png

ORDER_TAKEN

When the order is confirmed by the restaurant.

image.png

TO_PICK_UP

When the order is ready to pick up.

The next status must be FINISHED.

image.png

FINISHED

(End status)

When the order is picked up.

Hide notification.

CLOSED

(End status)

When the order is cancelled.

Hide notification.

REFUNDED

(End status)

When the order is refunded.

image.png

Hide notification after 10 mins.



Below is the extra fields of this scenario, please also check the base API fields.

Request parameters

amount object  REQUIRED

The total amount of this order.

Show child parameters

discountAmount object  

The discount amount of this order.

Show child parameters

actualAmount object  

The actual amount of this order.

Show child parameters

tradeNo string  

The transaction number provided by Alipay.

itemOrderList Array<object>  REQUIRED

List of items in this order.

Show child parameters

shopInfo object  REQUIRED

Information of the shop.

Show child parameters

extInfo object  REQUIRED

Extended information of this service order.

Show child parameters

Response parameters

No request parameters.
API Explorer

Request

Request Body

Response

Response Body