Easyflow API Document
Download OpenAPI description
Languages
Servers
Mock server
https://docs.easyflow.digital/_mock/openapi/
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/
- Mock server
https://docs.easyflow.digital/_mock/openapi/subscriptions/filter
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/subscriptions/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.easyflow.digital/_mock/openapi/subscriptions/filter?page=string&limit=string' \
-H 'Content-Type: application/json' \
-H 'business-id: string' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"email": "string",
"name": "string",
"initialDate": "string",
"endDate": "string",
"status": "string",
"initialValue": 0,
"endValue": 0,
"type": "string",
"productIds": [
"string"
],
"field": "string",
"orderBy": {
"orderByField": "string",
"orderDirection": "string"
}
}'
Response
application/json
{ "statusCode": 200, "data": { "docs": [ … ], "limit": 0, "currentPage": 0, "nextPage": 0, "totalPages": 0, "totalDocs": 0, "hasNext": true } }
- Mock server
https://docs.easyflow.digital/_mock/openapi/subscriptions/{subscriptionId}
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/subscriptions/{subscriptionId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.easyflow.digital/_mock/openapi/subscriptions/{subscriptionId}' \
-H 'x-api-key: string' \
-H 'x-api-secret: string'
Response
application/json
{ "statusCode": 200, "data": { "id": "string", "name": "string", "subscribedAt": "string", "periodicity": "string", "numberRecurrences": 0, "status": "string", "subscriptionPaymentStatus": "string", "customer": { … }, "orderItem": { … }, "recurrenceValueInCents": 0, "expiration": "string", "paymentMethod": "string", "creditCard": { … }, "repeatIndefinitely": true, "customValue": { … }, "recurrences": [ … ] } }