Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.21 KB

SimpleCustomerRequiredObjectType.md

File metadata and controls

19 lines (11 loc) · 1.21 KB

SimpleCustomerRequiredObjectType

This is an object representing a customer with limited properties used in Event Tracking endpoints.

Properties

Name Type Description
id String The unique ID of a customer that is assigned by Voucherify.
sourceId String The merchant's customer ID if it is different from the Voucherify customer ID. It is really useful in case of an integration between multiple systems. It can be a customer ID from a CRM system, database or 3rd-party service.
name String Customer's first and last name.
email String Customer's email address.
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.
_object String The type of the object represented by the JSON. This object stores information about the customer.