快工助手跨境电商知识与商机助手

v2.returns.get_return_list

Shopee 官方资料 · Shopee Open Platform 接口参考 · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.api_reference
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/api_doctopic/apitopic/developer

资料正文

§1 v2.returns.get_return_list

Use this api to get detail information of many return by shop id.

#

§2 Overview

Overview

FieldValue
ModuleReturns
API typeShop
HTTP methodGET
Path/api/v2/returns/get_return_list
Production URLhttps://partner.shopeemobile.com/api/v2/returns/get_return_list
Sandbox URLhttps://partner.test-stable.shopeemobile.com/api/v2/returns/get_return_list
Rate limit[0, 0, 0]
PermissionERP System; Seller In House System; Customer Service; Swam ERP
#

§3 Request parameters

Request parameters

NameTypeRequiredSampleDescription
page_noint64Yes1Specifies the starting entry of data to return in the current call. Default is 0. if data is more than one page, the offset can be some entry to start next call.
page_sizeint64Yes10if many items are available to retrieve, you may need to call GetReturnList multiple times to retrieve all the data. Each result set is returned as a page of entries. Default is 40. Use the Pagination filters to control the maximum number of entries (<= 100) to retrieve per page (i.e., per call), the offset number to start next call. This integer value is usUed to specify the maximum number of entries to return in a single ""page"" of data.
create_time_fromtimestampNo1655392442The create_time_from and create_time_to fields specify a date range for retrieving orders (based on the order create time). The create_time_from field is the starting date range. The maximum date range that may be specified with the create_time_from and create_time_to fields is 15 days.
create_time_totimestampNo1655392542The create_time_from and create_time_to fields specify a date range for retrieving orders (based on the order create time). The create_time_from field is the starting date range. The maximum date range that may be specified with the create_time_from and create_time_to fields is 15 days.
update_time_fromtimestampNo1655392442The update_time_from and update_time_to fields specify a date range for retrieving orders (based on the last return updated time). The update_time_from field is the starting date range. The maximum date range that may be specified with the update_time_from and update_time_to fields is 15 days. update_time_from should be >= create_time_from
update_time_totimestampNo1655392542The update_time_from and update_time_to fields specify a date range for retrieving orders (based on the last return updated time). The update_time_from field is the starting date range. The maximum date range that may be specified with the update_time_from and update_time_to fields is 15 days. update_time_from should be >= create_time_from
statusstringNoREQUESTEDThis is for filtering return request by return status. See "Data Definition - ReturnStatus"
negotiation_statusstringNoTERMINATEDThis is for filtering return request by counter status. See "Data Definition - NegotiationStatus"
seller_proof_statusstringNoPENDINGThis is for filtering return request by proof status. See "Data Definition - SellerProofStatus"
seller_compensation_statusstringNoNOT_REQUIREDThis is for filtering return request by compensation status. See "Data Definition - SellerCompensationStatus"
#

§4 Response parameters

Response parameters

