Update Customer ChainVipLevel [PUT]

Update Customer ChainVipLevel [PUT]

Operation

Updates a customer.

PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/customer/{customerId}/VIPLevel


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

customerIdIntegertruepath parameter
The customer to be updated

Example request

PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/customer/508/VIPLevel


Body

The body that will be sent in the operation


FieldTypeRequiredDescription
idinttrueId of the ChainVIPLevel
chainIdinttrueChain Id of the ChainVIPLevel
codestringtrueCode of the ChainVIPLevel
namestringtrueName of the ChainVIPLevel
colorCodestringtrueColor code of the ChainVIPLevel
remarkstringtrueRemark of the ChainVIPLevelGroup
activebooleantrueStatus of the ChainVIPLevelGroup
createdDateLocalDateTimetrueCreation Date of the ChainVIPLevelGroup
modifiedDateLocalDateTimetrueModified Date of the ChainVIPLevelGroup

Body

The body that will be sent in the operation

{
  "id": 1,
  "code": "AG"
}

Response

PropertyTypeRequiredDescription
ResponseApiMessageResponseApiMessagetrueDescription of the response of the success operation

Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success VIP Level customer updated",
  "errorCode": "0",
  "id": 1321
}

Related content