The customer was updated.
import { UpdateCustomerResponseBody } from "dub/models/operations";
let value: UpdateCustomerResponseBody = {
id: "<id>",
externalId: "<id>",
name: "<value>",
createdAt: "1727496932828",
};
Field | Type | Required | Description |
---|---|---|---|
id |
string | ✔️ | The unique ID of the customer. You may use either the customer's id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_ , e.g. ext_123 ). |
externalId |
string | ✔️ | Unique identifier for the customer in the client's app. |
name |
string | ✔️ | Name of the customer. |
email |
string | ➖ | Email of the customer. |
avatar |
string | ➖ | Avatar URL of the customer. |
country |
string | ➖ | Country of the customer. |
createdAt |
string | ✔️ | The date the customer was created. |
link |
operations.UpdateCustomerLink | ➖ | N/A |
programId |
string | ➖ | N/A |
partner |
operations.UpdateCustomerPartner | ➖ | N/A |
discount |
operations.UpdateCustomerDiscount | ➖ | N/A |