| 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 | PublicationsListResponseBodyPublicationsItemMetadata | |
| channel | String | 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. |
| customer | CustomerWithSummaryLoyaltyReferrals | |
| vouchers | List<String> | Contains the voucher IDs that was assigned by Voucherify. and Contains the unique voucher codes that was assigned by Voucherify. |
| vouchersId | List<String> | Contains the unique internal voucher IDs that was assigned by Voucherify. |
| result | ResultEnum | |
| voucher | ListPublicationsItemVoucher | |
| failureCode | String | Generic reason as to why the create publication operation failed. |
| failureMessage | String | This parameter will provide more expanded reason as to why the create publication operation failed. |
| Name | Value |
|---|---|
| PUBLICATION | "publication" |
| Name | Value |
|---|---|
| SUCCESS | "SUCCESS" |
| FAILURE | "FAILURE" |