Updates user profile.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/profile
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/profile
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/profile
curl -i -X PUT \
https://www.rebilly.com/_mock/catalog/all/profile \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
"preferences": {}
}'Profile updated.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the user.
Permissions that the user has within organizations. Use the wildcard character * for full access.
[ "PostFile", "StorefrontGetAccount", "StorefrontGetWebsite", "StorefrontGetKycDocument", "StorefrontPostKycDocument" ]
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.
Array of reporting currencies that are enabled for the merchant.
User's currency code in ISO 4217 format. This value is used for reports.
User's country of residence in ISO 3166 alpha-2 country code. For examples, see ISO.org.
User preferences, such as: timezone, language, and more. This is an object with custom properties.
Specifies if the current user session has permissions emulation enabled.
Specifies whether the current organization must have a payment card on file before it can transact in the live environment.
Specifies whether the current organization has an active payment card on file.
Session token used to manage the payment method on file for a Rebilly subscription. This value is returned only to organization owners.
Treat as a secret. Do not log, do not expose in URLs, do not store in shared client storage.
Details of the oldest past-due invoice for the Rebilly subscription associated with the current organization. This value is returned to all organization members to support consistent enforcement of the billing gate. The token is returned only to organization owners.
{ "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21", "email": "user@example.com", "firstName": "string", "lastName": "string", "businessPhone": "string", "mobilePhone": "string", "permissions": [ "PostFile", "StorefrontGetAccount", "StorefrontGetWebsite", "StorefrontGetKycDocument", "StorefrontPostKycDocument" ], "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "availableCurrencies": [ "string" ], "reportingCurrency": "string", "loginTime": "2019-08-24T14:15:22Z", "status": "active", "country": "string", "preferences": {}, "hasPermissionsEmulation": true, "displayName": "string", "hash": "string", "requiresCardOnFile": false, "hasCardOnFile": false, "billingManagementToken": "pa$$word", "pastDueInvoice": { "invoiceId": "string", "websiteId": "string", "token": "pa$$word" }, "_links": [ { … } ] }