Inquiries about gift order details
Use this interface to find out details of small store authorization gift delivery orders.
Dxplaination of Interface Call Request
Dxplaination of request parameters
parameter | type | Is it compulsory? | describe |
present_order_id | string | yes | Gift Sheet ID |
openid | string | no | User openid |
Example of request parameters
Return parameter explaination
parameter | type | describe |
errcode | number | Error code |
errmsg | string | Error message |
present_order_info | PresentOrderInfo | Gift List Details |
Example of Return Parameters
Structure Dxplaination
PresentOrderInfo
parameter | type | describe |
present_order_info.ecsgift | ECsGiftInfo | Gift Details |
present_order_info.cannot_receive | number | Can I receive a gift? |
present_order_info.cannot_receive_tips | string | Can't accept gifts tips |
ECsGiftInfo
parameter | type | describe |
ecsgift.gifts | GiftList | List of presents |
ecsgift.gifts.gift | array | List of Gift Information |
ecsgift.gifts.gift.order_id | number | Gift Sheet ID |
ecsgift.gifts.gift.giftstatus | GiftStatus | Gift Status |
ecsgift.gifts.gift.expired_time | number | Gift expiration time |
ecsgift.user_type | number | User perspective |
ecsgift.wishmessage | string | Blessings |
GiftStatus (Gift State Enumeration)
The enumeration value | describe |
0 | To be collected |
1 | I have received it |
2 | It's been overtime. |
3 | I have received the address to be filled in |
4 | The gift was finished. |
5 | The unfilled address is overdue |
6 | I wasn't drawn. |
PresentUserType (Enumeration of User Types)
The enumeration value | describe |
0 | Third party |
1 | The Giftgiver |
2 | The recipient |
Error code