Customer
API documentation: https://external-api.seamless.insure/customer/documentation/
Create a customer
URL: https://external-api.seamless.insure/customer/api/v2/customers
Method: POST
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
Create a new customer
|
Update a customer
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Body: (please see it on the Postman example)
Postman example (please see it on the attachments):
Update a customer
|
Get one customer
(We can replace {{customerId}} with Id of customer on Seamless)
Method: GET
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
|
Search customers
URL: https://external-api.seamless.insure/search/api/v1/customers/search
Method: POST
Request Body:
"Page": 1,
"ItemsPerPage": 10,
"Criteria": {
"Profile": [],
"SSN": null,
"FullName": null,
"Type": null // "pl" or "cl",
...
}
*Note: Type is "pl" or "cl"
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
|
Get customers
Method: GET
Request Params:
page: 1
itemsPerPage: 10
order: {"createdAt":"ASC"}
externalReference: 12345abc
Note: that value is example, we can modify it, order directions: ASC or DESC
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
|
Delete a customer
(We can replace {{customerId}} with Id of customer on Seamless)
Method: DELETE
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
|
Related content
If you would like to request an article, drop us a mail at seamless.support@seamless.insure