Easyflow API Document
https://docs.easyflow.digital/_mock/openapi/
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/
- Mock server
https://docs.easyflow.digital/_mock/openapi/customers/list
- Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/customers/list
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.easyflow.digital/_mock/openapi/customers/list?email=string&documentNumber=string&createdAt%5BstartsAt%5D=string&createdAt%5BendsAt%5D=string&updatedAt%5BstartsAt%5D=string&updatedAt%5BendsAt%5D=string&page=string&limit=string' \
-H 'business-id: string' \
-H 'x-api-key: string' \
-H 'x-api-secret: string'{ "statusCode": 200, "data": { "docs": [ … ], "limit": 0, "currentPage": 0, "hasNext": true, "nextPage": 0, "totalDocs": 0, "totalPages": 0 } }
- Mock server
https://docs.easyflow.digital/_mock/openapi/customers/{customerId}
- Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/customers/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.easyflow.digital/_mock/openapi/customers/{customerId}' \
-H 'x-api-key: string' \
-H 'x-api-secret: string'{ "statusCode": 200, "data": { "customer": { … } } }
- Mock server
https://docs.easyflow.digital/_mock/openapi/customers/remove/{customerId}
- Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/customers/remove/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.easyflow.digital/_mock/openapi/customers/remove/{customerId}' \
-H 'x-api-key: string' \
-H 'x-api-secret: string'{ "statusCode": 200, "data": { "deleted": true } }
- Mock server
https://docs.easyflow.digital/_mock/openapi/customers
- Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/customers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.easyflow.digital/_mock/openapi/customers \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"businessId": "string",
"name": "string",
"email": "string",
"address": {
"zipCode": "string",
"street": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"number": "string"
},
"deliveryAddress": {
"zipCode": "string",
"street": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"number": "string"
},
"document": {
"type": "string",
"number": "string"
},
"phone": {
"areaCode": "string",
"ddd": "string",
"number": "string",
"isMobile": true
}
}'{ "statusCode": 200, "data": { "customer": { … } } }
- Mock server
https://docs.easyflow.digital/_mock/openapi/customers/update/{customerId}
- Production environment URL
https://9iq81tsdy4.execute-api.sa-east-1.amazonaws.com/customers/update/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.easyflow.digital/_mock/openapi/customers/update/{customerId}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: string' \
-H 'x-api-secret: string' \
-d '{
"name": "string",
"address": {
"zipCode": "string",
"street": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"number": "string"
},
"deliveryAddress": {
"zipCode": "string",
"street": "string",
"complement": "string",
"neighborhood": "string",
"city": "string",
"state": "string",
"number": "string"
},
"document": {
"type": "string",
"number": "string"
},
"phone": {
"areaCode": "string",
"ddd": "string",
"number": "string",
"isMobile": true
}
}'{}