List subscriptions
Retrieve a paginated list of subscriptions with optional filtering and searching.
Authorization
applicationPassword AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Query Parameters
page?integer
Page number
Default
1per_page?integer
Number of results per page
Default
10search?string
Search subscriptions
Response Body
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/subscriptions"{
"data": {
"current_page": 0,
"data": [
{
"id": 0,
"parent_id": 0,
"customer_id": 0,
"status": "active",
"payment_method": "string",
"vendor_subscription_id": "string",
"billing_interval": "weekly",
"bill_times": 0,
"recurring_amount": 0,
"trial_days": 0,
"initial_amount": 0,
"currency": "string",
"uuid": "string",
"next_billing_date": "2019-08-24T14:15:22Z",
"expiry_date": "2019-08-24T14:15:22Z",
"activated_at": "2019-08-24T14:15:22Z",
"canceled_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"first_page_url": "string",
"from": 0,
"last_page": 0,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 0,
"prev_page_url": "string",
"to": 0,
"total": 0
}
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}