Update customer's data
Changed onUse /customers/:customerId endpoint to update customer's data like firstName, lastName or email.
Request
- Base URLhttps://mediastoreapi-sandbox.cleeng.com
- URLhttps://mediastoreapi-sandbox.cleeng.com/customers/{customerId}
- AuthAPI key in header Authorization
Path parameters
Customer identifier at Cleeng
Request body
Response
200
Example response
{
"responseData": {
"id": 338816933,
"email": "user@example.com",
"firstName": "Username",
"lastName": "Lastname",
"country": "PL",
"locale": "pl_PL",
"regDate": "2020-02-12 15:18:56",
"lastLoginDate": "2020-04-14 11:25:22",
"lastUserIp": "213.156.120.102",
"externalId": "1111",
"externalData": {
"ghostUser": true
}
}
}Changes
- breaking
added the new required request property
- warning
deleted the
headerrequest parameterContent-Type - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
update-customerremoved and replaced withupdate-customers-data - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking