Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 2.11 KB

File metadata and controls

29 lines (23 loc) · 2.11 KB

Customer

Schema representing a customer, former customer or lead served by Company

Example Usage

import { Customer } from "pushpress/models/components/customer.js";

let value: Customer = {
  id: "usr_1234",
  name: "John Doe",
  address: "123 Main St, Anytown, USA",
  profileImage: "https://example.com/profile.jpg",
  email: "[email protected]",
  phone: "+1-800-555-1234",
};

Fields

Field Type Required Description Example
id string ✔️ Unique identifier for the customer usr_1234
name string Name of the customer John Doe
address string Address of the customer 123 Main St, Anytown, USA
profileImage string URL to the profile image of the customer https://example.com/profile.jpg
email string ✔️ Email address of the customer [email protected]
phone string Phone number of the customer +1-800-555-1234