Various actions for updating a customer delegate such as linking to a new customer.
required | object (LinkCustomerToDelegate1) Link this customer delegate with the given merchant customer. Payment sources saved against a delegate will be available when signing in on behalf of any customers the delegate is linked to. |
{- "LinkCustomerToDelegate": {
- "customerId": "cust_aAZ-P4d-_0MUyut9"
}
}
{- "customerDelegateId": "custd_aAZ-Q4d-_0MUyuuY",
- "delegateEmailAddress": "lucy.diamond@star.com",
- "delegatePhoneNumber": "+61401234567",
- "delegateName": "string",
- "linkedCustomers": [
- {
- "ConsumerCustomer": {
- "customerId": "cust_aAZ-P4d-_0MUyut9",
- "merchantId": "mcht_aAZ-P4d-_0MUyut8",
- "marketplaceId": "mktp_aAZ-P4d-_0MUyuuF",
- "referenceCustomerId": "CUST-48822821",
- "emailAddress": "lucy.diamond@star.com",
- "givenName": "string",
- "middleName": "string",
- "familyName": "string",
- "isVerified": true,
- "phoneNumber": "+61401234567",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
]
}