Skip to navigation

Update customer

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

customerintegerRequired>=1

Request

This endpoint expects an object.
namestringOptional<=255 characters
document_typeenum or nullOptional
Allowed values:
document_numberstring or nullOptional<=50 characters
emailstring or nullOptionalformat: "email"<=255 characters
phonestring or nullOptional<=30 characters
addressstring or nullOptional<=255 characters
is_activebooleanOptional

Response

Customer updated successfully.
idinteger
namestring
document_typeenum or null
Allowed values:
document_numberstring or null
emailstring or nullformat: "email"
phonestring or null
addressstring or null
is_activeboolean
created_atdatetime

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error