Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.89 KB

PublicationsCreateResponseBody.md

File metadata and controls

49 lines (29 loc) · 1.89 KB

PublicationsCreateResponseBody

Properties

Name Type Description
id String Unique publication ID, assigned by Voucherify.
_object ObjectEnum The type of the object represented by the JSON. This object stores information about the `publication`.
createdAt OffsetDateTime Timestamp representing the date and time when the publication was created. The value is shown in the ISO 8601 format.
customerId String Unique customer ID of the customer receiving the publication.
trackingId String Customer's `source_id`.
metadata Object
channel ChannelEnum How the publication was originated. It can be your own custom channel or an example value provided here.
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.
result ResultEnum Status of the publication attempt.
customer CustomerWithSummaryLoyaltyReferrals
vouchersId List<String> Contains the unique internal voucher ID that was assigned by Voucherify.
voucher Voucher
vouchers List<String> Contains the unique voucher codes that was assigned by Voucherify.

Enum: ObjectEnum

Name Value
PUBLICATION "publication"

Enum: ChannelEnum

Name Value
API "API"

Enum: ResultEnum

Name Value
SUCCESS "SUCCESS"