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