NameTypeRequiredSampleDescription
request_idstring33e099960cdf420393ca5d5c35016f6dThe identifier for an API request for error tracking
errorstringerror code
messagestringerror description
responseobjectAmount of the refund.
response.morebooleantrueWhether has next page
response.returnobject[]
response.return.imagestring[]["https://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826"]Image URLs of return.
response.return.reasonstringPHYSICAL_DMGIndicates the original return reason submitted by the buyer when initiating the return request.; Applicable values: See Data Definition- ReturnReason and Reassessed Request Reason.; Note: There may be cases where Shopee Agent updates the return request with a "Reassessed Return Reason" after reviewing more details about the buyer's return request and potentially after requesting evidence from the seller. If the platform updates the return reason during this process, the reassessed outcome will be provided separately in the reassessed_request_reason field.
response.return.text_reasonstringreturn reasonReason that buyer provide.
response.return.reassessed_request_reasonstringITEM_MISSINGIndicates the return reason reassessed by the platform as more suitable.; There may be cases where Shopee Agent updates the return request with a "Reassessed Return Reason" after reviewing more details about the buyer's return request and potentially after requesting evidence from the seller.; Applicable values: See Data Definition- ReturnReason and Reassessed Request Reason. If no reassessment has been made, the value will be NONE.
response.return.return_snstring200203171852695The serial number of return.
response.return.refund_amountfloat1409.0Amount of the refund.
response.return.currencystringSGDCurrency of the return.
response.return.create_timetimestamp1580721513The time of return create.
response.return.update_timetimestamp1580729377The time of modify return.
response.return.statusstringCANCELLEDEnumerated type that defines the current status of the return. Applicable values: See Data Definition- ReturnStatus.
response.return.due_datetimestamp1580721513The last time seller deal with this return.
response.return.tracking_numberstringRNSHS00177569The tracking number assigned by the shipping carrier for item shipment.
response.return.dispute_reasonstring[]["UNKNOWN"]The reason of seller dispute return. While the return has been disputed, this field is useful. Applicable values: See Data Definition- ReturnDisputeReason.
response.return.dispute_text_reasonstring[]["reason"]The reason that seller provide. While the return has been disputed, this field is useful.
response.return.needs_logisticsbooleantrueItems to be sent back to seller. Can be either integrated/non-integrated.
response.return.amount_before_discountfloat1409.0Order price before discount.
response.return.userobject
response.return.user.usernamestringabcdefgBuyer's nickname, will be masked as "****" if it is a non-integrated return in TW region.
response.return.user.emailstring***********r1@shopee.comBuyer's email, will be empty if it is a non-integrated return in TW region.
response.return.user.portraitstringhttps://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826Buyer's portrait, will be empty if it is a non-integrated return in TW region.
response.return.itemobject[]
response.return.item.model_idint640Shopee's unique identifier for a variation of an item.
response.return.item.namestringagsabdmnambdName of item in local language.
response.return.item.imagesstring[]["https://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826"]Image URLs of item.
response.return.item.amountint641Amount of this item.
response.return.item.item_pricefloat1409.9The price of item.
response.return.item.is_add_on_dealbooleanfalseTo indicate if this item belongs to an addon deal.
response.return.item.is_main_itembooleanfalseTo indicate if this item is main item or sub item. True means main item, false means sub item.
response.return.item.add_on_deal_idint640The unique identity of an addon deal.
response.return.item.item_idint642147533133The id of item.
response.return.item.item_skustringUSBThe sku of item.
response.return.item.variation_skustringREDThe variation sku of item
response.return.order_snstring200203C6W0AR27Shopee's unique identifier for an order.
response.return.return_ship_due_datetimestamp1655438336The due date for buyer to ship order.
response.return.return_seller_due_datetimestamp1655438336The due date for seller to deal with this return when buyer have shipped order.
response.return.negotiation_statusstringPENDING_RESPONDCounter status. See "Data Definition - NegotiationStatus"
response.return.seller_proof_statusstringPENDINGProof status. See "Data Definition - SellerProofStatus"
response.return.seller_compensation_statusstringPENDING_REQUESTCompensation status. See "Data Definition - SellerCompensationStatus"
response.return.return_refund_typestringRRAOCTo indicate whether the return is RRBOC (Return/Refund request raised before Order Complete) or RRAOC (Return/Refund request raised after Order Complete).
response.return.return_solutionint320To indicate the most updated solution of the Return/Refund request (NOTE: this is not the solution during negotiation). Applicable value: - 0: Return and Refund; - 1: Refund Only
response.return.is_seller_arrangebooleanfalseTo indicate whether the return_sn is using the “Seller Arrange” return method. This would only be True for TW and BR.
response.return.is_shipping_proof_mandatorybooleanfalseTo indicate whether uploading shipping proof is mandatory for seller to confirm "Arrange Pickup" when is_seller_arrange = true.
response.return.return_refund_request_typeint320To indicate the type of return refund request, whether it is a Normal RR request, an In-transit RR request, and a Return on the Spot: 0: Normal RR (RR is raised by the buyer after delivery done / estimated delivery date); 1: In-transit RR (RR is raised by the buyer while item is still in-transit to buyer); 2: Return-on-the-Spot (RR is raised by the driver after buyer rejected parcel at delivery); For more details, see Data Definition- Return Refund Request Type.
response.return.validation_typestringseller_validationTo indicate whether seller or warehouse will expect to receive the return parcel from buyer and validate the condition of the parcel: - seller_validation; - warehouse_validation; For more details, see Data Definition- ValidationType.
response.return.is_arrived_at_warehouseint323[Only for validation_type = warehouse_validation] Indicates the parcel’s check-in status at the warehouse. This field helps sellers quickly determine whether the parcel has arrived at the warehouse or has been rejected.; Applicable values: 1: Pending Inbound; 2: Rejected; 3: Inbound; 4: Cancelled
response.return.follow_up_action_listobject[][Only for validation_type = warehouse_validation] Warehouse handling actions for each item in the parcel.
response.return.follow_up_action_list.item_idint642700126223Unique identifier of the item.
response.return.follow_up_action_list.model_idint642000458802Unique identifier of the model under the item.
response.return.follow_up_action_list.qtyint322Quantity of items or models under the same current status.
response.return.follow_up_action_list.current_statusint322Current status for the item/model within the warehouse.; Applicable values: 1:Dispose; 2:Return to Seller; 7:Received and Putaway; 8:Return to Buyer; 9:Shortage; Note: Since Resell is currently applicable only to Failed Delivery parcels, the following values will not be returned for now, and will be returned once Resell becomes applicable to Return Refund parcels in the future: 3:Putaway for Resell; 4:Resell Outbound; 5:Resell Failed; 6:Resell Exit
response.return.follow_up_action_list.related_order_sn_liststring[][]List of order_sn generated from the Resell process. Returned only when current_status = 4 (Resell Outbound).; Note: Since Resell is currently applicable only to Failed Delivery parcels, this field will remain empty for now, and valid values will be returned once Resell becomes applicable to Return Refund parcels in the future.
response.return.follow_up_action_list.resell_failed_next_stepstring""Next step after a Resell failure. Returned only when current_status = 5 (Resell Failed).; Note: Since Resell is currently applicable only to Failed Delivery parcels, this field will remain empty for now, and valid values will be returned once Resell becomes applicable to Return Refund parcels in the future.
response.return.is_partial_quantity_returnbooleantrueTo indicate whether the return includes items with partial quantities.
response.return.is_refund_amount_adjustedbooleantrueTo indicate whether the actual refund amount is less than the maximum allowable refund.
#

§5 Common parameters

Common parameters

NameTypeRequiredSampleDescription
partner_idint1Partner ID is assigned upon registration is successful. Required for all requests.
timestamptimestamp1610000000This is to indicate the timestamp of the request. Required for all requests. Expires in 5 minutes.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1The token for API access, using to identify your permission to the api. Valid for multiple use and expires in 4 hours.
shop_idint600000Shopee's unique identifier for a shop. Required param for most APIs.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2
#

§6 Request samples

Request samples

#

§7 Java

Java

Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/returns/get_return_list?access_token=access_token&create_time_from=1655392442&create_time_to=1655392542&negotiation_status=TERMINATED&page_no=1&page_size=10&partner_id=partner_id&seller_compensation_status=NOT_REQUIRED&seller_proof_status=PENDING&shop_id=shop_id&sign=sign&status=REQUESTED&timestamp=timestamp&update_time_from=1655392442&update_time_to=1655392542")
.asString();
#

§8 PHP

PHP

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://partner.shopeemobile.com/api/v2/returns/get_return_list?access_token=access_token&create_time_from=1655392442&create_time_to=1655392542&negotiation_status=TERMINATED&page_no=1&page_size=10&partner_id=partner_id&seller_compensation_status=NOT_REQUIRED&seller_proof_status=PENDING&shop_id=shop_id&sign=sign&status=REQUESTED&timestamp=timestamp&update_time_from=1655392442&update_time_to=1655392542',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
#

§9 cURL

cURL

curl --location --request GET 'https://partner.shopeemobile.com/api/v2/returns/get_return_list?access_token=access_token&create_time_from=1655392442&create_time_to=1655392542&negotiation_status=TERMINATED&page_no=1&page_size=10&partner_id=partner_id&seller_compensation_status=NOT_REQUIRED&seller_proof_status=PENDING&shop_id=shop_id&sign=sign&status=REQUESTED&timestamp=timestamp&update_time_from=1655392442&update_time_to=1655392542' 
#

§10 Python

Python

import requests

