Register account.
object (ContactObject) Contact's information. | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
paymentToken | string Write-only payment token.
If this value is supplied, it converts into a payment instrument and set as the | ||||||||||||||||||||||||||||||
object (InstrumentReference) Default payment instrument information. | |||||||||||||||||||||||||||||||
customFields | object (ResourceCustomFields) Default: {} Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields. |
Account updated.
id | string <= 50 characters ID of the account. | ||||||||||||||||||||||||||||||||
websiteId | string <= 50 characters ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID. | ||||||||||||||||||||||||||||||||
username | string Username associated with the account. | ||||||||||||||||||||||||||||||||
object (ContactObject) Contact's information. | |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object (InstrumentReference) Default payment instrument information. | |||||||||||||||||||||||||||||||||
customFields | object (ResourceCustomFields) Default: {} Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields. | ||||||||||||||||||||||||||||||||
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. | ||||||||||||||||||||||||||||||||
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. | ||||||||||||||||||||||||||||||||
Array of objects (SelfLink) Related links. | |||||||||||||||||||||||||||||||||
object Embedded objects that are requested by the | |||||||||||||||||||||||||||||||||
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "primaryAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": "Rebilly",
- "address": "36 Craven St",
- "address2": "string",
- "city": "Austin",
- "region": "Texas",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "dob": "1980-04-01",
- "jobTitle": "CEO"
}, - "paymentToken": "string",
- "defaultPaymentInstrument": {
- "method": "payment-card",
- "paymentInstrumentId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "customFields": {
- "foo": "bar"
}
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "username": "string",
- "primaryAddress": {
- "firstName": "Benjamin",
- "lastName": "Franklin",
- "organization": "Rebilly",
- "address": "36 Craven St",
- "address2": "string",
- "city": "Austin",
- "region": "Texas",
- "country": "GB",
- "postalCode": "WC2N 5NF",
- "phoneNumbers": [
- {
- "label": "main",
- "value": "512-710-1640",
- "primary": true
}
], - "emails": [
- {
- "label": "main",
- "value": "rebilly@example.com",
- "primary": true
}
], - "dob": "1980-04-01",
- "jobTitle": "CEO",
- "hash": "056ae6d97c788b9e98b049ebafd7b229bf852221"
}, - "defaultPaymentInstrument": {
- "method": "payment-card",
- "paymentInstrumentId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "customFields": {
- "foo": "bar"
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "website": { }
}
}