Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 831 Bytes

loyalty-account-mapping.md

File metadata and controls

28 lines (18 loc) · 831 Bytes

Loyalty Account Mapping

Represents the mapping that associates a loyalty account with a buyer.

Currently, a loyalty account can only be mapped to a buyer by phone number. For more information, see Loyalty Overview.

Structure

LoyaltyAccountMapping

Fields

Name Type Tags Description
id string | undefined Optional The Square-assigned ID of the mapping.
Constraints: Maximum Length: 36
createdAt string | undefined Optional The timestamp when the mapping was created, in RFC 3339 format.
phoneNumber string | undefined Optional The phone number of the buyer, in E.164 format. For example, "+14155551111".

Example (as JSON)

{
  "phone_number": null
}