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):
Update a customer
URL:
https://external-api.seamless.insure/customer/api/v2/customers/{{customerId}}
Method: PUT
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Body: (please see it on the Postman example)
Postman example (please see it on the attachments):
Get one customer
URL:
https://external-api.seamless.insure/customer/api/v2/customers/{{customerId}}
(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
URL:
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):
Picture 5. Get customer list
Delete a customer
URL:
https://external-api.seamless.insure/customer/api/v2/customers/{{customerId}}
(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):
Credit checks for consumer (personal customer)
URL:
https://external-api.seamless.insure/connector-api/api/credit/consumer/{{ssn}}
(We can replace {{ssn}} with SSN (Org. No) of customer on Seamless)
Params:
forceNew=true: always call credit API to check
forceNew=false (or undefined):
+ If this customer hasn’t been previously checked, API will proceed a call to CREDITSAFE.
+ If this customer has been previously checked, API will proceed a call to CREDITSAFE if and only if the period is expired.
Method: POST
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):
Credit checks for company
URL:
https://external-api.seamless.insure/connector-api/api/credit/company/{{ssn}}
(We can replace {{ssn}} with SSN (Org. No) of customer on Seamless)
Method: POST
Header:
Content-Type: application/json
Authorization: Bearer {{accessToken}}
Postman example (please see it on the attachments):