Subscriptions
Search Subscriptions
Endpoint to find Subscriptions using filtering parameters.
get/business/v2/subscriptions
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopessubscription_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
textstring
A simple text to search in the Subscription data (name, description, assignee name).
Example:something
assigneesstring[]
The Subscription assignees.
[ "776f5018-07e5-426b-a426-8b23fa1e985d" ]
statusesSubscription Status[]
The Subscription status.
pinteger
It indicates the specific page to display (the counter starts from zero).
Example:3
sinteger
It indicates the number of items per page.
Example:25
d'ASC' | 'DESC'
It indicates how the pages are ordered.
Example:DESC
propsstring[]
It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the props parameter in the request.
[ "creationTime" ]
Response
The returned result is an array containing Subscriptions.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "EXAMPLE SUBSCRIPTION.",
"description": "This is a subscription",
"assignees": [
"XMPL1234-000001",
"XMPL1234-000002",
"XMPL1234-000003"
],
"wallet_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"last_spent": 75.01,
"total_spent": 775.01,
"card_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"last_spent_date": "2020-05-07T12:48:40Z",
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z"
}
]
}Changes
No recorded changes to this operation across all 10 revisions of this API.