查询订阅合同详情
GET https://{handle}.myshopline.com/admin/openapi/v20250601/subscription/:id/contract.json
handle
:店铺的唯一标识符,值为店铺域名的前缀。例如,域名为 open001.myshopline.com
的店铺,其 handle
是 open001
。查询订阅合同详情
路径参数
- id string required合同单号
请求头
- Content-Type required字段值固定为
application/json; charset=utf-8
- Authorization string required资源的访问令牌。请参考 应用授权 获取访问令牌,然后将获取到的访问令牌以 Bearer 格式传入Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
响应
- 200
- 401
- 429
更多状态码信息请参考 HTTP 状态码
响应头
traceId
traceId
响应体
subscription_contractobject
订阅合同信息详情appobject
订阅插件信息app_key stringapp插件的keybilling_policyobject
订阅协议计费策略interval string间隔单位, (DAY,MONTH,WEEK,YEAR)interval_count integer间隔值max_cycles integer最大的订阅周期min_cycles integer最小的订阅周期created_at string创建时间, 2019-09-07T15:50:00Zcurrency_code string店铺币种customerobject
用户信息email string用户邮件id string用户id, buyerIdnick_name string用户昵称phone string用户电话shipping_addressobject
收货地址address1 string收货人详细地址address2 string收货人详细地址附加city string收货人市city_code string收货人市codecompany string公司名称country string国家或者地区country_code string国家或地区,请参考国家代码规范传参,https://aurogon-portal.yy.com/document/interface/478district string收货人区district_code string收货人区codefirst_name string收货人名last_name string收货人姓phone string收货人联系方式province string收货人省份province_code string收货人省份codezip string邮编customer_payment_methodobject
付款方式channel_code string支付渠道编码instrument_detailobject
支付工具详情accountobject
帐户信息name string帐户号cardobject
卡号信息brand string卡品牌brand_icon string卡图标expire_month string有效期:月expire_year string有效期:年first string卡号前置展示位holder string持卡人姓名last string卡号后置展示位type string类型 card / account. card: 卡基;account: 账基instrument_seq string支付工具IDmethod_code string支付方式编码store_payment_id string支付方式IDdelivery_infoobject
运送信息delivery_name string方案名称delivery_seq string运费方案的seqid string合同单号last_payment_status string上一次付款状态line_itemsobject[]
关联的商品amount string商品的金额(两位精度的字符串,如"88.10")amount_setobject
商品的金额,多币种格式presentment_moneyobject
presentment moneyamount string金额currency_code string币种shop_moneyobject
shop moneyamount string金额currency_code string币种attributesobject[]
商品属性:名称,属性值key string属性key或者namevalue string属性值group_id string商品组idimage_url string商品主图pricing_policyobject[]
订阅周期折扣cycle_discountsobject[]
订阅行的每个周期的调整adjustment_type string优惠类型, FIXED_AMOUNT: 减额,PERCENTAGE: 折扣(减去百分比)adjustment_value long优惠值 扣减金额(分)或万分比product_source string商品来源 main_site主站商品、customize自定义商品quantity integer商品数量sku string货号title string商品标题variant_attribute string商品属性variant_id string商品sku序列号version string商品版本next_billing_date string下一个账单日期origin_orderobject
原始订单信息id string订单号periods integer当前合同已执行的期数status string订阅合同状态updated_at string更新时间, 2019-09-07T15:50:00Z
API Explorer
调试台
这篇文章对你有帮助吗?
Error loading component.