Update a customer's EDD score

Updates an EDD score for a customer with a specified ID.

SecurityAPI Key: SecretApiKey or HTTP: JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

Request Body schema: application/json
required
object

Customer's EDD score.

patch
/customers/{id}/edd-score
Request samples
application/json
{ "score": { "occupation": "not-found", "arrest": "not-found", "bankruptcy": "not-found", "fraud": "not-found" } }
Responses

200

EDD score updated.

Response Schema: application/json
object
object
nextUpdateTime
string or null <date-time>

Date and time in ISO 8601 format when the EDD score is updated.

createdTime
string <date-time> (CreatedTime)

Date and time which is set automatically when the resource is created.

updatedTime
string <date-time> (UpdatedTime)

Date and time which updates automatically when the resource is updated.

Array of objects

Related links.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

422

Invalid data sent.

Response samples
application/json
{ "parsedScore": { "occupation": "not-found", "arrest": "not-found", "bankruptcy": "not-found", "fraud": "not-found", }, "score": { "occupation": "not-found", "arrest": "not-found", "bankruptcy": "not-found", "fraud": "not-found" }, "nextUpdateTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ ] }