The customer was created.
import { CreateCustomerResponseBody } from "dub/models/operations";
let value: CreateCustomerResponseBody = {
id: "<id>",
externalId: "<id>",
name: "<value>",
createdAt: "1707823553035",
};
Field | Type | Required | Description |
---|---|---|---|
id |
string | ✔️ | The unique identifier of the customer in Dub. |
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.CreateCustomerLink | ➖ | N/A |
partner |
operations.CreateCustomerPartner | ➖ | N/A |
discount |
operations.CreateCustomerDiscount | ➖ | N/A |