url = "https://partner.shopeemobile.com/api/v2/returns/get_return_list?access_token=access_token&create_time_from=1655392442&create_time_to=1655392542&negotiation_status=TERMINATED&page_no=1&page_size=10&partner_id=partner_id&seller_compensation_status=NOT_REQUIRED&seller_proof_status=PENDING&shop_id=shop_id&sign=sign&status=REQUESTED&timestamp=timestamp&update_time_from=1655392442&update_time_to=1655392542"

payload={}
headers = {

}
response = requests.RPCRequest("GET",url,headers=headers, data=payload, allow_redirects=False)

print(response.text)
#

§11 Response sample

Response sample

#

§12 JSON

JSON

{
	"request_id": "33e099960cdf420393ca5d5c35016f6d",
	"error": "-",
	"message": "-",
	"response": {
		"more": true,
		"return": [
			{
				"image": [
					"https://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826"
				],
				"reason": "PHYSICAL_DMG",
				"text_reason": "return reason",
				"return_sn": "200203171852695",
				"refund_amount": 1409,
				"currency": "SGD",
				"create_time": 1580721513,
				"update_time": 1580729377,
				"status": "CANCELLED",
				"due_date": 1580721513,
				"tracking_number": "RNSHS00177569",
				"dispute_reason": [
					"UNKNOWN"
				],
				"dispute_text_reason": [
					"reason"
				],
				"needs_logistics": true,
				"amount_before_discount": 1409,
				"user": {
					"username": "abcdefg",
					"email": "***********r1@shopee.com",
					"portrait": "https://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826"
				},
				"item": [
					{
						"model_id": 0,
						"name": "agsabdmnambd",
						"images": [
							"https://cf.shopee.sg/file/166f23cbfb31bd882f51cfe7f90d3826"
						],
						"amount": 1,
						"item_price": 1409.9,
						"is_add_on_deal": false,
						"is_main_item": false,
						"add_on_deal_id": 0,
						"item_id": 2147533133,
						"item_sku": "USB",
						"variation_sku": "RED"
					}
				],
				"order_sn": "200203C6W0AR27",
				"return_ship_due_date": 1655438336,
				"return_seller_due_date": 1655438336,
				"negotiation_status": "PENDING_RESPOND",
				"seller_proof_status": "PENDING",
				"seller_compensation_status": "PENDING_REQUEST",
				"return_refund_type": "RRAOC",
				"return_solution": 0,
				"is_seller_arrange": false,
				"is_shipping_proof_mandatory": false,
				"return_refund_request_type": 0,
				"validation_type": "seller_validation",
				"is_arrived_at_warehouse": 3,
				"follow_up_action_list": [
					{
						"item_id": 2700126223,
						"model_id": 2000458802,
						"qty": 2,
						"current_status": 2,
						"related_order_sn_list": [],
						"resell_failed_next_step": ""
					}
				]
			}
		]
	}
}
#

§13 Error example

Error example

#

§14 JSON

JSON

{
	"request_id": "369807d9111b2b3a70d4e838e827b048",
	"error": "error_auth",
	"message": "Invalid access_token."
}
#

§15 Errors

Errors

