Merged customer webhook request body resource.
targetCustomerId | string <= 50 characters ID of the customer that contains the merged data. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eventType | string Type of webhook event. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (Customer) Customer information. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Customer object. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Related links. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Returns any 2xx status to indicate that the data received.
{- "targetCustomerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "eventType": "customer-merged",
- "duplicatedCustomer": {
- "id": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "email": "user@example.com",
- "firstName": "string",
- "lastName": "string",
- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "defaultPaymentInstrument": {
- "method": "payment-card",
- "paymentInstrumentId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "customFields": {
- "foo": "bar"
}, - "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"
}, - "averageValue": {
- "currency": "USD",
- "amount": 0,
- "amountUsd": 0
}, - "paymentCount": 0,
- "lastPaymentTime": "2019-08-24T14:15:22Z",
- "lifetimeRevenue": {
- "currency": "USD",
- "amount": 0,
- "amountUsd": 0
}, - "invoiceCount": 0,
- "tags": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "New",
- "type": "customer",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
], - "revision": 0,
- "isEddRequired": false,
- "hasFulfilledKyc": true,
- "organizationId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "leadSource": { }
}
}, - "_embedded": {
- "targetCustomer": {
- "id": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "email": "user@example.com",
- "firstName": "string",
- "lastName": "string",
- "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG",
- "defaultPaymentInstrument": {
- "method": "payment-card",
- "paymentInstrumentId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21"
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "customFields": {
- "foo": "bar"
}, - "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"
}, - "averageValue": {
- "currency": "USD",
- "amount": 0,
- "amountUsd": 0
}, - "paymentCount": 0,
- "lastPaymentTime": "2019-08-24T14:15:22Z",
- "lifetimeRevenue": {
- "currency": "USD",
- "amount": 0,
- "amountUsd": 0
}, - "invoiceCount": 0,
- "tags": [
- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "New",
- "type": "customer",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
], - "revision": 0,
- "isEddRequired": false,
- "hasFulfilledKyc": true,
- "organizationId": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
], - "_embedded": {
- "leadSource": { }
}
}
}, - "_links": [
- {
- "href": "string",
- "rel": "customer"
}
]
}