@voucherify/sdk 2.9.4 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1789 -1750
- package/dist/index.esm.js +205013 -0
- package/dist/index.js +206402 -0
- package/docs/AccessSettings.md +10 -0
- package/docs/AccessSettingsAssign.md +11 -0
- package/docs/AccessSettingsCampaignAssignmentsList.md +30 -0
- package/docs/AccessSettingsUnassign.md +11 -0
- package/docs/ApplicableTo.md +49 -0
- package/docs/ApplicableToEffect.md +16 -0
- package/docs/ApplicableToOrderItemUnitsItem.md +11 -0
- package/docs/ApplicableToResultList.md +30 -0
- package/docs/ApplicationDetailsItem.md +15 -0
- package/docs/AreaStoreCampaignAssignment.md +23 -0
- package/docs/AsyncActionBase.md +55 -0
- package/docs/AsyncActionGetResponseBody.md +56 -0
- package/docs/AsyncActionsApi.md +132 -0
- package/docs/AsyncActionsListResponseBody.md +30 -0
- package/docs/BinApi.md +136 -0
- package/docs/Bundle.md +12 -0
- package/docs/BundleIdentifiedItem.md +23 -0
- package/docs/BundleMissingItem.md +24 -0
- package/docs/BusValRuleAssignment.md +39 -0
- package/docs/Campaign.md +126 -0
- package/docs/CampaignBase.md +124 -0
- package/docs/CampaignLoyaltyCard.md +10 -0
- package/docs/CampaignLoyaltyCardExpirationRules.md +42 -0
- package/docs/CampaignLoyaltyVoucher.md +21 -0
- package/docs/CampaignLoyaltyVoucherRedemption.md +9 -0
- package/docs/CampaignTemplate.md +35 -0
- package/docs/CampaignVoucher.md +41 -0
- package/docs/CampaignVoucherRedemption.md +9 -0
- package/docs/CampaignsApi.md +906 -0
- package/docs/CampaignsCreateRequestBody.md +79 -0
- package/docs/CampaignsCreateRequestBodyPromotion.md +9 -0
- package/docs/CampaignsCreateRequestBodyVoucher.md +28 -0
- package/docs/CampaignsCreateRequestBodyVoucherRedemption.md +9 -0
- package/docs/CampaignsCreateResponseBody.md +126 -0
- package/docs/CampaignsDeleteResponseBody.md +9 -0
- package/docs/CampaignsGetResponseBody.md +126 -0
- package/docs/CampaignsImportCreateResponseBody.md +9 -0
- package/docs/CampaignsImportCsvCreateResponseBody.md +9 -0
- package/docs/CampaignsImportVoucherItem.md +56 -0
- package/docs/CampaignsImportVoucherItemRedemption.md +9 -0
- package/docs/CampaignsListResponseBody.md +12 -0
- package/docs/CampaignsSummaryGetResponseBody.md +58 -0
- package/docs/CampaignsTransactionsExportCreateRequestBody.md +9 -0
- package/docs/CampaignsTransactionsExportCreateRequestBodyParameters.md +51 -0
- package/docs/CampaignsTransactionsExportCreateResponseBody.md +53 -0
- package/docs/CampaignsTransactionsExportCreateResponseBodyParameters.md +51 -0
- package/docs/CampaignsTransactionsExportCreateResponseBodyParametersFilters.md +12 -0
- package/docs/CampaignsTransactionsExportCreateResponseBodyParametersFiltersCampaignId.md +9 -0
- package/docs/CampaignsTransactionsExportCreateResponseBodyParametersFiltersCampaignIdConditions.md +9 -0
- package/docs/CampaignsTransactionsExportCreateResponseBodyResult.md +9 -0
- package/docs/CampaignsTransactionsListResponseBody.md +31 -0
- package/docs/CampaignsUpdateRequestBody.md +60 -0
- package/docs/CampaignsUpdateRequestBodyOptions.md +9 -0
- package/docs/CampaignsUpdateResponseBody.md +126 -0
- package/docs/CampaignsVouchersCreateCombinedResponseBody.md +72 -0
- package/docs/CampaignsVouchersCreateCombinedResponseBodyGift.md +23 -0
- package/docs/CampaignsVouchersCreateCombinedResponseBodyLoyaltyCard.md +15 -0
- package/docs/CampaignsVouchersCreateCombinedResponseBodyPublish.md +11 -0
- package/docs/CampaignsVouchersCreateCombinedResponseBodyRedemption.md +13 -0
- package/docs/CampaignsVouchersCreateInBulkRequestBody.md +16 -0
- package/docs/CampaignsVouchersCreateInBulkRequestBodyRedemption.md +9 -0
- package/docs/CampaignsVouchersCreateRequestBody.md +14 -0
- package/docs/CampaignsVouchersCreateRequestBodyRedemption.md +9 -0
- package/docs/CampaignsVouchersCreateResponseBody.md +71 -0
- package/docs/CampaignsVouchersCreateResponseBodyGift.md +23 -0
- package/docs/CampaignsVouchersCreateResponseBodyLoyaltyCard.md +15 -0
- package/docs/CampaignsVouchersCreateResponseBodyPublish.md +11 -0
- package/docs/CampaignsVouchersCreateResponseBodyRedemption.md +13 -0
- package/docs/CategoriesApi.md +306 -0
- package/docs/CategoriesCreateRequestBody.md +10 -0
- package/docs/CategoriesCreateResponseBody.md +22 -0
- package/docs/CategoriesGetResponseBody.md +23 -0
- package/docs/CategoriesListResponseBody.md +30 -0
- package/docs/CategoriesUpdateRequestBody.md +10 -0
- package/docs/CategoriesUpdateResponseBody.md +23 -0
- package/docs/Category.md +23 -0
- package/docs/CategoryWithStackingRulesType.md +35 -0
- package/docs/ClientEventsCreateRequestBody.md +13 -0
- package/docs/ClientEventsCreateRequestBodyLoyalty.md +9 -0
- package/docs/ClientEventsCreateRequestBodyReferral.md +10 -0
- package/docs/ClientEventsCreateResponseBody.md +23 -0
- package/docs/ClientPromotionsTiersListResponseBody.md +13 -0
- package/docs/ClientQualificationsCheckEligibilityRequestBody.md +38 -0
- package/docs/ClientQualificationsCheckEligibilityRequestBodySession.md +18 -0
- package/docs/ClientQualificationsCheckEligibilityResponseBody.md +12 -0
- package/docs/ClientQualificationsCheckEligibilityResponseBodyOrder.md +54 -0
- package/docs/ClientQualificationsCheckEligibilityResponseBodyOrderItemsItem.md +50 -0
- package/docs/ClientRedemptionsRedeemRequestBody.md +15 -0
- package/docs/ClientRedemptionsRedeemRequestBodyOptions.md +24 -0
- package/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItem.md +25 -0
- package/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItemGift.md +9 -0
- package/docs/ClientRedemptionsRedeemRequestBodyRedeemablesItemReward.md +10 -0
- package/docs/ClientRedemptionsRedeemResponseBody.md +13 -0
- package/docs/ClientRedemptionsRedeemResponseBodyOrder.md +54 -0
- package/docs/ClientRedemptionsRedeemResponseBodyOrderItemsItem.md +50 -0
- package/docs/ClientSideApi.md +324 -0
- package/docs/ClientValidationsValidateRequestBody.md +15 -0
- package/docs/ClientValidationsValidateRequestBodyOptions.md +24 -0
- package/docs/ClientValidationsValidateRequestBodyRedeemablesItem.md +25 -0
- package/docs/ClientValidationsValidateRequestBodyRedeemablesItemGift.md +9 -0
- package/docs/ClientValidationsValidateRequestBodyRedeemablesItemReward.md +10 -0
- package/docs/ClientValidationsValidateResponseBody.md +17 -0
- package/docs/ClientValidationsValidateResponseBodyOrder.md +54 -0
- package/docs/ClientValidationsValidateResponseBodyOrderItemsItem.md +50 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItem.md +44 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemOrder.md +54 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemOrderCustomer.md +19 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemOrderReferrer.md +19 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResult.md +14 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDetails.md +10 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +63 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.md +11 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultGift.md +10 -0
- package/docs/ClientValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.md +9 -0
- package/docs/CodeConfig.md +14 -0
- package/docs/CreatePublicationCampaign.md +10 -0
- package/docs/CustomEvent.md +25 -0
- package/docs/CustomEventLoyalty.md +9 -0
- package/docs/CustomEventReferral.md +11 -0
- package/docs/Customer.md +18 -0
- package/docs/CustomerActivity.md +168 -0
- package/docs/CustomerAddress.md +14 -0
- package/docs/CustomerId.md +19 -0
- package/docs/CustomerLoyalty.md +11 -0
- package/docs/CustomerLoyaltyCampaignsEntryValue.md +11 -0
- package/docs/CustomerRedeemable.md +61 -0
- package/docs/CustomerRedeemableRedeemable.md +30 -0
- package/docs/CustomerReferrals.md +10 -0
- package/docs/CustomerReferralsCampaignsItem.md +13 -0
- package/docs/CustomerSummary.md +10 -0
- package/docs/CustomerSummaryOrders.md +13 -0
- package/docs/CustomerSummaryRedemptions.md +16 -0
- package/docs/CustomerSummaryRedemptionsGift.md +10 -0
- package/docs/CustomerSummaryRedemptionsLoyaltyCard.md +10 -0
- package/docs/CustomerWithSummaryLoyaltyReferrals.md +35 -0
- package/docs/CustomerWithSummaryLoyaltyReferralsAddress.md +14 -0
- package/docs/CustomerWithSummaryLoyaltyReferralsAssets.md +9 -0
- package/docs/CustomersActivityListResponseBody.md +22 -0
- package/docs/CustomersApi.md +786 -0
- package/docs/CustomersCreateRequestBody.md +18 -0
- package/docs/CustomersCreateRequestBodyAddress.md +14 -0
- package/docs/CustomersCreateResponseBody.md +35 -0
- package/docs/CustomersCreateResponseBodyAddress.md +14 -0
- package/docs/CustomersCreateResponseBodyAssets.md +9 -0
- package/docs/CustomersGetResponseBody.md +35 -0
- package/docs/CustomersGetResponseBodyAddress.md +14 -0
- package/docs/CustomersGetResponseBodyAssets.md +9 -0
- package/docs/CustomersImportCsvCreateResponseBody.md +9 -0
- package/docs/CustomersListResponseBody.md +13 -0
- package/docs/CustomersMetadataUpdateInBulkRequestBody.md +10 -0
- package/docs/CustomersMetadataUpdateInBulkResponseBody.md +9 -0
- package/docs/CustomersPermanentDeletionCreateResponseBody.md +15 -0
- package/docs/CustomersPermanentDeletionCreateResponseBodyDataJson.md +15 -0
- package/docs/CustomersRedeemablesListResponseBody.md +14 -0
- package/docs/CustomersSegmentsListResponseBody.md +12 -0
- package/docs/CustomersUpdateInBulkRequestBody.md +17 -0
- package/docs/CustomersUpdateInBulkRequestBodyAddress.md +14 -0
- package/docs/CustomersUpdateInBulkResponseBody.md +9 -0
- package/docs/CustomersUpdateRequestBody.md +16 -0
- package/docs/CustomersUpdateRequestBodyAddress.md +14 -0
- package/docs/CustomersUpdateResponseBody.md +35 -0
- package/docs/CustomersUpdateResponseBodyAddress.md +14 -0
- package/docs/CustomersUpdateResponseBodyAssets.md +9 -0
- package/docs/Discount.md +63 -0
- package/docs/DiscountProduct.md +11 -0
- package/docs/DiscountUnitMultipleOneUnit.md +25 -0
- package/docs/EarningRule.md +59 -0
- package/docs/EarningRuleCustomEvent.md +9 -0
- package/docs/EarningRuleExpirationRules.md +42 -0
- package/docs/EarningRuleLoyalty.md +50 -0
- package/docs/EarningRuleLoyaltyCustomEvent.md +9 -0
- package/docs/EarningRuleLoyaltyCustomEventMetadata.md +12 -0
- package/docs/EarningRuleLoyaltyCustomer.md +9 -0
- package/docs/EarningRuleLoyaltyCustomerMetadata.md +12 -0
- package/docs/EarningRuleLoyaltyOrder.md +11 -0
- package/docs/EarningRuleLoyaltyOrderAmount.md +11 -0
- package/docs/EarningRuleLoyaltyOrderItems.md +11 -0
- package/docs/EarningRuleLoyaltyOrderItemsAmount.md +27 -0
- package/docs/EarningRuleLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/EarningRuleLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/EarningRuleLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/EarningRuleLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/EarningRuleLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/EarningRuleLoyaltyOrderMetadata.md +12 -0
- package/docs/EarningRuleLoyaltyOrderTotalAmount.md +11 -0
- package/docs/EarningRuleLoyaltyTier.md +9 -0
- package/docs/EarningRulePendingPoints.md +19 -0
- package/docs/EarningRuleSegment.md +9 -0
- package/docs/EarningRuleSource.md +20 -0
- package/docs/Error.md +16 -0
- package/docs/ErrorError.md +9 -0
- package/docs/EventSource.md +26 -0
- package/docs/EventSourceApiKey.md +10 -0
- package/docs/EventSourceUser.md +9 -0
- package/docs/EventsApi.md +68 -0
- package/docs/EventsCreateRequestBody.md +13 -0
- package/docs/EventsCreateRequestBodyLoyalty.md +9 -0
- package/docs/EventsCreateRequestBodyReferral.md +10 -0
- package/docs/EventsCreateResponseBody.md +23 -0
- package/docs/Export.md +62 -0
- package/docs/ExportCampaignTransactionsFilters.md +11 -0
- package/docs/ExportOrderFields.md +32 -0
- package/docs/ExportOrderOrder.md +18 -0
- package/docs/ExportParameters.md +256 -0
- package/docs/ExportResult.md +9 -0
- package/docs/ExportVoucherTransactionsFields.md +30 -0
- package/docs/ExportVoucherTransactionsFilters.md +12 -0
- package/docs/ExportVoucherTransactionsOrder.md +10 -0
- package/docs/ExportsApi.md +318 -0
- package/docs/ExportsCreateRequestBody.md +31 -0
- package/docs/ExportsCreateRequestBodyParameters.md +256 -0
- package/docs/ExportsCreateResponseBody.md +56 -0
- package/docs/ExportsCreateResponseBodyParameters.md +256 -0
- package/docs/ExportsGetResponseBody.md +62 -0
- package/docs/ExportsGetResponseBodyParameters.md +256 -0
- package/docs/ExportsGetResponseBodyResult.md +9 -0
- package/docs/ExportsListResponseBody.md +30 -0
- package/docs/FieldConditions.md +9 -0
- package/docs/FilterConditionsDateTime.md +14 -0
- package/docs/FilterConditionsString.md +18 -0
- package/docs/FiltersCondition.md +33 -0
- package/docs/Gift.md +23 -0
- package/docs/InapplicableTo.md +49 -0
- package/docs/InapplicableToOrderItemUnitsItem.md +11 -0
- package/docs/InapplicableToResultList.md +30 -0
- package/docs/Junction.md +10 -0
- package/docs/ListPublicationsItemValidSingleVoucher.md +39 -0
- package/docs/ListPublicationsItemValidSingleVoucherMetadata.md +11 -0
- package/docs/ListPublicationsItemVoucher.md +24 -0
- package/docs/Location.md +23 -0
- package/docs/LocationShape.md +34 -0
- package/docs/LocationShapeDistance.md +10 -0
- package/docs/LocationShapeGeojson.md +21 -0
- package/docs/LocationsApi.md +136 -0
- package/docs/LocationsGetResponseBody.md +23 -0
- package/docs/LocationsGetResponseBodyShape.md +34 -0
- package/docs/LocationsGetResponseBodyShapeDistance.md +10 -0
- package/docs/LocationsGetResponseBodyShapeGeojson.md +21 -0
- package/docs/LocationsListResponseBody.md +13 -0
- package/docs/LoyaltiesApi.md +3358 -0
- package/docs/LoyaltiesCreateCampaignRequestBody.md +68 -0
- package/docs/LoyaltiesCreateCampaignResponseBody.md +114 -0
- package/docs/LoyaltiesDeleteResponseBody.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItem.md +45 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemSegment.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateRequestBodyItemSource.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBody.md +59 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodySegment.md +9 -0
- package/docs/LoyaltiesEarningRulesCreateResponseBodySource.md +20 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBody.md +58 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodySegment.md +9 -0
- package/docs/LoyaltiesEarningRulesDisableResponseBodySource.md +20 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBody.md +58 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodySegment.md +9 -0
- package/docs/LoyaltiesEarningRulesEnableResponseBodySource.md +20 -0
- package/docs/LoyaltiesEarningRulesGetResponseBody.md +59 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodySegment.md +9 -0
- package/docs/LoyaltiesEarningRulesGetResponseBodySource.md +20 -0
- package/docs/LoyaltiesEarningRulesListResponseBody.md +21 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBody.md +41 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesUpdateRequestBodySource.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBody.md +59 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyalty.md +50 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEvent.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomEventMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomer.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyCustomerMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrder.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItems.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsQuantity.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsQuantityApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsSubtotalAmount.md +27 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderItemsSubtotalAmountApplicableToItem.md +23 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderMetadata.md +12 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyOrderTotalAmount.md +11 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyLoyaltyTier.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodyPendingPoints.md +19 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodySegment.md +9 -0
- package/docs/LoyaltiesEarningRulesUpdateResponseBodySource.md +20 -0
- package/docs/LoyaltiesGetCampaignResponseBody.md +114 -0
- package/docs/LoyaltiesListCampaignsResponseBody.md +21 -0
- package/docs/LoyaltiesListMembersResponseBody.md +21 -0
- package/docs/LoyaltiesLoyaltyTierReward.md +20 -0
- package/docs/LoyaltiesMemberActivityListResponseBody.md +22 -0
- package/docs/LoyaltiesMembersBalanceUpdateRequestBody.md +13 -0
- package/docs/LoyaltiesMembersBalanceUpdateResponseBody.md +46 -0
- package/docs/LoyaltiesMembersBalanceUpdateResponseBodyRelatedObject.md +19 -0
- package/docs/LoyaltiesMembersCreateRequestBody.md +13 -0
- package/docs/LoyaltiesMembersCreateResponseBody.md +64 -0
- package/docs/LoyaltiesMembersCreateResponseBodyLoyaltyCard.md +15 -0
- package/docs/LoyaltiesMembersCreateResponseBodyPublish.md +11 -0
- package/docs/LoyaltiesMembersCreateResponseBodyRedemption.md +13 -0
- package/docs/LoyaltiesMembersGetResponseBody.md +64 -0
- package/docs/LoyaltiesMembersGetResponseBodyLoyaltyCard.md +15 -0
- package/docs/LoyaltiesMembersGetResponseBodyPublish.md +11 -0
- package/docs/LoyaltiesMembersGetResponseBodyRedemption.md +13 -0
- package/docs/LoyaltiesMembersPendingPointsActivateResponseBody.md +42 -0
- package/docs/LoyaltiesMembersPendingPointsActivateResponseBodyRelatedObject.md +19 -0
- package/docs/LoyaltiesMembersPendingPointsBalanceRequestBody.md +9 -0
- package/docs/LoyaltiesMembersPendingPointsBalanceResponseBody.md +31 -0
- package/docs/LoyaltiesMembersPendingPointsBalanceResponseBodyRelatedObject.md +19 -0
- package/docs/LoyaltiesMembersPendingPointsListResponseBody.md +31 -0
- package/docs/LoyaltiesMembersPointsExpirationListResponseBody.md +30 -0
- package/docs/LoyaltiesMembersRedemptionRedeemRequestBody.md +11 -0
- package/docs/LoyaltiesMembersRedemptionRedeemRequestBodyReward.md +10 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBody.md +78 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyChannel.md +23 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyGift.md +9 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyLoyaltyCard.md +9 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyOrder.md +54 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyOrderCustomer.md +19 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyOrderItemsItem.md +50 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyOrderReferrer.md +19 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptions.md +10 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyRelatedRedemptionsRollbacksItem.md +22 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodySession.md +9 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucher.md +72 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherGift.md +23 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherLoyaltyCard.md +15 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherPublish.md +11 -0
- package/docs/LoyaltiesMembersRedemptionRedeemResponseBodyVoucherRedemption.md +13 -0
- package/docs/LoyaltiesMembersRewardsListResponseBody.md +30 -0
- package/docs/LoyaltiesMembersRewardsListResponseBodyDataItem.md +20 -0
- package/docs/LoyaltiesMembersTiersListResponseBody.md +30 -0
- package/docs/LoyaltiesMembersTransactionsExportCreateRequestBody.md +9 -0
- package/docs/LoyaltiesMembersTransactionsExportCreateRequestBodyParameters.md +11 -0
- package/docs/LoyaltiesMembersTransactionsExportCreateResponseBody.md +44 -0
- package/docs/LoyaltiesMembersTransactionsExportCreateResponseBodyParameters.md +11 -0
- package/docs/LoyaltiesMembersTransactionsListResponseBody.md +31 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBody.md +62 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyAssets.md +10 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyAssetsBarcode.md +10 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyAssetsQr.md +10 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyLoyaltyCard.md +15 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyPublish.md +21 -0
- package/docs/LoyaltiesMembersTransfersCreateResponseBodyRedemption.md +22 -0
- package/docs/LoyaltiesPendingPointsListResponseBody.md +31 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBody.md +9 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParameters.md +41 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFilters.md +11 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignId.md +9 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersCampaignIdConditions.md +12 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherId.md +9 -0
- package/docs/LoyaltiesPointsExpirationExportCreateRequestBodyParametersFiltersVoucherIdConditions.md +12 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBody.md +55 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParameters.md +41 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFilters.md +11 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignId.md +9 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersCampaignIdConditions.md +12 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherId.md +9 -0
- package/docs/LoyaltiesPointsExpirationExportCreateResponseBodyParametersFiltersVoucherIdConditions.md +12 -0
- package/docs/LoyaltiesRewardAssignmentsGetResponseBody.md +34 -0
- package/docs/LoyaltiesRewardAssignmentsGetResponseBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardAssignmentsGetResponseBodyParametersLoyalty.md +10 -0
- package/docs/LoyaltiesRewardAssignmentsListResponseBody.md +21 -0
- package/docs/LoyaltiesRewardAssignmentsRewardGetResponseBody.md +41 -0
- package/docs/LoyaltiesRewardAssignmentsRewardGetResponseBodyAttributes.md +10 -0
- package/docs/LoyaltiesRewardsCreateAssignmentItemRequestBody.md +11 -0
- package/docs/LoyaltiesRewardsCreateAssignmentItemRequestBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardsCreateAssignmentItemRequestBodyParametersLoyalty.md +9 -0
- package/docs/LoyaltiesRewardsCreateAssignmentResponseBody.md +34 -0
- package/docs/LoyaltiesRewardsCreateAssignmentResponseBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardsCreateAssignmentResponseBodyParametersLoyalty.md +10 -0
- package/docs/LoyaltiesRewardsGetResponseBody.md +34 -0
- package/docs/LoyaltiesRewardsGetResponseBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardsGetResponseBodyParametersLoyalty.md +10 -0
- package/docs/LoyaltiesRewardsListAssignmentsResponseBody.md +21 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentRequestBody.md +9 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentRequestBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentRequestBodyParametersLoyalty.md +10 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentResponseBody.md +34 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentResponseBodyParameters.md +9 -0
- package/docs/LoyaltiesRewardsUpdateAssignmentResponseBodyParametersLoyalty.md +10 -0
- package/docs/LoyaltiesTiersCreateInBulkRequestBodyItem.md +13 -0
- package/docs/LoyaltiesTiersEarningRulesListResponseBody.md +30 -0
- package/docs/LoyaltiesTiersGetResponseBody.md +29 -0
- package/docs/LoyaltiesTiersGetResponseBodyConfig.md +9 -0
- package/docs/LoyaltiesTiersGetResponseBodyConfigPoints.md +10 -0
- package/docs/LoyaltiesTiersGetResponseBodyPoints.md +10 -0
- package/docs/LoyaltiesTiersListResponseBody.md +30 -0
- package/docs/LoyaltiesTiersRewardsListResponseBody.md +12 -0
- package/docs/LoyaltiesTransactionsExportCreateRequestBody.md +9 -0
- package/docs/LoyaltiesTransactionsExportCreateRequestBodyParameters.md +51 -0
- package/docs/LoyaltiesTransactionsListResponseBody.md +31 -0
- package/docs/LoyaltiesTransferPoints.md +12 -0
- package/docs/LoyaltiesUpdateCampaignRequestBody.md +57 -0
- package/docs/LoyaltiesUpdateCampaignRequestBodyOptions.md +9 -0
- package/docs/LoyaltiesUpdateCampaignResponseBody.md +114 -0
- package/docs/LoyaltyCampaign.md +114 -0
- package/docs/LoyaltyCampaignVoucher.md +48 -0
- package/docs/LoyaltyCampaignVoucherRedemption.md +9 -0
- package/docs/LoyaltyCardTransaction.md +18 -0
- package/docs/LoyaltyCardTransactionDetails.md +23 -0
- package/docs/LoyaltyCardTransactionDetailsCustomEvent.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsEarningRule.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsEarningRuleSource.md +9 -0
- package/docs/LoyaltyCardTransactionDetailsEvent.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsEventSchema.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsHolderLoyaltyTier.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsLoyaltyTier.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsOrder.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsRedemption.md +9 -0
- package/docs/LoyaltyCardTransactionDetailsReward.md +10 -0
- package/docs/LoyaltyCardTransactionDetailsRollback.md +9 -0
- package/docs/LoyaltyCardTransactionDetailsSegment.md +10 -0
- package/docs/LoyaltyCardTransactionsType.md +24 -0
- package/docs/LoyaltyMember.md +64 -0
- package/docs/LoyaltyMemberLoyaltyCard.md +15 -0
- package/docs/LoyaltyMemberPublish.md +11 -0
- package/docs/LoyaltyMemberRedemption.md +13 -0
- package/docs/LoyaltyPendingPoints.md +18 -0
- package/docs/LoyaltyPendingPointsDetails.md +13 -0
- package/docs/LoyaltyPendingPointsDetailsEarningRule.md +10 -0
- package/docs/LoyaltyPendingPointsDetailsEarningRuleSource.md +9 -0
- package/docs/LoyaltyPendingPointsDetailsEvent.md +35 -0
- package/docs/LoyaltyPendingPointsDetailsHolderLoyaltyTier.md +10 -0
- package/docs/LoyaltyPendingPointsDetailsLoyaltyTier.md +10 -0
- package/docs/LoyaltyPendingPointsDetailsOrder.md +10 -0
- package/docs/LoyaltyPointsBucket.md +26 -0
- package/docs/LoyaltyPointsBucketBucket.md +9 -0
- package/docs/LoyaltyTier.md +29 -0
- package/docs/LoyaltyTierBase.md +12 -0
- package/docs/LoyaltyTierBasePoints.md +10 -0
- package/docs/LoyaltyTierConfig.md +9 -0
- package/docs/LoyaltyTierConfigPoints.md +10 -0
- package/docs/LoyaltyTierExpiration.md +15 -0
- package/docs/LoyaltyTierPoints.md +10 -0
- package/docs/LoyaltyTiersExpirationAll.md +38 -0
- package/docs/LoyaltyTiersExpirationAllExpirationDate.md +26 -0
- package/docs/LoyaltyTiersExpirationAllExpirationDateRounding.md +49 -0
- package/docs/LoyaltyTiersExpirationAllStartDate.md +20 -0
- package/docs/ManagementApi.md +2248 -0
- package/docs/ManagementProject.md +49 -0
- package/docs/ManagementProjectApiUsageNotifications.md +14 -0
- package/docs/ManagementProjectDefaultCodeConfig.md +9 -0
- package/docs/ManagementProjectLimits.md +10 -0
- package/docs/ManagementProjectLimitsApiCallsItem.md +10 -0
- package/docs/ManagementProjectLimitsBulkApiCallsItem.md +10 -0
- package/docs/ManagementProjectWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsBranding.md +13 -0
- package/docs/ManagementProjectsBrandingAddress.md +13 -0
- package/docs/ManagementProjectsBrandingBrand.md +13 -0
- package/docs/ManagementProjectsBrandingCockpits.md +39 -0
- package/docs/ManagementProjectsBrandingContact.md +10 -0
- package/docs/ManagementProjectsBrandingCreateRequestBody.md +12 -0
- package/docs/ManagementProjectsBrandingCreateRequestBodyAddress.md +13 -0
- package/docs/ManagementProjectsBrandingCreateRequestBodyBrand.md +13 -0
- package/docs/ManagementProjectsBrandingCreateRequestBodyCockpits.md +39 -0
- package/docs/ManagementProjectsBrandingCreateRequestBodyContact.md +10 -0
- package/docs/ManagementProjectsBrandingCreateResponseBody.md +13 -0
- package/docs/ManagementProjectsBrandingCreateResponseBodyAddress.md +13 -0
- package/docs/ManagementProjectsBrandingCreateResponseBodyBrand.md +13 -0
- package/docs/ManagementProjectsBrandingCreateResponseBodyCockpits.md +39 -0
- package/docs/ManagementProjectsBrandingCreateResponseBodyContact.md +10 -0
- package/docs/ManagementProjectsBrandingGetResponseBody.md +13 -0
- package/docs/ManagementProjectsBrandingGetResponseBodyAddress.md +13 -0
- package/docs/ManagementProjectsBrandingGetResponseBodyBrand.md +13 -0
- package/docs/ManagementProjectsBrandingGetResponseBodyCockpits.md +39 -0
- package/docs/ManagementProjectsBrandingGetResponseBodyContact.md +10 -0
- package/docs/ManagementProjectsBrandingListResponseBody.md +30 -0
- package/docs/ManagementProjectsBrandingUpdateRequestBody.md +12 -0
- package/docs/ManagementProjectsBrandingUpdateRequestBodyAddress.md +13 -0
- package/docs/ManagementProjectsBrandingUpdateRequestBodyBrand.md +13 -0
- package/docs/ManagementProjectsBrandingUpdateRequestBodyCockpits.md +37 -0
- package/docs/ManagementProjectsBrandingUpdateRequestBodyContact.md +10 -0
- package/docs/ManagementProjectsBrandingUpdateResponseBody.md +13 -0
- package/docs/ManagementProjectsBrandingUpdateResponseBodyAddress.md +13 -0
- package/docs/ManagementProjectsBrandingUpdateResponseBodyBrand.md +13 -0
- package/docs/ManagementProjectsBrandingUpdateResponseBodyCockpits.md +39 -0
- package/docs/ManagementProjectsBrandingUpdateResponseBodyContact.md +10 -0
- package/docs/ManagementProjectsCreateRequestBody.md +45 -0
- package/docs/ManagementProjectsCreateRequestBodyApiUsageNotifications.md +13 -0
- package/docs/ManagementProjectsCreateRequestBodyUsersItem.md +11 -0
- package/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsCreateResponseBody.md +49 -0
- package/docs/ManagementProjectsCreateResponseBodyApiUsageNotifications.md +14 -0
- package/docs/ManagementProjectsCreateResponseBodyClientSideKey.md +10 -0
- package/docs/ManagementProjectsCreateResponseBodyServerSideKey.md +10 -0
- package/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectsCreateResponseBodyWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsCustomEventSchema.md +23 -0
- package/docs/ManagementProjectsCustomEventSchemaSchema.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasCreateRequestBody.md +10 -0
- package/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchema.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasCreateRequestBodySchemaPropertiesEntryValue.md +28 -0
- package/docs/ManagementProjectsCustomEventSchemasCreateResponseBody.md +23 -0
- package/docs/ManagementProjectsCustomEventSchemasCreateResponseBodySchema.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasGetResponseBody.md +23 -0
- package/docs/ManagementProjectsCustomEventSchemasGetResponseBodySchema.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasListResponseBody.md +30 -0
- package/docs/ManagementProjectsCustomEventSchemasUpdateRequestBody.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasUpdateRequestBodySchema.md +9 -0
- package/docs/ManagementProjectsCustomEventSchemasUpdateResponseBody.md +23 -0
- package/docs/ManagementProjectsCustomEventSchemasUpdateResponseBodySchema.md +9 -0
- package/docs/ManagementProjectsGetResponseBody.md +49 -0
- package/docs/ManagementProjectsGetResponseBodyApiUsageNotifications.md +14 -0
- package/docs/ManagementProjectsGetResponseBodyDefaultCodeConfig.md +9 -0
- package/docs/ManagementProjectsGetResponseBodyLimits.md +10 -0
- package/docs/ManagementProjectsGetResponseBodyLimitsApiCallsItem.md +10 -0
- package/docs/ManagementProjectsGetResponseBodyLimitsBulkApiCallsItem.md +10 -0
- package/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsListResponseBody.md +30 -0
- package/docs/ManagementProjectsMetadataSchema.md +15 -0
- package/docs/ManagementProjectsMetadataSchemaDefinition.md +45 -0
- package/docs/ManagementProjectsMetadataSchemasCreateRequestBody.md +11 -0
- package/docs/ManagementProjectsMetadataSchemasCreateResponseBody.md +15 -0
- package/docs/ManagementProjectsMetadataSchemasGetResponseBody.md +15 -0
- package/docs/ManagementProjectsMetadataSchemasListResponseBody.md +30 -0
- package/docs/ManagementProjectsMetadataSchemasUpdateRequestBody.md +10 -0
- package/docs/ManagementProjectsMetadataSchemasUpdateResponseBody.md +15 -0
- package/docs/ManagementProjectsStackingRules.md +95 -0
- package/docs/ManagementProjectsStackingRulesCreateRequestBody.md +92 -0
- package/docs/ManagementProjectsStackingRulesCreateResponseBody.md +95 -0
- package/docs/ManagementProjectsStackingRulesGetResponseBody.md +95 -0
- package/docs/ManagementProjectsStackingRulesListResponseBody.md +30 -0
- package/docs/ManagementProjectsStackingRulesUpdateRequestBody.md +92 -0
- package/docs/ManagementProjectsStackingRulesUpdateResponseBody.md +95 -0
- package/docs/ManagementProjectsTemplatesCampaignsCopyCreateRequestBody.md +11 -0
- package/docs/ManagementProjectsTemplatesCampaignsCopyCreateResponseBody.md +34 -0
- package/docs/ManagementProjectsTemplatesCampaignsListResponseBody.md +32 -0
- package/docs/ManagementProjectsUpdateRequestBody.md +33 -0
- package/docs/ManagementProjectsUpdateRequestBodyApiUsageNotifications.md +13 -0
- package/docs/ManagementProjectsUpdateRequestBodyDefaultCodeConfig.md +9 -0
- package/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectsUpdateRequestBodyWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsUpdateResponseBody.md +49 -0
- package/docs/ManagementProjectsUpdateResponseBodyApiUsageNotifications.md +14 -0
- package/docs/ManagementProjectsUpdateResponseBodyDefaultCodeConfig.md +9 -0
- package/docs/ManagementProjectsUpdateResponseBodyLimits.md +10 -0
- package/docs/ManagementProjectsUpdateResponseBodyLimitsApiCallsItem.md +10 -0
- package/docs/ManagementProjectsUpdateResponseBodyLimitsBulkApiCallsItem.md +10 -0
- package/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotifications.md +10 -0
- package/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsDistributions.md +11 -0
- package/docs/ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks.md +11 -0
- package/docs/ManagementProjectsUsersAssignRequestBody.md +11 -0
- package/docs/ManagementProjectsUsersAssignResponseBody.md +15 -0
- package/docs/ManagementProjectsUsersGetUserResponseBody.md +15 -0
- package/docs/ManagementProjectsUsersInviteCreateRequestBody.md +12 -0
- package/docs/ManagementProjectsUsersListResponseBody.md +30 -0
- package/docs/ManagementProjectsUsersUpdateRoleRequestBody.md +9 -0
- package/docs/ManagementProjectsUsersUpdateRoleResponseBody.md +15 -0
- package/docs/ManagementProjectsWebhook.md +150 -0
- package/docs/ManagementProjectsWebhooksCreateRequestBody.md +138 -0
- package/docs/ManagementProjectsWebhooksCreateResponseBody.md +150 -0
- package/docs/ManagementProjectsWebhooksGetResponseBody.md +150 -0
- package/docs/ManagementProjectsWebhooksListResponseBody.md +30 -0
- package/docs/ManagementProjectsWebhooksUpdateRequestBody.md +138 -0
- package/docs/ManagementProjectsWebhooksUpdateResponseBody.md +150 -0
- package/docs/MappingPoints.md +22 -0
- package/docs/MemberActivity.md +72 -0
- package/docs/MemberActivityData.md +40 -0
- package/docs/MemberActivityData1.md +10 -0
- package/docs/MemberActivityDataBalance.md +47 -0
- package/docs/MemberActivityDataBalanceRelatedObject.md +19 -0
- package/docs/MemberActivityDataCustomerEvent.md +10 -0
- package/docs/MemberActivityDataOrder.md +54 -0
- package/docs/MemberActivityDataOrderCustomer.md +19 -0
- package/docs/MemberActivityDataOrderItemsItem.md +49 -0
- package/docs/MemberActivityDataOrderItemsItemProduct.md +14 -0
- package/docs/MemberActivityDataOrderItemsItemSku.md +14 -0
- package/docs/MemberActivityDataOrderReferrer.md +19 -0
- package/docs/MemberActivityDataRedemption.md +83 -0
- package/docs/MemberActivityDataRedemptionChannel.md +23 -0
- package/docs/MemberActivityDataRedemptionOrder.md +54 -0
- package/docs/MemberActivityDataRedemptionOrderCustomer.md +19 -0
- package/docs/MemberActivityDataRedemptionOrderItemsItem.md +49 -0
- package/docs/MemberActivityDataRedemptionOrderItemsItemProduct.md +14 -0
- package/docs/MemberActivityDataRedemptionOrderItemsItemSku.md +14 -0
- package/docs/MemberActivityDataRedemptionOrderReferrer.md +19 -0
- package/docs/MemberActivityDataRedemptionPreviousOrder.md +54 -0
- package/docs/MemberActivityDataRedemptionPreviousOrderCustomer.md +19 -0
- package/docs/MemberActivityDataRedemptionPreviousOrderReferrer.md +19 -0
- package/docs/MemberActivityDataRedemptionPromotionTier.md +51 -0
- package/docs/MemberActivityDataRedemptionPromotionTierAction.md +9 -0
- package/docs/MemberActivityDataRedemptionPromotionTierCampaign.md +38 -0
- package/docs/MemberActivityDataRedemptionPromotionTierSummary.md +10 -0
- package/docs/MemberActivityDataRedemptionPromotionTierSummaryOrders.md +10 -0
- package/docs/MemberActivityDataRedemptionPromotionTierSummaryRedemptions.md +9 -0
- package/docs/MemberActivityDataRedemptionRelatedRedemptions.md +10 -0
- package/docs/MemberActivityDataRedemptionRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/MemberActivityDataRedemptionRelatedRedemptionsRollbacksItem.md +10 -0
- package/docs/MemberActivityDataRedemptionReward.md +44 -0
- package/docs/MemberActivityDataRedemptionRewardCustomer.md +23 -0
- package/docs/MemberActivityDataRedemptionRewardParameters.md +11 -0
- package/docs/MemberActivityDataRedemptionRewardParametersCampaign.md +11 -0
- package/docs/MemberActivityDataRedemptionRewardParametersCoin.md +10 -0
- package/docs/MemberActivityDataRedemptionRewardParametersProduct.md +10 -0
- package/docs/MemberActivityDataRedemptionRewardProduct.md +28 -0
- package/docs/MemberActivityDataRedemptionRewardSku.md +29 -0
- package/docs/MemberActivityDataRedemptionRewardVoucher.md +71 -0
- package/docs/MemberActivityDataRedemptionRewardVoucherGift.md +23 -0
- package/docs/MemberActivityDataRedemptionRewardVoucherLoyaltyCard.md +15 -0
- package/docs/MemberActivityDataRedemptionRewardVoucherPublish.md +11 -0
- package/docs/MemberActivityDataRedemptionRewardVoucherRedemption.md +13 -0
- package/docs/MemberActivityDataRedemptionVoucher.md +72 -0
- package/docs/MemberActivityDataRedemptionVoucherGift.md +23 -0
- package/docs/MemberActivityDataRedemptionVoucherLoyaltyCard.md +15 -0
- package/docs/MemberActivityDataRedemptionVoucherPublish.md +11 -0
- package/docs/MemberActivityDataRedemptionVoucherRedemption.md +13 -0
- package/docs/MemberActivityDataTransaction.md +51 -0
- package/docs/MemberActivityDataTransactionDetails.md +23 -0
- package/docs/MemberActivityDataTransactionDetailsCustomEvent.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsDestinationVoucher.md +51 -0
- package/docs/MemberActivityDataTransactionDetailsDestinationVoucherGift.md +23 -0
- package/docs/MemberActivityDataTransactionDetailsDestinationVoucherLoyaltyCard.md +15 -0
- package/docs/MemberActivityDataTransactionDetailsDestinationVoucherRedemption.md +11 -0
- package/docs/MemberActivityDataTransactionDetailsEarningRule.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsEarningRuleSource.md +9 -0
- package/docs/MemberActivityDataTransactionDetailsEvent.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsEventSchema.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsHolderLoyaltyTier.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsLoyaltyTier.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsOrder.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsRedemption.md +9 -0
- package/docs/MemberActivityDataTransactionDetailsReward.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsRollback.md +9 -0
- package/docs/MemberActivityDataTransactionDetailsSegment.md +10 -0
- package/docs/MemberActivityDataTransactionDetailsSourceVoucher.md +51 -0
- package/docs/MemberActivityDataTransactionDetailsSourceVoucherGift.md +23 -0
- package/docs/MemberActivityDataTransactionDetailsSourceVoucherLoyaltyCard.md +15 -0
- package/docs/MemberActivityDataTransactionDetailsSourceVoucherRedemption.md +11 -0
- package/docs/MetadataSchemaDefinitionDeprecated.md +45 -0
- package/docs/MetadataSchemaDeprecated.md +15 -0
- package/docs/MetadataSchemasApi.md +124 -0
- package/docs/MetadataSchemasGetResponseBody.md +15 -0
- package/docs/MetadataSchemasListResponseBody.md +30 -0
- package/docs/OAuthApi.md +187 -0
- package/docs/OAuthTokenGenerateResponseBody.md +23 -0
- package/docs/OAuthTokenIntrospectResponseBody.md +24 -0
- package/docs/Order.md +31 -0
- package/docs/OrderCalculated.md +53 -0
- package/docs/OrderCalculatedItem.md +49 -0
- package/docs/OrderCalculatedItemProduct.md +14 -0
- package/docs/OrderCalculatedItemSku.md +14 -0
- package/docs/OrderItem.md +33 -0
- package/docs/OrderItemProduct.md +14 -0
- package/docs/OrderItemSku.md +14 -0
- package/docs/OrderRedemptionsEntry.md +16 -0
- package/docs/OrdersApi.md +376 -0
- package/docs/OrdersCreateRequestBody.md +35 -0
- package/docs/OrdersCreateResponseBody.md +54 -0
- package/docs/OrdersExportCreateRequestBody.md +9 -0
- package/docs/OrdersExportCreateRequestBodyParameters.md +11 -0
- package/docs/OrdersExportCreateResponseBody.md +44 -0
- package/docs/OrdersExportCreateResponseBodyParameters.md +11 -0
- package/docs/OrdersGetResponseBody.md +54 -0
- package/docs/OrdersImportCreateRequestBodyItem.md +35 -0
- package/docs/OrdersImportCreateResponseBody.md +9 -0
- package/docs/OrdersListResponseBody.md +30 -0
- package/docs/OrdersListResponseBodyOrdersItem.md +54 -0
- package/docs/OrdersUpdateRequestBody.md +34 -0
- package/docs/OrdersUpdateResponseBody.md +54 -0
- package/docs/ParameterActivityCategory.md +10 -0
- package/docs/ParameterCampaignStatusListCampaigns.md +16 -0
- package/docs/ParameterCampaignType.md +16 -0
- package/docs/ParameterCampaignsAccessSetttings.md +9 -0
- package/docs/ParameterCampaignsAccessSetttingsFilter.md +11 -0
- package/docs/ParameterCreatedBeforeAfter.md +10 -0
- package/docs/ParameterCustomerEvent.md +140 -0
- package/docs/ParameterExpandListCampaigns.md +10 -0
- package/docs/ParameterFiltersListBin.md +13 -0
- package/docs/ParameterFiltersListBinId.md +9 -0
- package/docs/ParameterFiltersListBinResourceId.md +9 -0
- package/docs/ParameterFiltersListBinResourceName.md +9 -0
- package/docs/ParameterFiltersListBinResourceType.md +9 -0
- package/docs/ParameterFiltersListBinResourceTypeConditions.md +76 -0
- package/docs/ParameterFiltersListCampaigns.md +25 -0
- package/docs/ParameterFiltersListCampaignsActive.md +12 -0
- package/docs/ParameterFiltersListCampaignsCampaignStatus.md +9 -0
- package/docs/ParameterFiltersListCampaignsCampaignStatusConditions.md +84 -0
- package/docs/ParameterFiltersListCampaignsCampaigns.md +9 -0
- package/docs/ParameterFiltersListCampaignsCampaignsId.md +9 -0
- package/docs/ParameterFiltersListCampaignsCategories.md +9 -0
- package/docs/ParameterFiltersListCampaignsCategoryIds.md +9 -0
- package/docs/ParameterFiltersListCampaignsCreatedDate.md +9 -0
- package/docs/ParameterFiltersListCampaignsExpirationDate.md +9 -0
- package/docs/ParameterFiltersListCampaignsIsReferralCode.md +9 -0
- package/docs/ParameterFiltersListCampaignsIsReferralCodeConditions.md +32 -0
- package/docs/ParameterFiltersListCampaignsStartDate.md +9 -0
- package/docs/ParameterFiltersListCampaignsStatus.md +9 -0
- package/docs/ParameterFiltersListCampaignsStatusConditions.md +13 -0
- package/docs/ParameterFiltersListCampaignsType.md +9 -0
- package/docs/ParameterFiltersListCampaignsTypeConditions.md +40 -0
- package/docs/ParameterFiltersListCampaignsUpdatedAt.md +9 -0
- package/docs/ParameterFiltersListCampaignsValidityDayOfWeek.md +9 -0
- package/docs/ParameterFiltersListCampaignsValidityDayOfWeekConditions.md +30 -0
- package/docs/ParameterFiltersListCampaignsValidityTimeframe.md +9 -0
- package/docs/ParameterFiltersListCampaignsVoucherType.md +9 -0
- package/docs/ParameterFiltersListCampaignsVoucherTypeConditions.md +68 -0
- package/docs/ParameterFiltersListCustomerRedeemables.md +17 -0
- package/docs/ParameterFiltersListCustomerRedeemablesCampaignId.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesCampaignType.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesCampaignTypeConditions.md +76 -0
- package/docs/ParameterFiltersListCustomerRedeemablesCreatedAt.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesHolderRole.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesHolderRoleConditions.md +68 -0
- package/docs/ParameterFiltersListCustomerRedeemablesId.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesRedeemableId.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesRedeemableObject.md +9 -0
- package/docs/ParameterFiltersListCustomerRedeemablesRedeemableObjectConditions.md +52 -0
- package/docs/ParameterFiltersListCustomerRedeemablesVoucherType.md +9 -0
- package/docs/ParameterFiltersListLocations.md +11 -0
- package/docs/ParameterFiltersListLocationsCreatedAt.md +9 -0
- package/docs/ParameterFiltersListLocationsName.md +9 -0
- package/docs/ParameterFiltersListLocationsUpdatedAt.md +9 -0
- package/docs/ParameterFiltersListMemberTransactions.md +10 -0
- package/docs/ParameterFiltersListPublications.md +18 -0
- package/docs/ParameterFiltersListPublicationsCampaignName.md +9 -0
- package/docs/ParameterFiltersListPublicationsCustomerId.md +9 -0
- package/docs/ParameterFiltersListPublicationsFailureCode.md +9 -0
- package/docs/ParameterFiltersListPublicationsIsReferralCode.md +9 -0
- package/docs/ParameterFiltersListPublicationsParentObjectId.md +9 -0
- package/docs/ParameterFiltersListPublicationsRelatedObjectId.md +9 -0
- package/docs/ParameterFiltersListPublicationsResult.md +9 -0
- package/docs/ParameterFiltersListPublicationsSourceId.md +9 -0
- package/docs/ParameterFiltersListPublicationsVoucherType.md +9 -0
- package/docs/ParameterFiltersListRedemptions.md +19 -0
- package/docs/ParameterFiltersListRedemptionsCampaignName.md +9 -0
- package/docs/ParameterFiltersListRedemptionsCustomerId.md +9 -0
- package/docs/ParameterFiltersListRedemptionsFailureCode.md +9 -0
- package/docs/ParameterFiltersListRedemptionsObject.md +9 -0
- package/docs/ParameterFiltersListRedemptionsParentRedemptionId.md +9 -0
- package/docs/ParameterFiltersListRedemptionsRelatedObjectId.md +9 -0
- package/docs/ParameterFiltersListRedemptionsRelatedObjectParentId.md +9 -0
- package/docs/ParameterFiltersListRedemptionsResult.md +9 -0
- package/docs/ParameterFiltersListRedemptionsUserLogin.md +9 -0
- package/docs/ParameterFiltersListRedemptionsVoucherCode.md +9 -0
- package/docs/ParameterFiltersListReferralsRedeemableHolders.md +13 -0
- package/docs/ParameterFiltersListReferralsRedeemableHoldersCreatedAt.md +9 -0
- package/docs/ParameterFiltersListReferralsRedeemableHoldersCustomerId.md +9 -0
- package/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRole.md +9 -0
- package/docs/ParameterFiltersListReferralsRedeemableHoldersHolderRoleConditions.md +60 -0
- package/docs/ParameterFiltersListReferralsRedeemableHoldersId.md +9 -0
- package/docs/ParameterFiltersListTemplates.md +12 -0
- package/docs/ParameterFiltersListTemplatesCampaignType.md +9 -0
- package/docs/ParameterFiltersListTemplatesCampaignTypeConditions.md +60 -0
- package/docs/ParameterFiltersListTemplatesId.md +9 -0
- package/docs/ParameterFiltersListTemplatesName.md +9 -0
- package/docs/ParameterOrder.md +30 -0
- package/docs/ParameterOrderCreatedAt.md +10 -0
- package/docs/ParameterOrderListAllPromotionStacks.md +18 -0
- package/docs/ParameterOrderListBin.md +10 -0
- package/docs/ParameterOrderListCampaigns.md +14 -0
- package/docs/ParameterOrderListCustomers.md +18 -0
- package/docs/ParameterOrderListEarningRules.md +14 -0
- package/docs/ParameterOrderListExports.md +14 -0
- package/docs/ParameterOrderListLocations.md +14 -0
- package/docs/ParameterOrderListLoyaltyTiers.md +14 -0
- package/docs/ParameterOrderListOrders.md +14 -0
- package/docs/ParameterOrderListPendingPoints.md +10 -0
- package/docs/ParameterOrderListPromotionTiers.md +14 -0
- package/docs/ParameterOrderListPromotionTiersClientSide.md +14 -0
- package/docs/ParameterOrderListPublications.md +30 -0
- package/docs/ParameterOrderListRedeemables.md +10 -0
- package/docs/ParameterOrderListRedemptions.md +26 -0
- package/docs/ParameterOrderListTransactions.md +10 -0
- package/docs/ParameterOrderListValidationRuleAssignments.md +10 -0
- package/docs/ParameterOrderListValidationRules.md +18 -0
- package/docs/ParameterOrderVouchers.md +18 -0
- package/docs/ParameterResultListPublications.md +10 -0
- package/docs/ParameterTemplatesList.md +10 -0
- package/docs/ParameterUpdatedBeforeAfter.md +10 -0
- package/docs/ParameterVoucherTypeListPublications.md +10 -0
- package/docs/ParametersFiltersListCampaignTransactions.md +11 -0
- package/docs/PointsExpirationTypes.md +12 -0
- package/docs/Product.md +28 -0
- package/docs/ProductCollectionsApi.md +324 -0
- package/docs/ProductCollectionsCreateRequestBody.md +21 -0
- package/docs/ProductCollectionsCreateRequestBodyProductsItem.md +22 -0
- package/docs/ProductCollectionsCreateResponseBody.md +35 -0
- package/docs/ProductCollectionsCreateResponseBodyProductsItem.md +22 -0
- package/docs/ProductCollectionsGetResponseBody.md +35 -0
- package/docs/ProductCollectionsGetResponseBodyProductsItem.md +22 -0
- package/docs/ProductCollectionsItem.md +35 -0
- package/docs/ProductCollectionsItemProductsItem.md +22 -0
- package/docs/ProductCollectionsListResponseBody.md +30 -0
- package/docs/ProductCollectionsProductsListResponseBody.md +12 -0
- package/docs/ProductCollectionsProductsListResponseBodyDataItem.md +33 -0
- package/docs/ProductWithoutSkus.md +27 -0
- package/docs/ProductsApi.md +892 -0
- package/docs/ProductsCreateRequestBody.md +15 -0
- package/docs/ProductsCreateResponseBody.md +28 -0
- package/docs/ProductsGetResponseBody.md +28 -0
- package/docs/ProductsImportCsvCreateResponseBody.md +9 -0
- package/docs/ProductsListResponseBody.md +12 -0
- package/docs/ProductsMetadataUpdateInBulkRequestBody.md +10 -0
- package/docs/ProductsMetadataUpdateInBulkResponseBody.md +9 -0
- package/docs/ProductsSkusCreateRequestBody.md +16 -0
- package/docs/ProductsSkusCreateResponseBody.md +29 -0
- package/docs/ProductsSkusListResponseBody.md +12 -0
- package/docs/ProductsSkusUpdateRequestBody.md +14 -0
- package/docs/ProductsSkusUpdateResponseBody.md +29 -0
- package/docs/ProductsUpdateInBulkRequestBody.md +14 -0
- package/docs/ProductsUpdateInBulkResponseBody.md +9 -0
- package/docs/ProductsUpdateRequestBody.md +13 -0
- package/docs/ProductsUpdateResponseBody.md +28 -0
- package/docs/PromotionStack.md +26 -0
- package/docs/PromotionStackBase.md +10 -0
- package/docs/PromotionStackBaseTiers.md +19 -0
- package/docs/PromotionStackTiers.md +19 -0
- package/docs/PromotionTier.md +51 -0
- package/docs/PromotionTierAction.md +9 -0
- package/docs/PromotionTierCampaign.md +38 -0
- package/docs/PromotionTierCreateParams.md +43 -0
- package/docs/PromotionTierCreateParamsAction.md +9 -0
- package/docs/PromotionTierSummary.md +10 -0
- package/docs/PromotionTierSummaryOrders.md +10 -0
- package/docs/PromotionTierSummaryRedemptions.md +9 -0
- package/docs/PromotionTiersList.md +13 -0
- package/docs/PromotionsApi.md +880 -0
- package/docs/PromotionsStacksCreateRequestBody.md +11 -0
- package/docs/PromotionsStacksCreateRequestBodyTiers.md +19 -0
- package/docs/PromotionsStacksCreateResponseBody.md +25 -0
- package/docs/PromotionsStacksCreateResponseBodyTiers.md +19 -0
- package/docs/PromotionsStacksGetResponseBody.md +26 -0
- package/docs/PromotionsStacksGetResponseBodyTiers.md +19 -0
- package/docs/PromotionsStacksListResponseBody.md +30 -0
- package/docs/PromotionsStacksUpdateRequestBody.md +11 -0
- package/docs/PromotionsStacksUpdateRequestBodyTiers.md +19 -0
- package/docs/PromotionsStacksUpdateResponseBody.md +26 -0
- package/docs/PromotionsStacksUpdateResponseBodyTiers.md +19 -0
- package/docs/PromotionsTiersCreateRequestBody.md +43 -0
- package/docs/PromotionsTiersCreateRequestBodyAction.md +9 -0
- package/docs/PromotionsTiersCreateResponseBody.md +51 -0
- package/docs/PromotionsTiersCreateResponseBodyAction.md +9 -0
- package/docs/PromotionsTiersCreateResponseBodyCampaign.md +38 -0
- package/docs/PromotionsTiersCreateResponseBodySummary.md +10 -0
- package/docs/PromotionsTiersCreateResponseBodySummaryOrders.md +10 -0
- package/docs/PromotionsTiersCreateResponseBodySummaryRedemptions.md +9 -0
- package/docs/PromotionsTiersDisableResponseBody.md +51 -0
- package/docs/PromotionsTiersDisableResponseBodyAction.md +9 -0
- package/docs/PromotionsTiersDisableResponseBodyCampaign.md +38 -0
- package/docs/PromotionsTiersDisableResponseBodySummary.md +10 -0
- package/docs/PromotionsTiersDisableResponseBodySummaryOrders.md +10 -0
- package/docs/PromotionsTiersDisableResponseBodySummaryRedemptions.md +9 -0
- package/docs/PromotionsTiersEnableResponseBody.md +51 -0
- package/docs/PromotionsTiersEnableResponseBodyAction.md +9 -0
- package/docs/PromotionsTiersEnableResponseBodyCampaign.md +38 -0
- package/docs/PromotionsTiersEnableResponseBodySummary.md +10 -0
- package/docs/PromotionsTiersEnableResponseBodySummaryOrders.md +10 -0
- package/docs/PromotionsTiersEnableResponseBodySummaryRedemptions.md +9 -0
- package/docs/PromotionsTiersGetResponseBody.md +51 -0
- package/docs/PromotionsTiersGetResponseBodyAction.md +9 -0
- package/docs/PromotionsTiersGetResponseBodyCampaign.md +38 -0
- package/docs/PromotionsTiersGetResponseBodySummary.md +10 -0
- package/docs/PromotionsTiersGetResponseBodySummaryOrders.md +10 -0
- package/docs/PromotionsTiersGetResponseBodySummaryRedemptions.md +9 -0
- package/docs/PromotionsTiersListResponseBody.md +13 -0
- package/docs/PromotionsTiersUpdateRequestBody.md +42 -0
- package/docs/PromotionsTiersUpdateRequestBodyAction.md +9 -0
- package/docs/PromotionsTiersUpdateResponseBody.md +51 -0
- package/docs/PromotionsTiersUpdateResponseBodyAction.md +9 -0
- package/docs/PromotionsTiersUpdateResponseBodyCampaign.md +38 -0
- package/docs/PromotionsTiersUpdateResponseBodySummary.md +10 -0
- package/docs/PromotionsTiersUpdateResponseBodySummaryOrders.md +10 -0
- package/docs/PromotionsTiersUpdateResponseBodySummaryRedemptions.md +9 -0
- package/docs/PublicationsApi.md +226 -0
- package/docs/PublicationsCreateRequestBody.md +14 -0
- package/docs/PublicationsCreateResponseBody.md +48 -0
- package/docs/PublicationsListResponseBody.md +12 -0
- package/docs/PublicationsListResponseBodyPublicationsItem.md +43 -0
- package/docs/PublicationsListResponseBodyPublicationsItemMetadata.md +11 -0
- package/docs/QualificationsApi.md +68 -0
- package/docs/QualificationsCheckEligibilityRequestBody.md +38 -0
- package/docs/QualificationsCheckEligibilityRequestBodySession.md +18 -0
- package/docs/QualificationsCheckEligibilityResponseBody.md +12 -0
- package/docs/QualificationsCheckEligibilityResponseBodyOrder.md +54 -0
- package/docs/QualificationsFieldConditions.md +9 -0
- package/docs/QualificationsFiltersCondition.md +14 -0
- package/docs/QualificationsOption.md +39 -0
- package/docs/QualificationsOptionFilters.md +17 -0
- package/docs/QualificationsOptionFiltersCampaignType.md +9 -0
- package/docs/QualificationsOptionFiltersCampaignTypeConditions.md +12 -0
- package/docs/QualificationsOptionFiltersHolderRole.md +9 -0
- package/docs/QualificationsOptionFiltersHolderRoleConditions.md +64 -0
- package/docs/QualificationsOptionFiltersResourceType.md +9 -0
- package/docs/QualificationsOptionFiltersResourceTypeConditions.md +12 -0
- package/docs/QualificationsRedeemable.md +39 -0
- package/docs/QualificationsRedeemableBase.md +38 -0
- package/docs/QualificationsRedeemableBaseOrder.md +54 -0
- package/docs/QualificationsRedeemableBaseOrderItemsItem.md +50 -0
- package/docs/QualificationsRedeemableOrder.md +54 -0
- package/docs/QualificationsRedeemableOrderItemsItem.md +50 -0
- package/docs/QualificationsRedeemables.md +32 -0
- package/docs/RedeemableGift.md +11 -0
- package/docs/RedeemableHolder.md +63 -0
- package/docs/RedeemableLoyaltyCard.md +13 -0
- package/docs/RedeemableResult.md +13 -0
- package/docs/RedeemableVoucher.md +70 -0
- package/docs/RedeemableVoucherGift.md +23 -0
- package/docs/RedeemableVoucherLoyaltyCard.md +15 -0
- package/docs/RedeemableVoucherPublish.md +11 -0
- package/docs/RedeemableVoucherRedemption.md +13 -0
- package/docs/Redemption.md +78 -0
- package/docs/RedemptionChannel.md +23 -0
- package/docs/RedemptionEntry.md +81 -0
- package/docs/RedemptionEntryChannel.md +23 -0
- package/docs/RedemptionEntryCustomer.md +23 -0
- package/docs/RedemptionEntryGift.md +9 -0
- package/docs/RedemptionEntryLoyaltyCard.md +9 -0
- package/docs/RedemptionEntryOrder.md +54 -0
- package/docs/RedemptionEntryOrderCustomer.md +19 -0
- package/docs/RedemptionEntryOrderItemsItem.md +50 -0
- package/docs/RedemptionEntryOrderItemsItemProduct.md +14 -0
- package/docs/RedemptionEntryOrderItemsItemSku.md +14 -0
- package/docs/RedemptionEntryOrderReferrer.md +19 -0
- package/docs/RedemptionEntryPromotionTier.md +51 -0
- package/docs/RedemptionEntryPromotionTierAction.md +9 -0
- package/docs/RedemptionEntryPromotionTierCampaign.md +38 -0
- package/docs/RedemptionEntryPromotionTierSummary.md +10 -0
- package/docs/RedemptionEntryPromotionTierSummaryOrders.md +10 -0
- package/docs/RedemptionEntryPromotionTierSummaryRedemptions.md +9 -0
- package/docs/RedemptionEntryRelatedRedemptions.md +10 -0
- package/docs/RedemptionEntryRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/RedemptionEntryRelatedRedemptionsRollbacksItem.md +22 -0
- package/docs/RedemptionEntrySession.md +9 -0
- package/docs/RedemptionEntryVoucher.md +72 -0
- package/docs/RedemptionEntryVoucherGift.md +23 -0
- package/docs/RedemptionEntryVoucherLoyaltyCard.md +15 -0
- package/docs/RedemptionEntryVoucherPublish.md +11 -0
- package/docs/RedemptionEntryVoucherRedemption.md +13 -0
- package/docs/RedemptionGift.md +9 -0
- package/docs/RedemptionLoyaltyCard.md +9 -0
- package/docs/RedemptionOrder.md +54 -0
- package/docs/RedemptionOrderCustomer.md +19 -0
- package/docs/RedemptionOrderItemsItem.md +50 -0
- package/docs/RedemptionOrderReferrer.md +19 -0
- package/docs/RedemptionRelatedRedemptions.md +10 -0
- package/docs/RedemptionRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/RedemptionRelatedRedemptionsRollbacksItem.md +22 -0
- package/docs/RedemptionRewardResult.md +44 -0
- package/docs/RedemptionRewardResultParameters.md +11 -0
- package/docs/RedemptionRewardResultParametersCampaign.md +11 -0
- package/docs/RedemptionRewardResultParametersCoin.md +10 -0
- package/docs/RedemptionRewardResultParametersProduct.md +10 -0
- package/docs/RedemptionRollback.md +75 -0
- package/docs/RedemptionRollbackChannel.md +21 -0
- package/docs/RedemptionRollbackGift.md +9 -0
- package/docs/RedemptionRollbackLoyaltyCard.md +9 -0
- package/docs/RedemptionRollbackOrder.md +54 -0
- package/docs/RedemptionSession.md +9 -0
- package/docs/RedemptionVoucher.md +72 -0
- package/docs/RedemptionVoucherGift.md +23 -0
- package/docs/RedemptionVoucherLoyaltyCard.md +15 -0
- package/docs/RedemptionVoucherPublish.md +11 -0
- package/docs/RedemptionVoucherRedemption.md +13 -0
- package/docs/RedemptionsApi.md +400 -0
- package/docs/RedemptionsGetResponseBody.md +81 -0
- package/docs/RedemptionsGetResponseBodyChannel.md +23 -0
- package/docs/RedemptionsGetResponseBodyCustomer.md +23 -0
- package/docs/RedemptionsGetResponseBodyGift.md +9 -0
- package/docs/RedemptionsGetResponseBodyLoyaltyCard.md +9 -0
- package/docs/RedemptionsGetResponseBodyOrder.md +54 -0
- package/docs/RedemptionsGetResponseBodyOrderCustomer.md +19 -0
- package/docs/RedemptionsGetResponseBodyOrderItemsItem.md +50 -0
- package/docs/RedemptionsGetResponseBodyOrderItemsItemProduct.md +14 -0
- package/docs/RedemptionsGetResponseBodyOrderItemsItemSku.md +14 -0
- package/docs/RedemptionsGetResponseBodyOrderReferrer.md +19 -0
- package/docs/RedemptionsGetResponseBodyPromotionTier.md +51 -0
- package/docs/RedemptionsGetResponseBodyPromotionTierAction.md +9 -0
- package/docs/RedemptionsGetResponseBodyPromotionTierCampaign.md +38 -0
- package/docs/RedemptionsGetResponseBodyPromotionTierSummary.md +10 -0
- package/docs/RedemptionsGetResponseBodyPromotionTierSummaryOrders.md +10 -0
- package/docs/RedemptionsGetResponseBodyPromotionTierSummaryRedemptions.md +9 -0
- package/docs/RedemptionsGetResponseBodyRelatedRedemptions.md +10 -0
- package/docs/RedemptionsGetResponseBodyRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/RedemptionsGetResponseBodyRelatedRedemptionsRollbacksItem.md +22 -0
- package/docs/RedemptionsGetResponseBodySession.md +9 -0
- package/docs/RedemptionsGetResponseBodyVoucher.md +72 -0
- package/docs/RedemptionsGetResponseBodyVoucherGift.md +23 -0
- package/docs/RedemptionsGetResponseBodyVoucherLoyaltyCard.md +15 -0
- package/docs/RedemptionsGetResponseBodyVoucherPublish.md +11 -0
- package/docs/RedemptionsGetResponseBodyVoucherRedemption.md +13 -0
- package/docs/RedemptionsListResponseBody.md +12 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItem.md +81 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemChannel.md +23 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemCustomer.md +23 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemGift.md +9 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemLoyaltyCard.md +9 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrder.md +54 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrderCustomer.md +19 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrderItemsItem.md +50 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrderItemsItemProduct.md +14 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrderItemsItemSku.md +14 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemOrderReferrer.md +19 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTier.md +51 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierAction.md +9 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierCampaign.md +38 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummary.md +10 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryOrders.md +10 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemPromotionTierSummaryRedemptions.md +9 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptions.md +10 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRedemptionsItem.md +10 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemRelatedRedemptionsRollbacksItem.md +22 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemSession.md +9 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemVoucher.md +72 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemVoucherGift.md +23 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemVoucherLoyaltyCard.md +15 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemVoucherPublish.md +11 -0
- package/docs/RedemptionsListResponseBodyRedemptionsItemVoucherRedemption.md +13 -0
- package/docs/RedemptionsRedeemRequestBody.md +15 -0
- package/docs/RedemptionsRedeemRequestBodyOptions.md +24 -0
- package/docs/RedemptionsRedeemRequestBodyRedeemablesItem.md +25 -0
- package/docs/RedemptionsRedeemRequestBodyRedeemablesItemGift.md +9 -0
- package/docs/RedemptionsRedeemRequestBodyRedeemablesItemReward.md +10 -0
- package/docs/RedemptionsRedeemResponseBody.md +13 -0
- package/docs/RedemptionsRedeemResponseBodyOrder.md +54 -0
- package/docs/RedemptionsRedeemResponseBodyOrderItemsItem.md +50 -0
- package/docs/RedemptionsRollbackCreateRequestBody.md +13 -0
- package/docs/RedemptionsRollbackCreateResponseBody.md +75 -0
- package/docs/RedemptionsRollbackCreateResponseBodyChannel.md +21 -0
- package/docs/RedemptionsRollbackCreateResponseBodyGift.md +9 -0
- package/docs/RedemptionsRollbackCreateResponseBodyLoyaltyCard.md +9 -0
- package/docs/RedemptionsRollbackCreateResponseBodyOrder.md +54 -0
- package/docs/RedemptionsRollbacksCreateRequestBody.md +13 -0
- package/docs/RedemptionsRollbacksCreateResponseBody.md +11 -0
- package/docs/RedemptionsRollbacksCreateResponseBodyOrder.md +54 -0
- package/docs/ReferralProgram.md +22 -0
- package/docs/ReferralProgramCustomEvent.md +10 -0
- package/docs/ReferralProgramRefereeReward.md +22 -0
- package/docs/ReferralProgramRefereeRewardRelatedObjectParent.md +20 -0
- package/docs/ReferralsApi.md +402 -0
- package/docs/ReferralsMembersHoldersCreateInBulkRequestBody.md +10 -0
- package/docs/ReferralsMembersHoldersCreateInBulkResponseBody.md +9 -0
- package/docs/ReferralsMembersHoldersListResponseBody.md +14 -0
- package/docs/Referrer.md +18 -0
- package/docs/ReferrerAddress.md +14 -0
- package/docs/ReferrerId.md +19 -0
- package/docs/ResourceTypes.md +12 -0
- package/docs/Reward.md +41 -0
- package/docs/RewardAssignment.md +34 -0
- package/docs/RewardAssignmentParameters.md +9 -0
- package/docs/RewardAssignmentParametersLoyalty.md +10 -0
- package/docs/RewardAttributes.md +10 -0
- package/docs/RewardType.md +11 -0
- package/docs/RewardTypeCampaign.md +24 -0
- package/docs/RewardTypeCoin.md +10 -0
- package/docs/RewardTypeProduct.md +10 -0
- package/docs/RewardsApi.md +632 -0
- package/docs/RewardsAssignmentsCreateRequestBody.md +11 -0
- package/docs/RewardsAssignmentsCreateRequestBodyParameters.md +9 -0
- package/docs/RewardsAssignmentsCreateRequestBodyParametersLoyalty.md +10 -0
- package/docs/RewardsAssignmentsCreateResponseBody.md +34 -0
- package/docs/RewardsAssignmentsCreateResponseBodyParameters.md +9 -0
- package/docs/RewardsAssignmentsCreateResponseBodyParametersLoyalty.md +10 -0
- package/docs/RewardsAssignmentsGetResponseBody.md +34 -0
- package/docs/RewardsAssignmentsGetResponseBodyParameters.md +9 -0
- package/docs/RewardsAssignmentsGetResponseBodyParametersLoyalty.md +10 -0
- package/docs/RewardsAssignmentsListResponseBody.md +12 -0
- package/docs/RewardsAssignmentsUpdateRequestBody.md +9 -0
- package/docs/RewardsAssignmentsUpdateRequestBodyParameters.md +9 -0
- package/docs/RewardsAssignmentsUpdateRequestBodyParametersLoyalty.md +10 -0
- package/docs/RewardsAssignmentsUpdateResponseBody.md +34 -0
- package/docs/RewardsAssignmentsUpdateResponseBodyParameters.md +9 -0
- package/docs/RewardsAssignmentsUpdateResponseBodyParametersLoyalty.md +10 -0
- package/docs/RewardsCreateRequestBody.md +13 -0
- package/docs/RewardsCreateRequestBodyAttributes.md +10 -0
- package/docs/RewardsCreateRequestBodyParameters.md +11 -0
- package/docs/RewardsCreateRequestBodyParametersCampaign.md +10 -0
- package/docs/RewardsCreateRequestBodyParametersCoin.md +10 -0
- package/docs/RewardsCreateRequestBodyParametersProduct.md +10 -0
- package/docs/RewardsCreateResponseBody.md +41 -0
- package/docs/RewardsCreateResponseBodyAttributes.md +10 -0
- package/docs/RewardsListResponseBody.md +12 -0
- package/docs/RewardsUpdateRequestBody.md +13 -0
- package/docs/RewardsUpdateRequestBodyAttributes.md +10 -0
- package/docs/RewardsUpdateRequestBodyParameters.md +11 -0
- package/docs/RewardsUpdateRequestBodyParametersCampaign.md +10 -0
- package/docs/RewardsUpdateRequestBodyParametersCoin.md +10 -0
- package/docs/RewardsUpdateRequestBodyParametersProduct.md +10 -0
- package/docs/RewardsUpdateResponseBody.md +41 -0
- package/docs/RewardsUpdateResponseBodyAttributes.md +10 -0
- package/docs/SegmentsApi.md +188 -0
- package/docs/SegmentsCreateRequestBody.md +25 -0
- package/docs/SegmentsCreateResponseBody.md +48 -0
- package/docs/SegmentsGetResponseBody.md +48 -0
- package/docs/Session.md +42 -0
- package/docs/SimpleCampaign.md +50 -0
- package/docs/SimpleCampaignVoucher.md +27 -0
- package/docs/SimpleCampaignVoucherRedemption.md +10 -0
- package/docs/SimpleCustomer.md +23 -0
- package/docs/SimpleCustomerRequiredObjectType.md +14 -0
- package/docs/SimpleEvent.md +25 -0
- package/docs/SimpleLoyaltyCard.md +15 -0
- package/docs/SimpleOrder.md +48 -0
- package/docs/SimpleOrderItem.md +44 -0
- package/docs/SimpleProduct.md +11 -0
- package/docs/SimpleProductDiscountUnit.md +11 -0
- package/docs/SimplePromotionStack.md +13 -0
- package/docs/SimplePromotionStackCampaign.md +9 -0
- package/docs/SimplePromotionStackTiers.md +19 -0
- package/docs/SimplePromotionTier.md +13 -0
- package/docs/SimplePromotionTierCampaign.md +9 -0
- package/docs/SimpleRedemption.md +51 -0
- package/docs/SimpleRedemptionChannel.md +23 -0
- package/docs/SimpleRedemptionRewardResult.md +44 -0
- package/docs/SimpleReferralTier.md +12 -0
- package/docs/SimpleSegment.md +20 -0
- package/docs/SimpleSku.md +11 -0
- package/docs/SimpleSkuDiscountUnit.md +11 -0
- package/docs/SimpleVoucher.md +51 -0
- package/docs/SimpleVoucherRedemption.md +11 -0
- package/docs/Sku.md +29 -0
- package/docs/SkusGetResponseBody.md +29 -0
- package/docs/SkusImportCsvCreateResponseBody.md +9 -0
- package/docs/SkusListForProduct.md +12 -0
- package/docs/StackingRules.md +78 -0
- package/docs/TemplatesApi.md +444 -0
- package/docs/TemplatesCampaignsCampaignSetupCreateRequestBody.md +58 -0
- package/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucher.md +10 -0
- package/docs/TemplatesCampaignsCampaignSetupCreateRequestBodyVoucherRedemption.md +9 -0
- package/docs/TemplatesCampaignsCampaignSetupCreateResponseBody.md +20 -0
- package/docs/TemplatesCampaignsCampaignSetupCreateResponseBodyCreatedResourcesItem.md +29 -0
- package/docs/TemplatesCampaignsCreateRequestBody.md +12 -0
- package/docs/TemplatesCampaignsCreateTemplateResponseBody.md +34 -0
- package/docs/TemplatesCampaignsGetResponseBody.md +35 -0
- package/docs/TemplatesCampaignsListResponseBody.md +32 -0
- package/docs/TemplatesCampaignsTierSetupCreateRequestBody.md +42 -0
- package/docs/TemplatesCampaignsTierSetupCreateResponseBody.md +20 -0
- package/docs/TemplatesCampaignsTierSetupCreateResponseBodyCreatedResourcesItem.md +29 -0
- package/docs/TemplatesCampaignsUpdateRequestBody.md +10 -0
- package/docs/TemplatesCampaignsUpdateResponseBody.md +35 -0
- package/docs/TrashBinItem.md +46 -0
- package/docs/TrashBinListResponseBody.md +32 -0
- package/docs/UsageNotifications.md +12 -0
- package/docs/User.md +15 -0
- package/docs/ValidationRule.md +152 -0
- package/docs/ValidationRuleApplicableTo.md +11 -0
- package/docs/ValidationRuleAssignment.md +42 -0
- package/docs/ValidationRuleAssignmentsList.md +12 -0
- package/docs/ValidationRuleError.md +9 -0
- package/docs/ValidationRulesApi.md +586 -0
- package/docs/ValidationRulesAssignmentsCreateRequestBody.md +29 -0
- package/docs/ValidationRulesAssignmentsCreateResponseBody.md +42 -0
- package/docs/ValidationRulesAssignmentsList.md +30 -0
- package/docs/ValidationRulesAssignmentsListResponseBody.md +12 -0
- package/docs/ValidationRulesCreateRequestBody.md +147 -0
- package/docs/ValidationRulesCreateRequestBodyApplicableTo.md +11 -0
- package/docs/ValidationRulesCreateRequestBodyError.md +9 -0
- package/docs/ValidationRulesCreateResponseBody.md +152 -0
- package/docs/ValidationRulesCreateResponseBodyApplicableTo.md +11 -0
- package/docs/ValidationRulesCreateResponseBodyError.md +9 -0
- package/docs/ValidationRulesGetResponseBody.md +152 -0
- package/docs/ValidationRulesGetResponseBodyApplicableTo.md +11 -0
- package/docs/ValidationRulesGetResponseBodyError.md +9 -0
- package/docs/ValidationRulesListResponseBody.md +12 -0
- package/docs/ValidationRulesUpdateRequestBody.md +147 -0
- package/docs/ValidationRulesUpdateRequestBodyApplicableTo.md +11 -0
- package/docs/ValidationRulesUpdateRequestBodyError.md +9 -0
- package/docs/ValidationRulesUpdateResponseBody.md +152 -0
- package/docs/ValidationRulesUpdateResponseBodyApplicableTo.md +11 -0
- package/docs/ValidationRulesUpdateResponseBodyError.md +9 -0
- package/docs/ValidationsApi.md +68 -0
- package/docs/ValidationsRedeemableInapplicable.md +37 -0
- package/docs/ValidationsRedeemableInapplicableResult.md +11 -0
- package/docs/ValidationsRedeemableInapplicableResultDetails.md +10 -0
- package/docs/ValidationsRedeemableSkipped.md +37 -0
- package/docs/ValidationsRedeemableSkippedResult.md +9 -0
- package/docs/ValidationsRedeemableSkippedResultDetails.md +29 -0
- package/docs/ValidationsValidateRequestBody.md +15 -0
- package/docs/ValidationsValidateRequestBodyOptions.md +24 -0
- package/docs/ValidationsValidateRequestBodyRedeemablesItem.md +25 -0
- package/docs/ValidationsValidateRequestBodyRedeemablesItemGift.md +9 -0
- package/docs/ValidationsValidateRequestBodyRedeemablesItemReward.md +10 -0
- package/docs/ValidationsValidateResponseBody.md +17 -0
- package/docs/ValidationsValidateResponseBodyOrder.md +54 -0
- package/docs/ValidationsValidateResponseBodyOrderItemsItem.md +50 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItem.md +44 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemOrder.md +54 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemOrderCustomer.md +19 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemOrderReferrer.md +19 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResult.md +14 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResultDetails.md +10 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResultDiscount.md +63 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResultDiscountProduct.md +11 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResultGift.md +10 -0
- package/docs/ValidationsValidateResponseBodyRedeemablesItemResultLoyaltyCard.md +9 -0
- package/docs/ValidityHours.md +9 -0
- package/docs/ValidityHoursDailyItem.md +32 -0
- package/docs/ValidityTimeframe.md +10 -0
- package/docs/Voucher.md +71 -0
- package/docs/VoucherAssets.md +10 -0
- package/docs/VoucherAssetsBarcode.md +10 -0
- package/docs/VoucherAssetsQr.md +10 -0
- package/docs/VoucherBalance.md +47 -0
- package/docs/VoucherBalanceRelatedObject.md +19 -0
- package/docs/VoucherGift.md +23 -0
- package/docs/VoucherLoyaltyCard.md +15 -0
- package/docs/VoucherPublish.md +11 -0
- package/docs/VoucherRedemption.md +13 -0
- package/docs/VoucherTransaction.md +51 -0
- package/docs/VoucherTransactionDetails.md +23 -0
- package/docs/VoucherTransactionDetailsCustomEvent.md +10 -0
- package/docs/VoucherTransactionDetailsEarningRule.md +10 -0
- package/docs/VoucherTransactionDetailsEarningRuleSource.md +9 -0
- package/docs/VoucherTransactionDetailsEvent.md +10 -0
- package/docs/VoucherTransactionDetailsEventSchema.md +10 -0
- package/docs/VoucherTransactionDetailsHolderLoyaltyTier.md +10 -0
- package/docs/VoucherTransactionDetailsLoyaltyTier.md +10 -0
- package/docs/VoucherTransactionDetailsOrder.md +10 -0
- package/docs/VoucherTransactionDetailsRedemption.md +9 -0
- package/docs/VoucherTransactionDetailsReward.md +10 -0
- package/docs/VoucherTransactionDetailsRollback.md +9 -0
- package/docs/VoucherTransactionDetailsSegment.md +10 -0
- package/docs/VoucherTransactionsExportFilterConditions.md +9 -0
- package/docs/VoucherTransactionsExportFilterConditionsVoucherId.md +9 -0
- package/docs/VoucherTransactionsExportFilterConditionsVoucherIdConditions.md +9 -0
- package/docs/VoucherTransactionsExportParameters.md +52 -0
- package/docs/VoucherTransactionsFilters.md +53 -0
- package/docs/VoucherWithCategories.md +70 -0
- package/docs/VoucherWithCategoriesGift.md +23 -0
- package/docs/VoucherWithCategoriesLoyaltyCard.md +15 -0
- package/docs/VoucherWithCategoriesPublish.md +11 -0
- package/docs/VoucherWithCategoriesRedemption.md +13 -0
- package/docs/VouchersApi.md +1016 -0
- package/docs/VouchersBalanceUpdateRequestBody.md +11 -0
- package/docs/VouchersBalanceUpdateResponseBody.md +44 -0
- package/docs/VouchersBalanceUpdateResponseBodyRelatedObject.md +19 -0
- package/docs/VouchersCreateRequestBody.md +62 -0
- package/docs/VouchersCreateRequestBodyRedemption.md +9 -0
- package/docs/VouchersCreateResponseBody.md +71 -0
- package/docs/VouchersCreateResponseBodyGift.md +23 -0
- package/docs/VouchersCreateResponseBodyLoyaltyCard.md +15 -0
- package/docs/VouchersCreateResponseBodyPublish.md +11 -0
- package/docs/VouchersCreateResponseBodyRedemption.md +13 -0
- package/docs/VouchersCreateWithSpecificCodeRequestBody.md +60 -0
- package/docs/VouchersCreateWithSpecificCodeRequestBodyRedemption.md +9 -0
- package/docs/VouchersDisableResponseBody.md +71 -0
- package/docs/VouchersDisableResponseBodyGift.md +23 -0
- package/docs/VouchersDisableResponseBodyLoyaltyCard.md +15 -0
- package/docs/VouchersDisableResponseBodyPublish.md +11 -0
- package/docs/VouchersDisableResponseBodyRedemption.md +13 -0
- package/docs/VouchersEnableResponseBody.md +71 -0
- package/docs/VouchersEnableResponseBodyGift.md +23 -0
- package/docs/VouchersEnableResponseBodyLoyaltyCard.md +15 -0
- package/docs/VouchersEnableResponseBodyPublish.md +11 -0
- package/docs/VouchersEnableResponseBodyRedemption.md +13 -0
- package/docs/VouchersGetResponseBody.md +71 -0
- package/docs/VouchersGetResponseBodyGift.md +23 -0
- package/docs/VouchersGetResponseBodyLoyaltyCard.md +15 -0
- package/docs/VouchersGetResponseBodyPublish.md +11 -0
- package/docs/VouchersGetResponseBodyRedemption.md +13 -0
- package/docs/VouchersImportCreateItemRequestBody.md +53 -0
- package/docs/VouchersImportCreateItemRequestBodyRedemption.md +9 -0
- package/docs/VouchersImportCreateResponseBody.md +9 -0
- package/docs/VouchersImportCsvCreateResponseBody.md +9 -0
- package/docs/VouchersListResponseBody.md +30 -0
- package/docs/VouchersMetadataUpdateInBulkRequestBody.md +10 -0
- package/docs/VouchersMetadataUpdateInBulkResponseBody.md +9 -0
- package/docs/VouchersRedemptionGetResponseBody.md +15 -0
- package/docs/VouchersTransactionsExportCreateRequestBody.md +9 -0
- package/docs/VouchersTransactionsExportCreateResponseBody.md +44 -0
- package/docs/VouchersTransactionsExportCreateResponseBodyResult.md +9 -0
- package/docs/VouchersTransactionsListResponseBody.md +31 -0
- package/docs/VouchersUpdateInBulkItemRequestBody.md +10 -0
- package/docs/VouchersUpdateInBulkResponseBody.md +9 -0
- package/docs/VouchersUpdateRequestBody.md +50 -0
- package/docs/VouchersUpdateResponseBody.md +71 -0
- package/docs/VouchersUpdateResponseBodyGift.md +23 -0
- package/docs/VouchersUpdateResponseBodyLoyaltyCard.md +15 -0
- package/docs/VouchersUpdateResponseBodyPublish.md +11 -0
- package/docs/VouchersUpdateResponseBodyRedemption.md +13 -0
- package/package.json +69 -58
- package/dist/ApiLimitsHandler.d.ts +0 -13
- package/dist/AsyncActions.d.ts +0 -17
- package/dist/Balance.d.ts +0 -15
- package/dist/Campaigns.d.ts +0 -66
- package/dist/Categories.d.ts +0 -29
- package/dist/ClientSide.d.ts +0 -77
- package/dist/Consents.d.ts +0 -13
- package/dist/Customers.d.ts +0 -75
- package/dist/Distributions.d.ts +0 -29
- package/dist/Events.d.ts +0 -15
- package/dist/Exports.d.ts +0 -25
- package/dist/Loyalties.d.ts +0 -171
- package/dist/MetadataSchemas.d.ts +0 -17
- package/dist/Orders.d.ts +0 -32
- package/dist/ProductCollections.d.ts +0 -30
- package/dist/Products.d.ts +0 -66
- package/dist/PromotionTiers.d.ts +0 -43
- package/dist/Promotions.d.ts +0 -30
- package/dist/PromotionsStacks.d.ts +0 -34
- package/dist/Qualifications.d.ts +0 -24
- package/dist/Redemptions.d.ts +0 -53
- package/dist/RequestController.d.ts +0 -31
- package/dist/Rewards.d.ts +0 -46
- package/dist/Segments.d.ts +0 -25
- package/dist/ValidationRules.d.ts +0 -47
- package/dist/Validations.d.ts +0 -39
- package/dist/VoucherifyClientSide.d.ts +0 -112
- package/dist/VoucherifyError.d.ts +0 -23
- package/dist/VoucherifyServerSide.d.ts +0 -170
- package/dist/Vouchers.d.ts +0 -84
- package/dist/helpers.d.ts +0 -20
- package/dist/index.d.ts +0 -63
- package/dist/types/ApplicableTo.d.ts +0 -32
- package/dist/types/AsyncActions.d.ts +0 -23
- package/dist/types/Balance.d.ts +0 -18
- package/dist/types/Campaigns.d.ts +0 -124
- package/dist/types/Categories.d.ts +0 -40
- package/dist/types/ClientSide.d.ts +0 -145
- package/dist/types/Consents.d.ts +0 -34
- package/dist/types/Customers.d.ts +0 -363
- package/dist/types/DiscountVoucher.d.ts +0 -94
- package/dist/types/Distributions.d.ts +0 -148
- package/dist/types/Events.d.ts +0 -21
- package/dist/types/Exports.d.ts +0 -151
- package/dist/types/Gift.d.ts +0 -5
- package/dist/types/Loyalties.d.ts +0 -1061
- package/dist/types/MetadataSchemas.d.ts +0 -34
- package/dist/types/Orders.d.ts +0 -199
- package/dist/types/ProductCollections.d.ts +0 -99
- package/dist/types/Products.d.ts +0 -108
- package/dist/types/PromotionTiers.d.ts +0 -131
- package/dist/types/Promotions.d.ts +0 -113
- package/dist/types/PromotionsStacks.d.ts +0 -74
- package/dist/types/Qualifications.d.ts +0 -92
- package/dist/types/Redemptions.d.ts +0 -215
- package/dist/types/Rewards.d.ts +0 -220
- package/dist/types/Segments.d.ts +0 -34
- package/dist/types/Stackable.d.ts +0 -106
- package/dist/types/UtilityTypes.d.ts +0 -5
- package/dist/types/ValidateSession.d.ts +0 -19
- package/dist/types/ValidationError.d.ts +0 -9
- package/dist/types/ValidationRules.d.ts +0 -96
- package/dist/types/Validations.d.ts +0 -109
- package/dist/types/Vouchers.d.ts +0 -452
- package/dist/types/index.d.ts +0 -27
- package/dist/voucherifysdk.cjs +0 -2023
- package/dist/voucherifysdk.cjs.map +0 -1
- package/dist/voucherifysdk.esm.js +0 -1986
- package/dist/voucherifysdk.esm.js.map +0 -1
|
@@ -0,0 +1,906 @@
|
|
|
1
|
+
# Voucherify.CampaignsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.voucherify.io*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**addVoucherWithSpecificCodeToCampaign**](CampaignsApi.md#addVoucherWithSpecificCodeToCampaign) | **POST** /v1/campaigns/{campaignId}/vouchers/{code} | Add Voucher with Specific Code to Campaign
|
|
8
|
+
[**addVouchersToCampaign**](CampaignsApi.md#addVouchersToCampaign) | **POST** /v1/campaigns/{campaignId}/vouchers | Add Vouchers to Campaign
|
|
9
|
+
[**createCampaign**](CampaignsApi.md#createCampaign) | **POST** /v1/campaigns | Create Campaign
|
|
10
|
+
[**deleteCampaign**](CampaignsApi.md#deleteCampaign) | **DELETE** /v1/campaigns/{campaignId} | Delete Campaign
|
|
11
|
+
[**disableCampaign**](CampaignsApi.md#disableCampaign) | **POST** /v1/campaigns/{campaignId}/disable | Disable Campaign
|
|
12
|
+
[**enableCampaign**](CampaignsApi.md#enableCampaign) | **POST** /v1/campaigns/{campaignId}/enable | Enable Campaign
|
|
13
|
+
[**exportCampaignTransactions**](CampaignsApi.md#exportCampaignTransactions) | **POST** /v1/campaigns/{campaignId}/transactions/export | Export Campaign Transactions
|
|
14
|
+
[**getCampaign**](CampaignsApi.md#getCampaign) | **GET** /v1/campaigns/{campaignId} | Get Campaign
|
|
15
|
+
[**getCampaignSummary**](CampaignsApi.md#getCampaignSummary) | **GET** /v1/campaigns/{campaignId}/summary | Get Campaign Summary
|
|
16
|
+
[**importVouchersToCampaign**](CampaignsApi.md#importVouchersToCampaign) | **POST** /v1/campaigns/{campaignId}/import | Import Vouchers to Campaign
|
|
17
|
+
[**importVouchersToCampaignUsingCsv**](CampaignsApi.md#importVouchersToCampaignUsingCsv) | **POST** /v1/campaigns/{campaignId}/importCSV | Import Vouchers to Campaign by CSV
|
|
18
|
+
[**listCampaignTransactions**](CampaignsApi.md#listCampaignTransactions) | **GET** /v1/campaigns/{campaignId}/transactions | List Campaign Transactions
|
|
19
|
+
[**listCampaigns**](CampaignsApi.md#listCampaigns) | **GET** /v1/campaigns | List Campaigns
|
|
20
|
+
[**updateCampaign**](CampaignsApi.md#updateCampaign) | **PUT** /v1/campaigns/{campaignId} | Update Campaign
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## addVoucherWithSpecificCodeToCampaign
|
|
25
|
+
|
|
26
|
+
> CampaignsVouchersCreateResponseBody addVoucherWithSpecificCodeToCampaign(campaignId, code, campaignsVouchersCreateRequestBody)
|
|
27
|
+
|
|
28
|
+
Add Voucher with Specific Code to Campaign
|
|
29
|
+
|
|
30
|
+
This method gives a possibility to add a new voucher to an existing campaign. The voucher definition will be inherited from the definition kept in the campaign profile. However, you are able to overwrite a few properties inherited from the campaign.
|
|
31
|
+
|
|
32
|
+
### Example
|
|
33
|
+
|
|
34
|
+
```javascript
|
|
35
|
+
import Voucherify from 'voucherify';
|
|
36
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
37
|
+
// Configure API key authorization: X-App-Id
|
|
38
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
39
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
40
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
41
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
42
|
+
// Configure API key authorization: X-App-Token
|
|
43
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
44
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
45
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
46
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
47
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
48
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
49
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
50
|
+
|
|
51
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
52
|
+
let campaignId = "campaignId_example"; // String | The campaign ID or name of the campaign to which voucher will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
53
|
+
let code = "code_example"; // String | A custom **code** that identifies the voucher.
|
|
54
|
+
let campaignsVouchersCreateRequestBody = {"category_id":"cat_0bb81a481615a37b5e","start_date":"2022-09-24T00:00:00Z","expiration_date":"2022-09-25T23:59:59Z","active":false,"redemption":{"quantity":null},"additional_info":"Voucher added using API","metadata":{"Season":"Fall"}}; // CampaignsVouchersCreateRequestBody | Specify the voucher parameters that you would like to overwrite.
|
|
55
|
+
apiInstance.addVoucherWithSpecificCodeToCampaign(campaignId, code, campaignsVouchersCreateRequestBody, (error, data, response) => {
|
|
56
|
+
if (error) {
|
|
57
|
+
console.error(error);
|
|
58
|
+
} else {
|
|
59
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Name | Type | Description | Notes
|
|
68
|
+
------------- | ------------- | ------------- | -------------
|
|
69
|
+
**campaignId** | **String**| The campaign ID or name of the campaign to which voucher will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
70
|
+
**code** | **String**| A custom **code** that identifies the voucher. |
|
|
71
|
+
**campaignsVouchersCreateRequestBody** | [**CampaignsVouchersCreateRequestBody**](CampaignsVouchersCreateRequestBody.md)| Specify the voucher parameters that you would like to overwrite. |
|
|
72
|
+
|
|
73
|
+
### Return type
|
|
74
|
+
|
|
75
|
+
[**CampaignsVouchersCreateResponseBody**](CampaignsVouchersCreateResponseBody.md)
|
|
76
|
+
|
|
77
|
+
### Authorization
|
|
78
|
+
|
|
79
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
80
|
+
|
|
81
|
+
### HTTP request headers
|
|
82
|
+
|
|
83
|
+
- **Content-Type**: application/json
|
|
84
|
+
- **Accept**: application/json
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## addVouchersToCampaign
|
|
88
|
+
|
|
89
|
+
> CampaignsVouchersCreateCombinedResponseBody addVouchersToCampaign(campaignId, campaignsVouchersCreateInBulkRequestBody, opts)
|
|
90
|
+
|
|
91
|
+
Add Vouchers to Campaign
|
|
92
|
+
|
|
93
|
+
This method gives the possibility to push new vouchers to an existing campaign. New vouchers will inherit properties from the campaign profile. However, it is possible to overwrite some of them in the request body. If you provide an optional code_config parameter with a voucher code configuration, then it will be used to generate new voucher codes. Otherwise, the voucher code configuration from the campaign will be used. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
94
|
+
|
|
95
|
+
### Example
|
|
96
|
+
|
|
97
|
+
```javascript
|
|
98
|
+
import Voucherify from 'voucherify';
|
|
99
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
100
|
+
// Configure API key authorization: X-App-Id
|
|
101
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
102
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
103
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
104
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
105
|
+
// Configure API key authorization: X-App-Token
|
|
106
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
107
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
108
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
109
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
110
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
111
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
112
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
113
|
+
|
|
114
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
115
|
+
let campaignId = "campaignId_example"; // String | The campaign ID or name of the campaign to which voucher(s) will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
116
|
+
let campaignsVouchersCreateInBulkRequestBody = new Voucherify.CampaignsVouchersCreateInBulkRequestBody(); // CampaignsVouchersCreateInBulkRequestBody | Specify the voucher parameters that you would like to overwrite.
|
|
117
|
+
let opts = {
|
|
118
|
+
'vouchersCount': 56 // Number | Number of vouchers that should be added.
|
|
119
|
+
};
|
|
120
|
+
apiInstance.addVouchersToCampaign(campaignId, campaignsVouchersCreateInBulkRequestBody, opts, (error, data, response) => {
|
|
121
|
+
if (error) {
|
|
122
|
+
console.error(error);
|
|
123
|
+
} else {
|
|
124
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Parameters
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
Name | Type | Description | Notes
|
|
133
|
+
------------- | ------------- | ------------- | -------------
|
|
134
|
+
**campaignId** | **String**| The campaign ID or name of the campaign to which voucher(s) will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
135
|
+
**campaignsVouchersCreateInBulkRequestBody** | [**CampaignsVouchersCreateInBulkRequestBody**](CampaignsVouchersCreateInBulkRequestBody.md)| Specify the voucher parameters that you would like to overwrite. |
|
|
136
|
+
**vouchersCount** | **Number**| Number of vouchers that should be added. | [optional]
|
|
137
|
+
|
|
138
|
+
### Return type
|
|
139
|
+
|
|
140
|
+
[**CampaignsVouchersCreateCombinedResponseBody**](CampaignsVouchersCreateCombinedResponseBody.md)
|
|
141
|
+
|
|
142
|
+
### Authorization
|
|
143
|
+
|
|
144
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
145
|
+
|
|
146
|
+
### HTTP request headers
|
|
147
|
+
|
|
148
|
+
- **Content-Type**: application/json
|
|
149
|
+
- **Accept**: application/json
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
## createCampaign
|
|
153
|
+
|
|
154
|
+
> CampaignsCreateResponseBody createCampaign(campaignsCreateRequestBody)
|
|
155
|
+
|
|
156
|
+
Create Campaign
|
|
157
|
+
|
|
158
|
+
Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. 📘 Global uniqueness All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. 🚧 Code generation status This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the [campaign object](/api-reference/campaigns/campaign-object) description. 🚧 Standalone Vouchers and Campaigns In version [v20241004](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20241004), generic (standalone) vouchers created through the Voucherify dashboard create a campaign for that voucher. However, you cannot create a standalone discount or gift voucher campaign with the type: STANDALONE through the API. Voucherify developers work on adding that feature. Follow the [Voucherify Release Notes](https://support.voucherify.io/article/23-whats-new-in-voucherify) for more details about released features.
|
|
159
|
+
|
|
160
|
+
### Example
|
|
161
|
+
|
|
162
|
+
```javascript
|
|
163
|
+
import Voucherify from 'voucherify';
|
|
164
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
165
|
+
// Configure API key authorization: X-App-Id
|
|
166
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
167
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
168
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
169
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
170
|
+
// Configure API key authorization: X-App-Token
|
|
171
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
172
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
173
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
174
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
175
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
176
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
177
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
178
|
+
|
|
179
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
180
|
+
let campaignsCreateRequestBody = {"name":"Discount Campaign 4","campaign_type":"DISCOUNT_COUPONS","join_once":true,"type":"AUTO_UPDATE","start_date":"2020-08-16T00:00:00Z","expiration_date":"2023-12-26T00:00:00Z","vouchers_count":3,"voucher":{"type":"DISCOUNT_VOUCHER","discount":{"percent_off":10,"type":"PERCENT"},"redemption":{"quantity":10},"code_config":{"pattern":"10OFF-#######"}},"validity_timeframe":{"interval":"P2D","duration":"P1D"},"validity_day_of_week":[0,1,2],"activity_duration_after_publishing":"P24D","use_voucher_metadata_schema":false,"metadata":{"region":"AMER"}}; // CampaignsCreateRequestBody | Specify the details of the campaign that you would like to create.
|
|
181
|
+
apiInstance.createCampaign(campaignsCreateRequestBody, (error, data, response) => {
|
|
182
|
+
if (error) {
|
|
183
|
+
console.error(error);
|
|
184
|
+
} else {
|
|
185
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Parameters
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
Name | Type | Description | Notes
|
|
194
|
+
------------- | ------------- | ------------- | -------------
|
|
195
|
+
**campaignsCreateRequestBody** | [**CampaignsCreateRequestBody**](CampaignsCreateRequestBody.md)| Specify the details of the campaign that you would like to create. |
|
|
196
|
+
|
|
197
|
+
### Return type
|
|
198
|
+
|
|
199
|
+
[**CampaignsCreateResponseBody**](CampaignsCreateResponseBody.md)
|
|
200
|
+
|
|
201
|
+
### Authorization
|
|
202
|
+
|
|
203
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
204
|
+
|
|
205
|
+
### HTTP request headers
|
|
206
|
+
|
|
207
|
+
- **Content-Type**: application/json
|
|
208
|
+
- **Accept**: application/json
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
## deleteCampaign
|
|
212
|
+
|
|
213
|
+
> CampaignsDeleteResponseBody deleteCampaign(campaignId, opts)
|
|
214
|
+
|
|
215
|
+
Delete Campaign
|
|
216
|
+
|
|
217
|
+
Deletes a campaign and all related vouchers. This action cannot be undone. Also, this method immediately removes any redemptions on the voucher. If the force parameter is set to false or not set at all, the campaign and all related vouchers will be moved to [the bin](/api-reference/bin/list-bin-entries). This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
218
|
+
|
|
219
|
+
### Example
|
|
220
|
+
|
|
221
|
+
```javascript
|
|
222
|
+
import Voucherify from 'voucherify';
|
|
223
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
224
|
+
// Configure API key authorization: X-App-Id
|
|
225
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
226
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
227
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
228
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
229
|
+
// Configure API key authorization: X-App-Token
|
|
230
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
231
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
232
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
233
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
234
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
235
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
236
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
237
|
+
|
|
238
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
239
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
240
|
+
let opts = {
|
|
241
|
+
'force': true // Boolean | If this flag is set to true, the campaign and related vouchers will be removed permanently. If it is set to false or not set at all, the campaign and related vouchers will be moved to the bin. Going forward, the user will be able to create the next campaign with exactly the same name.
|
|
242
|
+
};
|
|
243
|
+
apiInstance.deleteCampaign(campaignId, opts, (error, data, response) => {
|
|
244
|
+
if (error) {
|
|
245
|
+
console.error(error);
|
|
246
|
+
} else {
|
|
247
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Parameters
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
Name | Type | Description | Notes
|
|
256
|
+
------------- | ------------- | ------------- | -------------
|
|
257
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
258
|
+
**force** | **Boolean**| If this flag is set to true, the campaign and related vouchers will be removed permanently. If it is set to false or not set at all, the campaign and related vouchers will be moved to the bin. Going forward, the user will be able to create the next campaign with exactly the same name. | [optional]
|
|
259
|
+
|
|
260
|
+
### Return type
|
|
261
|
+
|
|
262
|
+
[**CampaignsDeleteResponseBody**](CampaignsDeleteResponseBody.md)
|
|
263
|
+
|
|
264
|
+
### Authorization
|
|
265
|
+
|
|
266
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
267
|
+
|
|
268
|
+
### HTTP request headers
|
|
269
|
+
|
|
270
|
+
- **Content-Type**: Not defined
|
|
271
|
+
- **Accept**: application/json
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
## disableCampaign
|
|
275
|
+
|
|
276
|
+
> Object disableCampaign(campaignId)
|
|
277
|
+
|
|
278
|
+
Disable Campaign
|
|
279
|
+
|
|
280
|
+
There are various times when youll want to manage a campaigns accessibility. This can be done by two API methods for managing the campaign state - *enable* and *disable*. Sets campaign state to **inactive**. The vouchers in this campaign can no longer be redeemed.
|
|
281
|
+
|
|
282
|
+
### Example
|
|
283
|
+
|
|
284
|
+
```javascript
|
|
285
|
+
import Voucherify from 'voucherify';
|
|
286
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
287
|
+
// Configure API key authorization: X-App-Id
|
|
288
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
289
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
290
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
291
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
292
|
+
// Configure API key authorization: X-App-Token
|
|
293
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
294
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
295
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
296
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
297
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
298
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
299
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
300
|
+
|
|
301
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
302
|
+
let campaignId = "campaignId_example"; // String | The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
303
|
+
apiInstance.disableCampaign(campaignId, (error, data, response) => {
|
|
304
|
+
if (error) {
|
|
305
|
+
console.error(error);
|
|
306
|
+
} else {
|
|
307
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
### Parameters
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
Name | Type | Description | Notes
|
|
316
|
+
------------- | ------------- | ------------- | -------------
|
|
317
|
+
**campaignId** | **String**| The campaign ID or name of the campaign being disabled. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
**Object**
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: application/json
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
## enableCampaign
|
|
334
|
+
|
|
335
|
+
> Object enableCampaign(campaignId)
|
|
336
|
+
|
|
337
|
+
Enable Campaign
|
|
338
|
+
|
|
339
|
+
There are various times when youll want to manage a campaigns accessibility. This can be done by two API methods for managing the campaign state - *enable* and *disable*. Sets campaign state to **active**. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
|
|
340
|
+
|
|
341
|
+
### Example
|
|
342
|
+
|
|
343
|
+
```javascript
|
|
344
|
+
import Voucherify from 'voucherify';
|
|
345
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
346
|
+
// Configure API key authorization: X-App-Id
|
|
347
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
348
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
349
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
350
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
351
|
+
// Configure API key authorization: X-App-Token
|
|
352
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
353
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
354
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
355
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
356
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
357
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
358
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
359
|
+
|
|
360
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
361
|
+
let campaignId = "campaignId_example"; // String | The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
362
|
+
apiInstance.enableCampaign(campaignId, (error, data, response) => {
|
|
363
|
+
if (error) {
|
|
364
|
+
console.error(error);
|
|
365
|
+
} else {
|
|
366
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Parameters
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
Name | Type | Description | Notes
|
|
375
|
+
------------- | ------------- | ------------- | -------------
|
|
376
|
+
**campaignId** | **String**| The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value. |
|
|
377
|
+
|
|
378
|
+
### Return type
|
|
379
|
+
|
|
380
|
+
**Object**
|
|
381
|
+
|
|
382
|
+
### Authorization
|
|
383
|
+
|
|
384
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
385
|
+
|
|
386
|
+
### HTTP request headers
|
|
387
|
+
|
|
388
|
+
- **Content-Type**: Not defined
|
|
389
|
+
- **Accept**: application/json
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
## exportCampaignTransactions
|
|
393
|
+
|
|
394
|
+
> CampaignsTransactionsExportCreateResponseBody exportCampaignTransactions(campaignId, campaignsTransactionsExportCreateRequestBody)
|
|
395
|
+
|
|
396
|
+
Export Campaign Transactions
|
|
397
|
+
|
|
398
|
+
Export transactions is an asynchronous process that generates a CSV file with the data about credit movements on all gift cards or point movements on all loyalty cards in a given campaign. To export transactions: 1. In the export request, use parameters to select which fields will be exported, in what order, and which data will be filtered. 2. Use the returned id to track the export status with the [GET Export](/api-reference/exports/get-export) method. 3. In the GET Export method, when the returned status field has the DONE value, the export file has been generated. 4. Use the URL in the result property to download the file. You must be logged to your Voucherify account on a given cluster in the browser to be able to download the file. An export request will almost always result in a single file being generated by the system. However, when the data volume is large, the system may split the results into multiple files. An example export file can look as follows: 👍 Export Loyalty Campaign Transactions For loyalty campaigns, this method works in the same way the [POST Export Loyalty Campaign Transactions](/api-reference/loyalties/export-loyalty-campaign-transactions) does.
|
|
399
|
+
|
|
400
|
+
### Example
|
|
401
|
+
|
|
402
|
+
```javascript
|
|
403
|
+
import Voucherify from 'voucherify';
|
|
404
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
405
|
+
// Configure API key authorization: X-App-Id
|
|
406
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
407
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
408
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
409
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
410
|
+
// Configure API key authorization: X-App-Token
|
|
411
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
412
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
413
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
414
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
415
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
416
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
417
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
418
|
+
|
|
419
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
420
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
421
|
+
let campaignsTransactionsExportCreateRequestBody = {"order":"-created_at","parameters":{"fields":["id","type","source_id","created_at"],"filters":{"created_at":{"conditions":{"$after":["2024-10-01T00:00:00.000Z"]}}}}}; // CampaignsTransactionsExportCreateRequestBody | Specify the parameters for the transaction export.
|
|
422
|
+
apiInstance.exportCampaignTransactions(campaignId, campaignsTransactionsExportCreateRequestBody, (error, data, response) => {
|
|
423
|
+
if (error) {
|
|
424
|
+
console.error(error);
|
|
425
|
+
} else {
|
|
426
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
427
|
+
}
|
|
428
|
+
});
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Parameters
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
Name | Type | Description | Notes
|
|
435
|
+
------------- | ------------- | ------------- | -------------
|
|
436
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
437
|
+
**campaignsTransactionsExportCreateRequestBody** | [**CampaignsTransactionsExportCreateRequestBody**](CampaignsTransactionsExportCreateRequestBody.md)| Specify the parameters for the transaction export. |
|
|
438
|
+
|
|
439
|
+
### Return type
|
|
440
|
+
|
|
441
|
+
[**CampaignsTransactionsExportCreateResponseBody**](CampaignsTransactionsExportCreateResponseBody.md)
|
|
442
|
+
|
|
443
|
+
### Authorization
|
|
444
|
+
|
|
445
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
446
|
+
|
|
447
|
+
### HTTP request headers
|
|
448
|
+
|
|
449
|
+
- **Content-Type**: application/json
|
|
450
|
+
- **Accept**: application/json
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
## getCampaign
|
|
454
|
+
|
|
455
|
+
> CampaignsGetResponseBody getCampaign(campaignId)
|
|
456
|
+
|
|
457
|
+
Get Campaign
|
|
458
|
+
|
|
459
|
+
Retrieves the campaign with the given campaign ID or campaign name.
|
|
460
|
+
|
|
461
|
+
### Example
|
|
462
|
+
|
|
463
|
+
```javascript
|
|
464
|
+
import Voucherify from 'voucherify';
|
|
465
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
466
|
+
// Configure API key authorization: X-App-Id
|
|
467
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
468
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
469
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
470
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
471
|
+
// Configure API key authorization: X-App-Token
|
|
472
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
473
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
474
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
475
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
476
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
477
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
478
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
479
|
+
|
|
480
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
481
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
482
|
+
apiInstance.getCampaign(campaignId, (error, data, response) => {
|
|
483
|
+
if (error) {
|
|
484
|
+
console.error(error);
|
|
485
|
+
} else {
|
|
486
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
487
|
+
}
|
|
488
|
+
});
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
### Parameters
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
Name | Type | Description | Notes
|
|
495
|
+
------------- | ------------- | ------------- | -------------
|
|
496
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
497
|
+
|
|
498
|
+
### Return type
|
|
499
|
+
|
|
500
|
+
[**CampaignsGetResponseBody**](CampaignsGetResponseBody.md)
|
|
501
|
+
|
|
502
|
+
### Authorization
|
|
503
|
+
|
|
504
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
505
|
+
|
|
506
|
+
### HTTP request headers
|
|
507
|
+
|
|
508
|
+
- **Content-Type**: Not defined
|
|
509
|
+
- **Accept**: application/json
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
## getCampaignSummary
|
|
513
|
+
|
|
514
|
+
> CampaignsSummaryGetResponseBody getCampaignSummary(campaignId, opts)
|
|
515
|
+
|
|
516
|
+
Get Campaign Summary
|
|
517
|
+
|
|
518
|
+
Returns data for campaign analytics, covering validations, redemptions, publications, and other details specific to a given campaign type. Use start_date and end_date to narrow down the data to specific periods. 🚧 Campaigns created before v20250602 version This endpoint returns analytics data for campaigns that were created after the [v20250602 version](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20250602) was released on 17 June 2025. Older campaigns return empty data.
|
|
519
|
+
|
|
520
|
+
### Example
|
|
521
|
+
|
|
522
|
+
```javascript
|
|
523
|
+
import Voucherify from 'voucherify';
|
|
524
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
525
|
+
// Configure API key authorization: X-App-Id
|
|
526
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
527
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
528
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
529
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
530
|
+
// Configure API key authorization: X-App-Token
|
|
531
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
532
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
533
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
534
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
535
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
536
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
537
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
538
|
+
|
|
539
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
540
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
541
|
+
let opts = {
|
|
542
|
+
'startDate': new Date("2013-10-20"), // Date | Timestamp representing the date which results must begin on. Represented in ISO 8601 format.
|
|
543
|
+
'endDate': new Date("2013-10-20") // Date | Timestamp representing the date which results must end on. Represented in ISO 8601 format.
|
|
544
|
+
};
|
|
545
|
+
apiInstance.getCampaignSummary(campaignId, opts, (error, data, response) => {
|
|
546
|
+
if (error) {
|
|
547
|
+
console.error(error);
|
|
548
|
+
} else {
|
|
549
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
### Parameters
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
Name | Type | Description | Notes
|
|
558
|
+
------------- | ------------- | ------------- | -------------
|
|
559
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
560
|
+
**startDate** | **Date**| Timestamp representing the date which results must begin on. Represented in ISO 8601 format. | [optional]
|
|
561
|
+
**endDate** | **Date**| Timestamp representing the date which results must end on. Represented in ISO 8601 format. | [optional]
|
|
562
|
+
|
|
563
|
+
### Return type
|
|
564
|
+
|
|
565
|
+
[**CampaignsSummaryGetResponseBody**](CampaignsSummaryGetResponseBody.md)
|
|
566
|
+
|
|
567
|
+
### Authorization
|
|
568
|
+
|
|
569
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
570
|
+
|
|
571
|
+
### HTTP request headers
|
|
572
|
+
|
|
573
|
+
- **Content-Type**: Not defined
|
|
574
|
+
- **Accept**: application/json
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
## importVouchersToCampaign
|
|
578
|
+
|
|
579
|
+
> CampaignsImportCreateResponseBody importVouchersToCampaign(campaignId, campaignsImportVoucherItem)
|
|
580
|
+
|
|
581
|
+
Import Vouchers to Campaign
|
|
582
|
+
|
|
583
|
+
Imports vouchers to an **existing** campaign. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
584
|
+
|
|
585
|
+
### Example
|
|
586
|
+
|
|
587
|
+
```javascript
|
|
588
|
+
import Voucherify from 'voucherify';
|
|
589
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
590
|
+
// Configure API key authorization: X-App-Id
|
|
591
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
592
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
593
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
594
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
595
|
+
// Configure API key authorization: X-App-Token
|
|
596
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
597
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
598
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
599
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
600
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
601
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
602
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
603
|
+
|
|
604
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
605
|
+
let campaignId = "campaignId_example"; // String | The ID of an existing campaign to which youre importing the codes. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
606
|
+
let campaignsImportVoucherItem = [{"code":"CODE7","category":"First","redemption":{"quantity":1},"metadata":{"season":"Fall"},"additional_info":"secret-code1","active":true},{"code":"CODE8","category":"Second","redemption":{"quantity":18},"metadata":{"season":"Fall"},"additional_info":"secret-code1","active":true},{"code":"CODE9","redemption":{"quantity":4},"metadata":{"season":"Fall"},"additional_info":"secret-code1","active":true}]; // [CampaignsImportVoucherItem] | Discount type, expiration date and the remaining attributes will be taken from the [Campaign](/api-reference/campaigns/get-campaign) settings.
|
|
607
|
+
apiInstance.importVouchersToCampaign(campaignId, campaignsImportVoucherItem, (error, data, response) => {
|
|
608
|
+
if (error) {
|
|
609
|
+
console.error(error);
|
|
610
|
+
} else {
|
|
611
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
### Parameters
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
Name | Type | Description | Notes
|
|
620
|
+
------------- | ------------- | ------------- | -------------
|
|
621
|
+
**campaignId** | **String**| The ID of an existing campaign to which youre importing the codes. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
622
|
+
**campaignsImportVoucherItem** | [**[CampaignsImportVoucherItem]**](CampaignsImportVoucherItem.md)| Discount type, expiration date and the remaining attributes will be taken from the [Campaign](/api-reference/campaigns/get-campaign) settings. |
|
|
623
|
+
|
|
624
|
+
### Return type
|
|
625
|
+
|
|
626
|
+
[**CampaignsImportCreateResponseBody**](CampaignsImportCreateResponseBody.md)
|
|
627
|
+
|
|
628
|
+
### Authorization
|
|
629
|
+
|
|
630
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
631
|
+
|
|
632
|
+
### HTTP request headers
|
|
633
|
+
|
|
634
|
+
- **Content-Type**: application/json
|
|
635
|
+
- **Accept**: application/json
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
## importVouchersToCampaignUsingCsv
|
|
639
|
+
|
|
640
|
+
> CampaignsImportCsvCreateResponseBody importVouchersToCampaignUsingCsv(campaignId, opts)
|
|
641
|
+
|
|
642
|
+
Import Vouchers to Campaign by CSV
|
|
643
|
+
|
|
644
|
+
Imports vouchers to an **existing** campaign. The CSV file has to include headers in the first line. This API request starts a process that affects Voucherify data in bulk. In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the IN_PROGRESS status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).
|
|
645
|
+
|
|
646
|
+
### Example
|
|
647
|
+
|
|
648
|
+
```javascript
|
|
649
|
+
import Voucherify from 'voucherify';
|
|
650
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
651
|
+
// Configure API key authorization: X-App-Id
|
|
652
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
653
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
654
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
655
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
656
|
+
// Configure API key authorization: X-App-Token
|
|
657
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
658
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
659
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
660
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
661
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
662
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
663
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
664
|
+
|
|
665
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
666
|
+
let campaignId = "campaignId_example"; // String | The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
|
|
667
|
+
let opts = {
|
|
668
|
+
'file': "/path/to/file" // File | File path.
|
|
669
|
+
};
|
|
670
|
+
apiInstance.importVouchersToCampaignUsingCsv(campaignId, opts, (error, data, response) => {
|
|
671
|
+
if (error) {
|
|
672
|
+
console.error(error);
|
|
673
|
+
} else {
|
|
674
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
### Parameters
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
Name | Type | Description | Notes
|
|
683
|
+
------------- | ------------- | ------------- | -------------
|
|
684
|
+
**campaignId** | **String**| The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value. |
|
|
685
|
+
**file** | **File**| File path. | [optional]
|
|
686
|
+
|
|
687
|
+
### Return type
|
|
688
|
+
|
|
689
|
+
[**CampaignsImportCsvCreateResponseBody**](CampaignsImportCsvCreateResponseBody.md)
|
|
690
|
+
|
|
691
|
+
### Authorization
|
|
692
|
+
|
|
693
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
694
|
+
|
|
695
|
+
### HTTP request headers
|
|
696
|
+
|
|
697
|
+
- **Content-Type**: multipart/form-data
|
|
698
|
+
- **Accept**: application/json
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
## listCampaignTransactions
|
|
702
|
+
|
|
703
|
+
> CampaignsTransactionsListResponseBody listCampaignTransactions(campaignId, opts)
|
|
704
|
+
|
|
705
|
+
List Campaign Transactions
|
|
706
|
+
|
|
707
|
+
Retrieves all transactions for the campaign with the given campaign ID or campaign name. The id filter denotes the unique transaction identifier. 🚧 The endpoint works only for gift card and loyalty campaigns.
|
|
708
|
+
|
|
709
|
+
### Example
|
|
710
|
+
|
|
711
|
+
```javascript
|
|
712
|
+
import Voucherify from 'voucherify';
|
|
713
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
714
|
+
// Configure API key authorization: X-App-Id
|
|
715
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
716
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
717
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
718
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
719
|
+
// Configure API key authorization: X-App-Token
|
|
720
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
721
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
722
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
723
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
724
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
725
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
726
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
727
|
+
|
|
728
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
729
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
730
|
+
let opts = {
|
|
731
|
+
'limit': 56, // Number | Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
732
|
+
'order': new Voucherify.ParameterOrderListTransactions(), // ParameterOrderListTransactions | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
733
|
+
'startingAfterId': "startingAfterId_example", // String | A cursor for pagination. It retrieves the transactions starting after a transaction with the given ID.
|
|
734
|
+
'filters': new Voucherify.ParametersFiltersListCampaignTransactions() // ParametersFiltersListCampaignTransactions | Filters for listing responses.
|
|
735
|
+
};
|
|
736
|
+
apiInstance.listCampaignTransactions(campaignId, opts, (error, data, response) => {
|
|
737
|
+
if (error) {
|
|
738
|
+
console.error(error);
|
|
739
|
+
} else {
|
|
740
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
741
|
+
}
|
|
742
|
+
});
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
### Parameters
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
Name | Type | Description | Notes
|
|
749
|
+
------------- | ------------- | ------------- | -------------
|
|
750
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
751
|
+
**limit** | **Number**| Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items. | [optional]
|
|
752
|
+
**order** | [**ParameterOrderListTransactions**](.md)| Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional]
|
|
753
|
+
**startingAfterId** | **String**| A cursor for pagination. It retrieves the transactions starting after a transaction with the given ID. | [optional]
|
|
754
|
+
**filters** | [**ParametersFiltersListCampaignTransactions**](.md)| Filters for listing responses. | [optional]
|
|
755
|
+
|
|
756
|
+
### Return type
|
|
757
|
+
|
|
758
|
+
[**CampaignsTransactionsListResponseBody**](CampaignsTransactionsListResponseBody.md)
|
|
759
|
+
|
|
760
|
+
### Authorization
|
|
761
|
+
|
|
762
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
763
|
+
|
|
764
|
+
### HTTP request headers
|
|
765
|
+
|
|
766
|
+
- **Content-Type**: Not defined
|
|
767
|
+
- **Accept**: application/json
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
## listCampaigns
|
|
771
|
+
|
|
772
|
+
> CampaignsListResponseBody listCampaigns(opts)
|
|
773
|
+
|
|
774
|
+
List Campaigns
|
|
775
|
+
|
|
776
|
+
Retrieve a list of campaigns in a project. The campaigns are returned sorted by creation date, with the most recent campaigns appearing first. When you get a list of campaigns, you can optionally specify query parameters to customize the amount of campaigns returned per call using limit, which page of campaigns to return using page, sort the campaigns using the order query parameter and filter the results by the campaign_type. This method will return an error when trying to return a limit of more than 100 campaigns.
|
|
777
|
+
|
|
778
|
+
### Example
|
|
779
|
+
|
|
780
|
+
```javascript
|
|
781
|
+
import Voucherify from 'voucherify';
|
|
782
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
783
|
+
// Configure API key authorization: X-App-Id
|
|
784
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
785
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
786
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
787
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
788
|
+
// Configure API key authorization: X-App-Token
|
|
789
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
790
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
791
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
792
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
793
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
794
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
795
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
796
|
+
|
|
797
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
798
|
+
let opts = {
|
|
799
|
+
'limit': 56, // Number | Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
|
|
800
|
+
'page': 56, // Number | Which page of results to return. The lowest value is 1.
|
|
801
|
+
'campaignType': new Voucherify.ParameterCampaignType(), // ParameterCampaignType | This attribute allows filtering by campaign type.
|
|
802
|
+
'expand': new Voucherify.ParameterExpandListCampaigns(), // ParameterExpandListCampaigns | Includes an expanded categories object in the response. If the [Areas and Stores](https://support.voucherify.io/article/623-areas-and-stores) Enterprise feature is enabled, add access_settings_assignments to return assigned areas and stores.
|
|
803
|
+
'campaignStatus': new Voucherify.ParameterCampaignStatusListCampaigns(), // ParameterCampaignStatusListCampaigns | Sorts the results by the status of the campaign.
|
|
804
|
+
'isReferralCode': true, // Boolean | Sorts the results that are or are not referral campaigns.
|
|
805
|
+
'order': new Voucherify.ParameterOrderListCampaigns(), // ParameterOrderListCampaigns | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
806
|
+
'filters': new Voucherify.ParameterFiltersListCampaigns(), // ParameterFiltersListCampaigns | Filters the results by various campaign properties.
|
|
807
|
+
'accessSettings': new Voucherify.ParameterCampaignsAccessSetttings() // ParameterCampaignsAccessSetttings | Filter by areas and stores IDs to return campaigns that are assigned to areas, stores, and all stores in an area.
|
|
808
|
+
};
|
|
809
|
+
apiInstance.listCampaigns(opts, (error, data, response) => {
|
|
810
|
+
if (error) {
|
|
811
|
+
console.error(error);
|
|
812
|
+
} else {
|
|
813
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
814
|
+
}
|
|
815
|
+
});
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
### Parameters
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
Name | Type | Description | Notes
|
|
822
|
+
------------- | ------------- | ------------- | -------------
|
|
823
|
+
**limit** | **Number**| Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items. | [optional]
|
|
824
|
+
**page** | **Number**| Which page of results to return. The lowest value is 1. | [optional]
|
|
825
|
+
**campaignType** | [**ParameterCampaignType**](.md)| This attribute allows filtering by campaign type. | [optional]
|
|
826
|
+
**expand** | [**ParameterExpandListCampaigns**](.md)| Includes an expanded categories object in the response. If the [Areas and Stores](https://support.voucherify.io/article/623-areas-and-stores) Enterprise feature is enabled, add access_settings_assignments to return assigned areas and stores. | [optional]
|
|
827
|
+
**campaignStatus** | [**ParameterCampaignStatusListCampaigns**](.md)| Sorts the results by the status of the campaign. | [optional]
|
|
828
|
+
**isReferralCode** | **Boolean**| Sorts the results that are or are not referral campaigns. | [optional]
|
|
829
|
+
**order** | [**ParameterOrderListCampaigns**](.md)| Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional]
|
|
830
|
+
**filters** | [**ParameterFiltersListCampaigns**](.md)| Filters the results by various campaign properties. | [optional]
|
|
831
|
+
**accessSettings** | [**ParameterCampaignsAccessSetttings**](.md)| Filter by areas and stores IDs to return campaigns that are assigned to areas, stores, and all stores in an area. | [optional]
|
|
832
|
+
|
|
833
|
+
### Return type
|
|
834
|
+
|
|
835
|
+
[**CampaignsListResponseBody**](CampaignsListResponseBody.md)
|
|
836
|
+
|
|
837
|
+
### Authorization
|
|
838
|
+
|
|
839
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
840
|
+
|
|
841
|
+
### HTTP request headers
|
|
842
|
+
|
|
843
|
+
- **Content-Type**: Not defined
|
|
844
|
+
- **Accept**: application/json
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
## updateCampaign
|
|
848
|
+
|
|
849
|
+
> CampaignsUpdateResponseBody updateCampaign(campaignId, campaignsUpdateRequestBody)
|
|
850
|
+
|
|
851
|
+
Update Campaign
|
|
852
|
+
|
|
853
|
+
Updates the specified campaign by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged. Fields other than the ones listed in the request body wont be modified. Even if provided, they will be silently skipped. 🚧 Vouchers will be affected This method will update vouchers aggregated in the campaign. It will affect all vouchers that are not published or redeemed yet.
|
|
854
|
+
|
|
855
|
+
### Example
|
|
856
|
+
|
|
857
|
+
```javascript
|
|
858
|
+
import Voucherify from 'voucherify';
|
|
859
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
860
|
+
// Configure API key authorization: X-App-Id
|
|
861
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
862
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
863
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
864
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
865
|
+
// Configure API key authorization: X-App-Token
|
|
866
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
867
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
868
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
869
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
870
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
871
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
872
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
873
|
+
|
|
874
|
+
let apiInstance = new Voucherify.CampaignsApi();
|
|
875
|
+
let campaignId = "campaignId_example"; // String | You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.
|
|
876
|
+
let campaignsUpdateRequestBody = {"description":"New description"}; // CampaignsUpdateRequestBody | Specify the campaign parameters to be updated.
|
|
877
|
+
apiInstance.updateCampaign(campaignId, campaignsUpdateRequestBody, (error, data, response) => {
|
|
878
|
+
if (error) {
|
|
879
|
+
console.error(error);
|
|
880
|
+
} else {
|
|
881
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
882
|
+
}
|
|
883
|
+
});
|
|
884
|
+
```
|
|
885
|
+
|
|
886
|
+
### Parameters
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
Name | Type | Description | Notes
|
|
890
|
+
------------- | ------------- | ------------- | -------------
|
|
891
|
+
**campaignId** | **String**| You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value. |
|
|
892
|
+
**campaignsUpdateRequestBody** | [**CampaignsUpdateRequestBody**](CampaignsUpdateRequestBody.md)| Specify the campaign parameters to be updated. |
|
|
893
|
+
|
|
894
|
+
### Return type
|
|
895
|
+
|
|
896
|
+
[**CampaignsUpdateResponseBody**](CampaignsUpdateResponseBody.md)
|
|
897
|
+
|
|
898
|
+
### Authorization
|
|
899
|
+
|
|
900
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
901
|
+
|
|
902
|
+
### HTTP request headers
|
|
903
|
+
|
|
904
|
+
- **Content-Type**: application/json
|
|
905
|
+
- **Accept**: application/json
|
|
906
|
+
|