[Seamless Help Center]

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

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

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

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

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

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

  1. Get customers

  • URL:

https://external-api.seamless.insure/customer/api/v2/customers?page=1&itemsPerPage=10&order={"createdAt":"ASC"}&externalReference=12345abc

  • 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

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

  • No labels