取消订单归档
PUT https://{handle}.myshopline.com/admin/openapi/v20261201/orders/:id/cancel_hide_mark.json
handle :店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com 的店铺,其 handle 是 open001 。取消归档订单v1
路径参数
- id string required订单号例子:
21050342939778451436179579
请求头
- Content-Type string required字段值固定为
application/json; charset=utf-8。 - Authorization string required资源的访问令牌。参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入。例子:
Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6MCwiYXBwS2V5IjoiNzU2ZjI1NWE2NjdlZTcwNTk1MzM0ZjVjYzk4NzU5MzBmN2E3NGZjMSIsImV4cCI6MTg3OTQ4MjA3NiwiaXNzIjoieXNvdWwiLCJzZWxsZXJJZCI6IjIwMDAyMzQ4ODAiLCJzdG9yZUlkIjoiMTY3MjM2OTcyOTYwNiIsInRpbWVzdGFtcCI6MTc4NDc4NzY3NjY2MSwidmVyc2lvbiI6IlYyIn0.3ZzbGAH4cLU1QR2VPEvMOQInUDvus-C4amkINSQIPuNVlXsFKj0sAt1c0KnUy9MWUOFV9cHlkf7J90r2y1FzpA
状态码
- 200
- 401
- 429
更多状态码信息,参考 HTTP 状态码。
响应头
traceId
请求的全局唯一标识符。用于追踪请求在系统中的流转,以便于问题发生时进行定位和调试。
响应体
orderobject
订单信息,字段描述、示例请参考订单列表响应结果total_tax_setobject
税费总和,多币种信息shop_moneyobject
卖家侧金额信息amount string金额,精度2例子:8.00currency_code string币种例子:USDpresentment_moneyobject
买家侧金额信息amount string金额,精度2例子:8.00currency_code string币种例子:USDcustomer_locale string买家国家,语种编码+国家名称缩写例子:enCNtotal_tip_received string小费,精度2例子:8.00shipping_addressobject
收货地址first_name string姓例子:Tomlast_name string名例子:Washingtonlongitude string经度例子:41country_code string国家码例子:USaddress2 string详细地址2,备选例子:地址2zip string邮编例子:92503latitude string纬度例子:15province string省份例子:加利福尼亚州address1 string地址1例子:地址1city string城市例子:纽约country string国家例子:美国name string全名例子:Tom Washingtoncompany string公司名称例子:新公司名province_code string省份码例子:4200006phone string电话例子:1320987655presentment_currency string买家侧币种,同卖家侧币种例子:USDcurrent_total_discounts string折扣总和,精度2,营销优惠+人工折扣例子:3.25total_line_items_price string商品原价总和,精度2例子:8.00store_id string店铺id例子:1644828244663subtotal_price string商品折后价总和, 商品总价 - 营销优惠 - 人工折扣例子:3.25line_itemsobject[]
订单商品快照 信息fulfillment_status string商品的发货状态, 发货状态, fulfilled-已发货; partial-部分发货; null-未发货;例子:fulfilledpropertiesobject[]
商品定制信息type string属性类型, text-字符,展示格式为 name: value; picture-图片,展示类型为 name: 通过urls获取渲染出缩略图;link-超链,展示类型为 name: value,支持点击链接跳转 到urls第一个例子:texturls arrayurl 资源列表例子:["https://www.url.com"]value string自定义属性值例子:属性值additional string定制商品附加字段例子:附加字段name string自定义属性名称例子:属性名称product_id stringspu序列号例子:16056761559984840457934011tax_linesobject[]
税费信息type string税费用类型,用于区分是商品税还是运费税,枚举值如下 product_tax:商品税 shipping_tax:运费税例子:shipping_taxprice string税费,精度2例子:3.25price_setobject
税费多币种信息presentment_moneyobject
买家侧币种amount string金额例子:3.25currency_code string币种例子:USDshop_moneyobject
卖家侧币种amount string金额