查询退货的履约单
GET https://{handle}.myshopline.com/admin/openapi/v20260301/return_fulfillment.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handle 是 open001 。查询退货履约单
查询参数
- return_id string退货单ID
请求头
- Content-Type string required字段值固定为
application/json; charset=utf-8。 - Authorization string required资源的访问令牌。参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入。Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
状态码
- 200
- 401
- 429
更多状态码信息,参考 HTTP 状态码。
响应头
traceId
请求的全局唯一标识符。用于追踪请求在系统中的流转,以便于问题发生时进行定位和调试。
响应体
order_return_fulfillment_listobject[]
退货履约单status string退货履约单状态Example:OPENthird_party_confirmation string第三方物流承运商确认结果Example:successid string唯一业务标识Example:2605860580357012238342order_id string关联的订单编号Example:21058605762597644309430942return_id string关联的退货单编号Example:SL201AS4571636204541382726reverse_fulfillment_order_line_itemsobject[]
退货商品行信息return_reason string商品行的退货原因: COLOR 颜色问题 DEFECTIVE 商品损坏或有缺陷 NOT_AS_DESCRIBED 商品与描述不符 OTHER 其他原因 SIZE_TOO_LARGE 尺寸太大 SIZE_TOO_SMALL 尺寸太小 STYLE 款式问题 UNWANTED 客户改变了主意 WRONG_ITEM 收到了错误的商品Example:NOT_AS_DESCRIBEDreturn_reason_note string商品行退货原因详细信息备注,最大支持128字符Example:Product does not match the descriptiontotal_quantity integer退货履约单退货数量Example:1fulfillable_quantity integer可退货履约单退货数量Example:1fulfillment_line_itemobject
发货单商品行详细信息节点line_itemobject
发货单关联的商品行信息title stringspu商品标题Example:这是个好商品quantity integer商品数量Example:1grams double商品重量(克)Example:1variant_title string商品属性值, 多个以" / "分割Example:L/Redpropertiesobject[]
商品定制信息type string定制信息类型:text、picture、link 1)当type为text时,取name和value; 2)当type为picture时,展示类型取name,同时取urls获取商品的详情缩略图 3)当type为link时,支持点击urls获取详情Example:texturls array地址链接信息Example:["https://image.shopline.com"]value string定制信息内容Example:自由name string定制信息对象Example:文字gift_card boolean是否为礼品卡商品:false、trueExample:trueimage_url string商品图片链接urlExample:https://image.shopline.com/abc.jpgname stringsku标题,同titleExample:这是个好商品tags string商品标签,当存在多个时用逗号分隔Example:salesattribute string商品属性信息:名称 - 属性值, 多个属性值时以逗号Example:颜色 - 红色, 尺寸 - Xvendor string商品供应商Example:product supplierfulfillment_service string物流商名称Example:顺丰国际requires_shipping boolean商 品是否需要发货:false、trueExample:trueid string商品行idExample:405fulfillable_quantity integer剩余需要履约的商品数量Example:1taxable boolean商品是否含税:false、trueExample:truevariant_id string商品sku序列号Example:18056898121355865678441487fulfillment_status string商品行发货状态: fulfilled-已发货; partial-部分发货; null-未发货Example:fulfilledproduct_id stringspu序列号,商品唯一识别号Example:16056898121352174690861487sku string商户自定义编号Example:SKU1234price string商品售价,商品详情页销售价格Example:100.0quantity integer发货单数量id string退货履约单商品行号Example:RDP5860580372212396041
API Explorer
调试台
这篇文章对你有帮助吗?