v2.returns.upload_shipping_proof
POST /api/v2/returns/upload_shipping_proof
Use this API to upload shipping proof (Only for TW and BR returns with is_seller_arrange = true). This is not to upload evidence for disputes.
Đường dẫn Endpoint
URL: https://partner.shopeemobile.com/api/v2/returns/upload_shipping_proof
Tham số chung
| Name | Type | Sample | Description |
|---|---|---|---|
| partner_id | int | 1 | Partner ID được gán khi đăng ký thành công. Bắt buộc cho tất cả các yêu cầu. |
| timestamp | timestamp | 1610000000 | Dùng để chỉ định thời điểm gửi yêu cầu. Bắt buộc cho tất cả các yêu cầu. Hết hạn sau 5 phút. |
| access_token | string | c09222e3fc40ffb25fc947f738b1abf1 | Token dùng để truy cập API, xác định quyền của bạn. Có thể dùng nhiều lần và hết hạn sau 4 giờ. |
| shop_id | int | 600000 | Mã định danh duy nhất của Shopee cho một cửa hàng. Tham số bắt buộc cho hầu hết các API. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Chữ ký được tạo từ partner_id, đường dẫn api, timestamp, access_token, shop_id và partner_key qua thuật toán HMAC-SHA256. Chi tiết: https://open.shopee.com/documents?module=87&type=2&id=58&version=2 |
Tham số Request
| Name | Type | Required | Sample | Description |
|---|---|---|---|---|
| return_sn | string | True | Mã số của yêu cầu hoàn trả. | |
| reverse_logistics_carrier_id | int64 | True | Unique ID of non-integrated reverse logistics channel used by seller. | |
| reverse_logistics_carrier_name | string | False | Non-integrated reverse logistics channel name used by seller. | |
| tracking_number | string | False | Tracking number used in seller arrange. Required when is_tracking_number_required = true in v2.returns.get_shipping_carrier. | |
| image_id_list | object[] | False | List of image_id of shipping proof image. Required when is_shipping_image_file_mandatory = true in v2.returns.get_shipping_carrier. Max: 3. You can call the v2.media.upload_image to upload image and get the image_id, for this scenario, please pass the business = 2 and scene = 1. | |
| image_id | string | False | Unique image_id. | |
| remarks | string | False | Optional remarks |
Tham số Response
| Name | Type | Sample | Description |
|---|---|---|---|
| error | string | Indicate error code if hit error. Empty if no error happened. | |
| message | string | Indicate error details if hit error. If success, return success | |
| request_id | string | 200203171852695 | Mã định danh của yêu cầu API dùng để theo dõi lỗi. |
| response | object | Thông tin chi tiết bạn đang truy vấn. API này sẽ trả về null. |