Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 1.09 KB

LoyaltiesMembersCreateRequestBody.md

File metadata and controls

18 lines (10 loc) · 1.09 KB

LoyaltiesMembersCreateRequestBody

Request body schema for assigning a loyalty card to a customer using POST /loyalties/{campaignId}/members.

Properties

Name Type Description
voucher String Code of voucher being published.
sourceId String The merchant's publication ID if it is different from the Voucherify publication ID. It's an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. If `source_id` is provided only 1 voucher can be published per request.
customer Customer
metadata Object The metadata object stores all custom attributes assigned to the publication. A set of key/value pairs that you can attach to a publication object. It can be useful for storing additional information about the publication in a structured format.
channel String Specify the distribution channel.