Creates or updates account registration settings with a specified ID.
Account registration settings resource.
ID of the account registration settings. If not provided, the ID is generated from the name.
Name of the account registration settings.
Description of the account registration settings.
List of locations that the account registration settings apply to. Each location consists of a country and an optional region.
[ { "country": "CA", "region": "ON" }, { "country": "GB" } ]
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/account-registration-settings/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/account-registration-settings/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/account-registration-settings/{id}
- SecretApiKey
- JWT
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/account-registration-settings/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"id": "eu-registration",
"name": "EU Registration Requirements",
"description": "Account registration settings for EU customers",
"isEnabled": true,
"locations": [
{
"country": "CA",
"region": "ON"
},
{
"country": "GB"
}
],
"fields": [
{
"attribute": "email",
"displayName": "Email Address",
"requirementLevel": "required",
"validationType": "email",
"validationPattern": "string",
"minLength": 1,
"maxLength": 255,
"helpText": "Enter your email address",
"minimumAge": 19,
"inputType": "text",
"placeholder": "Enter your email address",
"contentBlock": "For problem gaming assistance call 1-111-111-1111.",
"order": 0,
"step": {
"id": "step-0",
"displayHeader": "Contact information"
}
}
]
}'Account registration settings updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the account registration settings. If not provided, the ID is generated from the name.
Name of the account registration settings.
Description of the account registration settings.
List of locations that the account registration settings apply to. Each location consists of a country and an optional region.
[ { "country": "CA", "region": "ON" }, { "country": "GB" } ]
List of registration fields that define the registration form.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
{ "id": "eu-registration", "name": "EU Registration Requirements", "description": "Account registration settings for EU customers", "isEnabled": true, "locations": [ { … }, { … } ], "fields": [ { … } ], "realm": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }