Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 10.9 KB

updatecustomerresponsebody.md

File metadata and controls

32 lines (26 loc) · 10.9 KB

UpdateCustomerResponseBody

The customer was updated.

Example Usage

import { UpdateCustomerResponseBody } from "dub/models/operations";

let value: UpdateCustomerResponseBody = {
  id: "<id>",
  externalId: "<id>",
  name: "<value>",
  createdAt: "1727496932828",
};

Fields

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