/
Customer

Customer

API documentation: https://external-api.seamless.insure/customer/documentation/

 

  1. Create a customer

  • Header:

Content-Type: application/json

Authorization: Bearer {{accessToken}}

  • Postman example (please see it on the attachments):

Create a new customer

 

 

  1. 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

 

 

  1. 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):

 

 

  1. Search customers

  • 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):

 

 

  1. Get customers

  • 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):

 

 

  1. 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

Seamless Help Center