ErrorDescriptionSolution
error_bannedCore server error.
error_permCore server error.
error_paramCore server error.
error_paramCore server error.
error_paramCore server error.
error_limitCore server error.
error_deletedCore server error.
error_disabledCore server error.
error_paramCore server error.
error_exceptionCore server error.
error_existCore server error.
error_expireCore server error.
error_fraudCore server error.
error_limitCore server error.
error_permCore server error.
error_invitationCore server error.
error_paramCore server error.
error_paramCore server error.
error_lockedCore server error.
error_permCore server error.
error_need_voice_otpCore server error.
error_paramCore server error.
error_need_otpCore server error.
error_message_censoredCore server error.
error_networkCore server error.
error_not_existsCore server error.
error_not_loginCore server error.
error_out_stockmCore server error.
error_param_formatCore server error.
error_password_changeCore server error.
error_permCore server error.
error_paramCore server error.
error_paramCore server error.
error_paramCore server error.
error_paramCore server error.
error_limitCore server error.
error_unknownCore server error.
error_accountCore server error.
error_versionCore server error.
error_paramThe period between create_time_from and created_time_of must not more than 15 days.
error_paramThe create_time_to should be later than create_time_from.
error_perminvalid dispute_reason.
error_paramno partner_id
error_datalack of param
error_paramThe update_time_from must be after create_time_from.
error_permthere is invalid params.
error_dataSomething wrong. Please try later. [20]
error_networkInner http call failed
error_networkInner error, please try later. [4].
error_innerInner error, please try later. [0].
error_dataInner error, please try later. [5].
error_dataparse data failed
error_datadata not exist
error_paramparameter invalid
error_paramInner error, please try later. [1].
error_dataQuery offer info failed. Please try later.
error_dataQuery order info failed. Please try later.
error_dataQuery proof info failed. Please try later.
error_dataQuery return info failed. Please try later.
error_dataGet user info failed. Please try later.
error_perminvalid email : {email}.
error_paramReturn SN or ID is invalid.
error_paramThe information you queried is not found.
error_paramWrong parameters, detail: {msg}.
error_serverSomething wrong. Please try later.
error_shopshopid is invalid
error_paramrequest not from gateway
error_dataThe return you queried doesn't exist.
error_permissionYou don't have permission to view this return data.
error_permissionPlease link shop and partner on seller center.
error_paramThe update_time_from must be after create_time_from.
error_paramThe period between update_time_from and update_time_to must not more than 15 days.
error_paramThe update_time_to should be later than update_time_from.
error_paramThe period between update_time_from and update_time_to must not more than 15 days.
#

§16 Common errors

Common errors

ErrorDescriptionSolution
error_authpartner_id is invalid
error_authThe App is deleted, and you'll be unable to make any API call.
error_authApp developer’s permissions for authorizations have been restricted. If you’re a seller, contact the developer for more information. If you’re the developer, refer to the Open Platform Console for details.
error_paramThere is no partner_id in query.
error_paramInvalid partner_id.
error_paramno timestamp
error_paramInvalid timestamp
error_paramThere is no sign in query.
error_signWrong sign.
invalid_partner_idInvalid partner_id, please have a check.
error_authNo permission to current api.
error_api_call_restrictedThe App permission for api call have been restricted. If you’re a seller, contact the developer for more information. If you’re the developer, refer to the Open Platform Console for details.
api_suspendedThe API is offline. Please call v2 API instead.
error_limitThe total API call number made by your APP has reached the daily API call limit, please try again after 00: 00 (UTC+08:00)
error_rate_limitToo many requests. You have reached the rate limit. Please try again later.
source_ip_undeclaredRequest Source IP ({ip}) is undeclared. Please declare all your IP addresses in the Shopee Open Platform Console > App list > IP Address Whitelist
error_paramPermission denied. This API is currently offline or the request path is incorrect.
error_paramPartner_id is invalid, should be an integer between 0 and 4294967295.
error_paramno timestamp.
error_paramTimestamp is invalid, should be an integer between 0 and 4294967295.
error_paramTimestamp is expired.
error_partner_key_expiredYour API partner key has expired, please reset the Live API Partner Key in Console to get a new valid partner key to call open api.
error_api_permissionThis app type has no permission to this API.
error_paramThere is no access_token in query.
error_authInvalid access_token.
error_authInvalid partner_id or shopid.
shop_no_linkedPartner and shop has no linked.
shop_bannedThe shop account has been banned. Permissions for shop authorization and API calls have been suspended until the shop account is restored.
invalid_acceess_tokenInvalid access_token, please have a check.
partner_shop_no_linkInvalid partner_id or shop_id, please have a check.
error_ashop_api_permissionThe shop is Affiliate shop has no permission to call this API.
error_kyc_authNo permission. Please inform the seller to complete the Seller Registration on Shopee Seller Center first, then this shop can call for this API.
error_authSystem error, please try again later.
error_paramThere is no shop_id in query.
error_paramshop_id is invalid, should be an integer between 0 and 4294967295.
#

§17 Update log

Update log

DateChange
2026-08-31Add is_partial_quantity_return and is_refund_amount_adjusted
2025-12-19Add reassessed_request_reason response field
2025-11-28Add is_arrived_at_warehouse and follow_up_action_list response fields
2025-09-29Add return_refund_request_type and validation_type response fields
2025-09-19Add is_seller_arrange and is_shipping_proof_mandatory response fields
#