Update datacode by codeId
1 min
PUT
https://api.b.preview.loyaltyservices.io/api/v3/data-codes/{codeId}
codeIdinteger<int64>Data code identifier
acceptstringGenerated from available response content types
bodyobject
200Success
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request PUT \
--url https://api.b.preview.loyaltyservices.io/api/v3/data-codes/{codeId} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"type": "AccrualType",
"code": "B",
"description": "Base"
}'