Customers

Update multiple customers

patch/customers

Request

  • Base URL
    https://api.surense.com/api/v1
  • URL
    https://api.surense.com/api/v1/customers
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.surense.com/oauth/token scopes: customers:update

Request body

customersstring[] required

List of customer IDs to update

updateRelatedboolean

Whether to update related customers

statusIdstring

Customer status ID

classIdstring

Customer class ID

sourceIdstring

Customer source ID

Example request

{
  "customers": [
    "123e4567-e89b-12d3-a456-426614174000",
    "987fcdeb-51a2-43d1-b456-426614174000"
  ],
  "updateRelated": true,
  "statusId": "123e4567-e89b-12d3-a456-426614174000",
  "classId": "123e4567-e89b-12d3-a456-426614174000",
  "sourceId": "123e4567-e89b-12d3-a456-426614174000"
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.