Use this API to retrieve the seller reject-reason options currently applicable to the specified aftersales request. Use the returned name value as the reject reason key when calling the corresponding seller reject API.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Identifies the shop. Obtain it from the Get Authorized Shops API.
The BCP-47 locale codes for displaying the rejection reason, delimited by commas. Default: en-US Refer to Locale codes for the list of supported locale codes.
The unique identifier for an order return or cancellation.
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
The list of rejection reasons the seller has provided.
object
The reject reason key. Pass this exact value to the corresponding seller reject API as the reject reason. Note: The available reject reasons may change depending on the current aftersales request context. To avoid using stale or inapplicable reason keys, call this API close to the reject action and use the latest returned name values instead of hardcoding them.
The corresponding text to the reason name, localized based on the locale input parameter.
Example
{ "code": 0, "data": { "reasons": [ { "name": "seller_reject_apply_you_have_reached_an_agreement_with_the_buyer", "text": "You have reached an agreement with the buyer" } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}