v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBProductSubscriptions
Get a list of product subscriptions
Retrieve information of multiple product subscriptions<br>抓取多筆定期購的信息
get/product_subscriptions
Query parameters
per_pageinteger
Numbers of Products per page<br>每頁顯示 n 筆資料
pageinteger
Page Number<br>頁數
previous_idstring
Previous ID<br>上一頁的ID
idstring
Only show specific products based on IDs<br>結果只顯示哪些商品
Response
OK
Example response
{
"items": [
{
"id": "5b2b64bd8d1db91156002687",
"recurring_count": 1,
"duration": 1,
"next_billing_at": "2019-09-26T09:56:16.803+00:00",
"customer_id": "5b2b64bd8d1db91156002688",
"customer_name": "郭美玉",
"customer_email": "testing@shopline.com",
"product_name": {
"en": "Sl Watch",
"zh-hant": "Sl 手錶"
},
"initial_billing_at": "2019-09-26T09:56:16.803+00:00",
"created_at": "2019-09-26T09:56:16.803+00:00",
"updated_at": "2019-09-26T09:56:16.803+00:00",
"enable_apply_user_credits": true
}
],
"pagination": {
"current_page": 1,
"per_page": 24,
"total_count": 1,
"total_pages": 1
}
}