Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.74 KB

CustomersCreateRequestBody.md

File metadata and controls

18 lines (15 loc) · 1.74 KB

# CustomersCreateRequestBody

Properties

Name Type Description Notes
id string The ID of an existing customer. [optional]
sourceId string A unique identifier of the customer who validates a voucher. It can be a customer ID or email from a CRM system, database, or a third-party service. If you also pass a customer ID (unique ID assigned by Voucherify), the source ID will be ignored. [optional]
name string Customer's first and last name. [optional]
description string An arbitrary string that you can attach to a customer object. [optional]
email string Customer's email address. [optional]
phone string Customer's phone number. This parameter is mandatory when you try to send out codes to customers via an SMS channel. [optional]
birthday \DateTime `Deprecated`. Customer's birthdate; format YYYY-MM-DD. [optional]
birthdate \DateTime Customer's birthdate; format YYYY-MM-DD. [optional]
address \OpenAPI\Client\Model\CustomersCreateRequestBodyAddress [optional]
metadata object A set of custom key/value pairs that you can attach to a customer. The metadata object stores all custom attributes assigned to the customer. It can be useful for storing additional information about the customer in a structured format. This metadata can be used for validating whether the customer qualifies for a discount or it can be used in building customer segments. [optional]

[Back to Model list] [Back to API list] [Back to README]