Chuyển tới nội dung chính

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

NameTypeSampleDescription
partner_idint1Partner 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.
timestamptimestamp1610000000Dù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_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token 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_idint600000Mã đị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.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Chữ 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

NameTypeRequiredSampleDescription
return_snstringTrueMã số của yêu cầu hoàn trả.
reverse_logistics_carrier_idint64TrueUnique ID of non-integrated reverse logistics channel used by seller.
reverse_logistics_carrier_namestringFalseNon-integrated reverse logistics channel name used by seller.
tracking_numberstringFalseTracking number used in seller arrange. Required when is_tracking_number_required = true in v2.returns.get_shipping_carrier.
image_id_listobject[]FalseList 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_idstringFalseUnique image_id.
remarksstringFalseOptional remarks

Tham số Response

NameTypeSampleDescription
errorstringIndicate error code if hit error. Empty if no error happened.
messagestringIndicate error details if hit error. If success, return success
request_idstring200203171852695Mã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobjectThông tin chi tiết bạn đang truy vấn. API này sẽ trả về null.