@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,786 @@
|
|
|
1
|
+
# Voucherify.CustomersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.voucherify.io*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**createCustomer**](CustomersApi.md#createCustomer) | **POST** /v1/customers | Create Customer
|
|
8
|
+
[**customerPermanentlyDeletion**](CustomersApi.md#customerPermanentlyDeletion) | **POST** /v1/customers/{customerId}/permanent-deletion | Delete Customer Permanently
|
|
9
|
+
[**deleteCustomer**](CustomersApi.md#deleteCustomer) | **DELETE** /v1/customers/{customerId} | Delete Customer
|
|
10
|
+
[**getCustomer**](CustomersApi.md#getCustomer) | **GET** /v1/customers/{customerId} | Get Customer
|
|
11
|
+
[**importCustomersUsingCsv**](CustomersApi.md#importCustomersUsingCsv) | **POST** /v1/customers/importCSV | Import and Update Customers using CSV
|
|
12
|
+
[**listCustomerActivity**](CustomersApi.md#listCustomerActivity) | **GET** /v1/customers/{customerId}/activity | List Customer Activity
|
|
13
|
+
[**listCustomerRedeemables**](CustomersApi.md#listCustomerRedeemables) | **GET** /v1/customers/{customerId}/redeemables | List Customer's Redeemables
|
|
14
|
+
[**listCustomerSegments**](CustomersApi.md#listCustomerSegments) | **GET** /v1/customers/{customerId}/segments | List Customer's Segments
|
|
15
|
+
[**listCustomers**](CustomersApi.md#listCustomers) | **GET** /v1/customers | List Customers
|
|
16
|
+
[**updateCustomer**](CustomersApi.md#updateCustomer) | **PUT** /v1/customers/{customerId} | Update Customer
|
|
17
|
+
[**updateCustomersInBulk**](CustomersApi.md#updateCustomersInBulk) | **POST** /v1/customers/bulk/async | Update Customers in Bulk
|
|
18
|
+
[**updateCustomersMetadataInBulk**](CustomersApi.md#updateCustomersMetadataInBulk) | **POST** /v1/customers/metadata/async | Update Customers' Metadata in Bulk
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## createCustomer
|
|
23
|
+
|
|
24
|
+
> CustomersCreateResponseBody createCustomer(customersCreateRequestBody)
|
|
25
|
+
|
|
26
|
+
Create Customer
|
|
27
|
+
|
|
28
|
+
Creates a customer object. 📘 Upsert Mode If you pass an id or a source_id that already exists in the customer database, Voucherify will return a related customer object with updated fields.
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```javascript
|
|
33
|
+
import Voucherify from 'voucherify';
|
|
34
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
35
|
+
// Configure API key authorization: X-App-Id
|
|
36
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
37
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
38
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
39
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
40
|
+
// Configure API key authorization: X-App-Token
|
|
41
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
42
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
43
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
44
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
45
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
46
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
47
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
48
|
+
|
|
49
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
50
|
+
let customersCreateRequestBody = {"source_id":"source_123","name":"Bob Smith","description":"A frequent customer","email":"bob.smith@email.com","phone":"+1 933 222 3333","address":{"city":"New York","country":"United States","line_1":"123 Main St.","line_2":"APT 3 BLG 4","postal_code":"10001","state":"NY"},"metadata":{"lang":"en","test":true},"birthdate":"2022-01-01"}; // CustomersCreateRequestBody | Create a customer with specified parameters.
|
|
51
|
+
apiInstance.createCustomer(customersCreateRequestBody, (error, data, response) => {
|
|
52
|
+
if (error) {
|
|
53
|
+
console.error(error);
|
|
54
|
+
} else {
|
|
55
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Parameters
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Name | Type | Description | Notes
|
|
64
|
+
------------- | ------------- | ------------- | -------------
|
|
65
|
+
**customersCreateRequestBody** | [**CustomersCreateRequestBody**](CustomersCreateRequestBody.md)| Create a customer with specified parameters. |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
[**CustomersCreateResponseBody**](CustomersCreateResponseBody.md)
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: application/json
|
|
78
|
+
- **Accept**: application/json
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## customerPermanentlyDeletion
|
|
82
|
+
|
|
83
|
+
> CustomersPermanentDeletionCreateResponseBody customerPermanentlyDeletion(customerId)
|
|
84
|
+
|
|
85
|
+
Delete Customer Permanently
|
|
86
|
+
|
|
87
|
+
The organization user can remove consumer data permanently from the Voucherify system by using this API method. It deletes all customer data and connected resources. It makes the customer profile forgotten by Voucherify.
|
|
88
|
+
|
|
89
|
+
### Example
|
|
90
|
+
|
|
91
|
+
```javascript
|
|
92
|
+
import Voucherify from 'voucherify';
|
|
93
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
94
|
+
// Configure API key authorization: X-App-Id
|
|
95
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
96
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
97
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
98
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
99
|
+
// Configure API key authorization: X-App-Token
|
|
100
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
101
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
102
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
103
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
104
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
105
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
106
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
107
|
+
|
|
108
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
109
|
+
let customerId = "customerId_example"; // String | A Voucherify customers id or source_id.
|
|
110
|
+
apiInstance.customerPermanentlyDeletion(customerId, (error, data, response) => {
|
|
111
|
+
if (error) {
|
|
112
|
+
console.error(error);
|
|
113
|
+
} else {
|
|
114
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Parameters
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
Name | Type | Description | Notes
|
|
123
|
+
------------- | ------------- | ------------- | -------------
|
|
124
|
+
**customerId** | **String**| A Voucherify customers id or source_id. |
|
|
125
|
+
|
|
126
|
+
### Return type
|
|
127
|
+
|
|
128
|
+
[**CustomersPermanentDeletionCreateResponseBody**](CustomersPermanentDeletionCreateResponseBody.md)
|
|
129
|
+
|
|
130
|
+
### Authorization
|
|
131
|
+
|
|
132
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
133
|
+
|
|
134
|
+
### HTTP request headers
|
|
135
|
+
|
|
136
|
+
- **Content-Type**: Not defined
|
|
137
|
+
- **Accept**: application/json
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
## deleteCustomer
|
|
141
|
+
|
|
142
|
+
> deleteCustomer(customerId)
|
|
143
|
+
|
|
144
|
+
Delete Customer
|
|
145
|
+
|
|
146
|
+
This method deletes a customer.
|
|
147
|
+
|
|
148
|
+
### Example
|
|
149
|
+
|
|
150
|
+
```javascript
|
|
151
|
+
import Voucherify from 'voucherify';
|
|
152
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
153
|
+
// Configure API key authorization: X-App-Id
|
|
154
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
155
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
156
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
157
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
158
|
+
// Configure API key authorization: X-App-Token
|
|
159
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
160
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
161
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
162
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
163
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
164
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
165
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
166
|
+
|
|
167
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
168
|
+
let customerId = "customerId_example"; // String | A Voucherify customers id or source_id.
|
|
169
|
+
apiInstance.deleteCustomer(customerId, (error, data, response) => {
|
|
170
|
+
if (error) {
|
|
171
|
+
console.error(error);
|
|
172
|
+
} else {
|
|
173
|
+
console.log('API called successfully.');
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
### Parameters
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
Name | Type | Description | Notes
|
|
182
|
+
------------- | ------------- | ------------- | -------------
|
|
183
|
+
**customerId** | **String**| A Voucherify customers id or source_id. |
|
|
184
|
+
|
|
185
|
+
### Return type
|
|
186
|
+
|
|
187
|
+
null (empty response body)
|
|
188
|
+
|
|
189
|
+
### Authorization
|
|
190
|
+
|
|
191
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
192
|
+
|
|
193
|
+
### HTTP request headers
|
|
194
|
+
|
|
195
|
+
- **Content-Type**: Not defined
|
|
196
|
+
- **Accept**: Not defined
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
## getCustomer
|
|
200
|
+
|
|
201
|
+
> CustomersGetResponseBody getCustomer(customerId)
|
|
202
|
+
|
|
203
|
+
Get Customer
|
|
204
|
+
|
|
205
|
+
Retrieves details of a given customer by customers id or source_id.
|
|
206
|
+
|
|
207
|
+
### Example
|
|
208
|
+
|
|
209
|
+
```javascript
|
|
210
|
+
import Voucherify from 'voucherify';
|
|
211
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
212
|
+
// Configure API key authorization: X-App-Id
|
|
213
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
214
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
215
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
216
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
217
|
+
// Configure API key authorization: X-App-Token
|
|
218
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
219
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
220
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
221
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
222
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
223
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
224
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
225
|
+
|
|
226
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
227
|
+
let customerId = "customerId_example"; // String | A Voucherify customers id or source_id.
|
|
228
|
+
apiInstance.getCustomer(customerId, (error, data, response) => {
|
|
229
|
+
if (error) {
|
|
230
|
+
console.error(error);
|
|
231
|
+
} else {
|
|
232
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Parameters
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
Name | Type | Description | Notes
|
|
241
|
+
------------- | ------------- | ------------- | -------------
|
|
242
|
+
**customerId** | **String**| A Voucherify customers id or source_id. |
|
|
243
|
+
|
|
244
|
+
### Return type
|
|
245
|
+
|
|
246
|
+
[**CustomersGetResponseBody**](CustomersGetResponseBody.md)
|
|
247
|
+
|
|
248
|
+
### Authorization
|
|
249
|
+
|
|
250
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
251
|
+
|
|
252
|
+
### HTTP request headers
|
|
253
|
+
|
|
254
|
+
- **Content-Type**: Not defined
|
|
255
|
+
- **Accept**: application/json
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
## importCustomersUsingCsv
|
|
259
|
+
|
|
260
|
+
> CustomersImportCsvCreateResponseBody importCustomersUsingCsv(opts)
|
|
261
|
+
|
|
262
|
+
Import and Update Customers using CSV
|
|
263
|
+
|
|
264
|
+
This API method lets you import or update customer data. To get a proper and valid response, please send a CSV file with data separated by commas. # Request Example # CSV File Format The CSV file has to include headers in the first line. All properties which cannot be mapped to standard customer fields will be added to the metadata object. 📘 Standard customer fields mapping **No spaces allowed in field names** Id, Name, Email, Phone, Birthdate, Source_id, Address_line_1, Address_line_2, Address_Postal_Code, Address_City, Address_State, Address_Country, Description, Metadata_name_1, Metadata_name_2 # Update Customers using CSV If you would like to update customers data, you can do it using the CSV file with new data. However, remember to include a source_id in your CSV file to manage the update successfully. 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).
|
|
265
|
+
|
|
266
|
+
### Example
|
|
267
|
+
|
|
268
|
+
```javascript
|
|
269
|
+
import Voucherify from 'voucherify';
|
|
270
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
271
|
+
// Configure API key authorization: X-App-Id
|
|
272
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
273
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
274
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
275
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
276
|
+
// Configure API key authorization: X-App-Token
|
|
277
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
278
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
279
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
280
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
281
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
282
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
283
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
284
|
+
|
|
285
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
286
|
+
let opts = {
|
|
287
|
+
'file': "/path/to/file" // File | File path.
|
|
288
|
+
};
|
|
289
|
+
apiInstance.importCustomersUsingCsv(opts, (error, data, response) => {
|
|
290
|
+
if (error) {
|
|
291
|
+
console.error(error);
|
|
292
|
+
} else {
|
|
293
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Parameters
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
Name | Type | Description | Notes
|
|
302
|
+
------------- | ------------- | ------------- | -------------
|
|
303
|
+
**file** | **File**| File path. | [optional]
|
|
304
|
+
|
|
305
|
+
### Return type
|
|
306
|
+
|
|
307
|
+
[**CustomersImportCsvCreateResponseBody**](CustomersImportCsvCreateResponseBody.md)
|
|
308
|
+
|
|
309
|
+
### Authorization
|
|
310
|
+
|
|
311
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
312
|
+
|
|
313
|
+
### HTTP request headers
|
|
314
|
+
|
|
315
|
+
- **Content-Type**: multipart/form-data
|
|
316
|
+
- **Accept**: application/json
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
## listCustomerActivity
|
|
320
|
+
|
|
321
|
+
> CustomersActivityListResponseBody listCustomerActivity(customerId, opts)
|
|
322
|
+
|
|
323
|
+
List Customer Activity
|
|
324
|
+
|
|
325
|
+
Retrieves activity details of a given customer by customers id or source_id.
|
|
326
|
+
|
|
327
|
+
### Example
|
|
328
|
+
|
|
329
|
+
```javascript
|
|
330
|
+
import Voucherify from 'voucherify';
|
|
331
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
332
|
+
// Configure API key authorization: X-App-Id
|
|
333
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
334
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
335
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
336
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
337
|
+
// Configure API key authorization: X-App-Token
|
|
338
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
339
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
340
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
341
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
342
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
343
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
344
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
345
|
+
|
|
346
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
347
|
+
let customerId = "customerId_example"; // String | A Voucherify customers id or source ID of the customer who performed the activities.
|
|
348
|
+
let opts = {
|
|
349
|
+
'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.
|
|
350
|
+
'order': new Voucherify.ParameterOrderCreatedAt(), // ParameterOrderCreatedAt | Apply this filter to order the events according the date and time when it was created.
|
|
351
|
+
'startingAfterId': "startingAfterId_example", // String | A cursor for pagination. It retrieves the events starting after an event with the given ID.
|
|
352
|
+
'startDate': new Date("2013-10-20T19:20:30+01:00"), // Date | Timestamp representing the date and time which results must begin on. Represented in ISO 8601 format.
|
|
353
|
+
'endDate': new Date("2013-10-20T19:20:30+01:00"), // Date | Timestamp representing the date and time which results must end on. Represented in ISO 8601 format.
|
|
354
|
+
'campaignId': "campaignId_example", // String | Requests only events related to specific campaign identified by its ID.
|
|
355
|
+
'campaignType': new Voucherify.ParameterCampaignType(), // ParameterCampaignType | Filters related customers activity for the selected campaign types. Allowed values: DISCOUNT_COUPONS, REFERRAL_PROGRAM, GIFT_VOUCHERS, PROMOTION, LOYALTY_PROGRAM.
|
|
356
|
+
'category': new Voucherify.ParameterActivityCategory(), // ParameterActivityCategory | Filters activities for actions or effects. Allowed values: ACTION, EFFECT.
|
|
357
|
+
'type': new Voucherify.ParameterCustomerEvent() // ParameterCustomerEvent | Event name of the customer event.
|
|
358
|
+
};
|
|
359
|
+
apiInstance.listCustomerActivity(customerId, opts, (error, data, response) => {
|
|
360
|
+
if (error) {
|
|
361
|
+
console.error(error);
|
|
362
|
+
} else {
|
|
363
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Parameters
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
Name | Type | Description | Notes
|
|
372
|
+
------------- | ------------- | ------------- | -------------
|
|
373
|
+
**customerId** | **String**| A Voucherify customers id or source ID of the customer who performed the activities. |
|
|
374
|
+
**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]
|
|
375
|
+
**order** | [**ParameterOrderCreatedAt**](.md)| Apply this filter to order the events according the date and time when it was created. | [optional]
|
|
376
|
+
**startingAfterId** | **String**| A cursor for pagination. It retrieves the events starting after an event with the given ID. | [optional]
|
|
377
|
+
**startDate** | **Date**| Timestamp representing the date and time which results must begin on. Represented in ISO 8601 format. | [optional]
|
|
378
|
+
**endDate** | **Date**| Timestamp representing the date and time which results must end on. Represented in ISO 8601 format. | [optional]
|
|
379
|
+
**campaignId** | **String**| Requests only events related to specific campaign identified by its ID. | [optional]
|
|
380
|
+
**campaignType** | [**ParameterCampaignType**](.md)| Filters related customers activity for the selected campaign types. Allowed values: DISCOUNT_COUPONS, REFERRAL_PROGRAM, GIFT_VOUCHERS, PROMOTION, LOYALTY_PROGRAM. | [optional]
|
|
381
|
+
**category** | [**ParameterActivityCategory**](.md)| Filters activities for actions or effects. Allowed values: ACTION, EFFECT. | [optional]
|
|
382
|
+
**type** | [**ParameterCustomerEvent**](.md)| Event name of the customer event. | [optional]
|
|
383
|
+
|
|
384
|
+
### Return type
|
|
385
|
+
|
|
386
|
+
[**CustomersActivityListResponseBody**](CustomersActivityListResponseBody.md)
|
|
387
|
+
|
|
388
|
+
### Authorization
|
|
389
|
+
|
|
390
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
391
|
+
|
|
392
|
+
### HTTP request headers
|
|
393
|
+
|
|
394
|
+
- **Content-Type**: Not defined
|
|
395
|
+
- **Accept**: application/json
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
## listCustomerRedeemables
|
|
399
|
+
|
|
400
|
+
> CustomersRedeemablesListResponseBody listCustomerRedeemables(customerId, opts)
|
|
401
|
+
|
|
402
|
+
List Customer's Redeemables
|
|
403
|
+
|
|
404
|
+
Retrieves all the redeemables that have been assigned to the customer. To use this endpoint, you must have the following permissions: - Read Customers (customers.details.read)
|
|
405
|
+
|
|
406
|
+
### Example
|
|
407
|
+
|
|
408
|
+
```javascript
|
|
409
|
+
import Voucherify from 'voucherify';
|
|
410
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
411
|
+
// Configure API key authorization: X-App-Id
|
|
412
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
413
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
414
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
415
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
416
|
+
// Configure API key authorization: X-App-Token
|
|
417
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
418
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
419
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
420
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
421
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
422
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
423
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
424
|
+
|
|
425
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
426
|
+
let customerId = "customerId_example"; // String | Unique identifier of a customer represented by an internal customer ID or customer source ID.
|
|
427
|
+
let opts = {
|
|
428
|
+
'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.
|
|
429
|
+
'order': new Voucherify.ParameterOrderListRedeemables(), // ParameterOrderListRedeemables | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
430
|
+
'startingAfterId': "startingAfterId_example", // String | A cursor for pagination. It retrieves the events starting after an event with the given ID.
|
|
431
|
+
'filters': new Voucherify.ParameterFiltersListCustomerRedeemables() // ParameterFiltersListCustomerRedeemables | Filters for listing customer redeemables.
|
|
432
|
+
};
|
|
433
|
+
apiInstance.listCustomerRedeemables(customerId, opts, (error, data, response) => {
|
|
434
|
+
if (error) {
|
|
435
|
+
console.error(error);
|
|
436
|
+
} else {
|
|
437
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
438
|
+
}
|
|
439
|
+
});
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
### Parameters
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
Name | Type | Description | Notes
|
|
446
|
+
------------- | ------------- | ------------- | -------------
|
|
447
|
+
**customerId** | **String**| Unique identifier of a customer represented by an internal customer ID or customer source ID. |
|
|
448
|
+
**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]
|
|
449
|
+
**order** | [**ParameterOrderListRedeemables**](.md)| Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional]
|
|
450
|
+
**startingAfterId** | **String**| A cursor for pagination. It retrieves the events starting after an event with the given ID. | [optional]
|
|
451
|
+
**filters** | [**ParameterFiltersListCustomerRedeemables**](.md)| Filters for listing customer redeemables. | [optional]
|
|
452
|
+
|
|
453
|
+
### Return type
|
|
454
|
+
|
|
455
|
+
[**CustomersRedeemablesListResponseBody**](CustomersRedeemablesListResponseBody.md)
|
|
456
|
+
|
|
457
|
+
### Authorization
|
|
458
|
+
|
|
459
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
460
|
+
|
|
461
|
+
### HTTP request headers
|
|
462
|
+
|
|
463
|
+
- **Content-Type**: Not defined
|
|
464
|
+
- **Accept**: application/json
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
## listCustomerSegments
|
|
468
|
+
|
|
469
|
+
> CustomersSegmentsListResponseBody listCustomerSegments(customerId)
|
|
470
|
+
|
|
471
|
+
List Customer's Segments
|
|
472
|
+
|
|
473
|
+
Returns the list of segments IDs to which the customer belongs to. If you pass a customerId which is not stored and recognized by Voucherify as an existing customer in the system, the response will generate a list of segments that the customer would potentialy qualify for if they were to become a customer tracked in the system.
|
|
474
|
+
|
|
475
|
+
### Example
|
|
476
|
+
|
|
477
|
+
```javascript
|
|
478
|
+
import Voucherify from 'voucherify';
|
|
479
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
480
|
+
// Configure API key authorization: X-App-Id
|
|
481
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
482
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
483
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
484
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
485
|
+
// Configure API key authorization: X-App-Token
|
|
486
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
487
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
488
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
489
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
490
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
491
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
492
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
493
|
+
|
|
494
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
495
|
+
let customerId = "customerId_example"; // String | Unique identifier of a customer represented by an internal customer ID or customer source ID.
|
|
496
|
+
apiInstance.listCustomerSegments(customerId, (error, data, response) => {
|
|
497
|
+
if (error) {
|
|
498
|
+
console.error(error);
|
|
499
|
+
} else {
|
|
500
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
501
|
+
}
|
|
502
|
+
});
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
### Parameters
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
Name | Type | Description | Notes
|
|
509
|
+
------------- | ------------- | ------------- | -------------
|
|
510
|
+
**customerId** | **String**| Unique identifier of a customer represented by an internal customer ID or customer source ID. |
|
|
511
|
+
|
|
512
|
+
### Return type
|
|
513
|
+
|
|
514
|
+
[**CustomersSegmentsListResponseBody**](CustomersSegmentsListResponseBody.md)
|
|
515
|
+
|
|
516
|
+
### Authorization
|
|
517
|
+
|
|
518
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
519
|
+
|
|
520
|
+
### HTTP request headers
|
|
521
|
+
|
|
522
|
+
- **Content-Type**: Not defined
|
|
523
|
+
- **Accept**: application/json
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
## listCustomers
|
|
527
|
+
|
|
528
|
+
> CustomersListResponseBody listCustomers(opts)
|
|
529
|
+
|
|
530
|
+
List Customers
|
|
531
|
+
|
|
532
|
+
Returns a list of customers.
|
|
533
|
+
|
|
534
|
+
### Example
|
|
535
|
+
|
|
536
|
+
```javascript
|
|
537
|
+
import Voucherify from 'voucherify';
|
|
538
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
539
|
+
// Configure API key authorization: X-App-Id
|
|
540
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
541
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
542
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
543
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
544
|
+
// Configure API key authorization: X-App-Token
|
|
545
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
546
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
547
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
548
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
549
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
550
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
551
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
552
|
+
|
|
553
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
554
|
+
let opts = {
|
|
555
|
+
'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.
|
|
556
|
+
'page': 56, // Number | Which page of results to return. The lowest value is 1, the highest value is 99.
|
|
557
|
+
'email': "email_example", // String | Limit the customers to the ones that have this specific email address.
|
|
558
|
+
'city': "city_example", // String | Limit the customers to the ones that are located in the specified city.
|
|
559
|
+
'name': "name_example", // String | Filter customers by the name property.
|
|
560
|
+
'segmentId': "segmentId_example", // String | Filter customers by the segment id.
|
|
561
|
+
'createdAtBefore': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter customers by date customer was created.
|
|
562
|
+
'createdAtAfter': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter customers by date customer was created.
|
|
563
|
+
'updatedAtBefore': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter customers by date customer was updated last time.
|
|
564
|
+
'updatedAtAfter': new Date("2013-10-20T19:20:30+01:00"), // Date | Filter customers by date customer was updated last time.
|
|
565
|
+
'order': new Voucherify.ParameterOrderListCustomers(), // ParameterOrderListCustomers | This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
|
|
566
|
+
'startingAfter': new Date("2013-10-20T19:20:30+01:00") // Date | A cursor for pagination. This is a date-time value that defines your place in the list based on created_at property from the customer object. For instance, if you make a list request and receive 100 objects, ending with an object created at 2020-05-24T13:43:09.024Z, your subsequent call can include starting_after 2020-05-24T13:43:09.024Z in order to fetch the next page of the list.
|
|
567
|
+
};
|
|
568
|
+
apiInstance.listCustomers(opts, (error, data, response) => {
|
|
569
|
+
if (error) {
|
|
570
|
+
console.error(error);
|
|
571
|
+
} else {
|
|
572
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
### Parameters
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
Name | Type | Description | Notes
|
|
581
|
+
------------- | ------------- | ------------- | -------------
|
|
582
|
+
**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]
|
|
583
|
+
**page** | **Number**| Which page of results to return. The lowest value is 1, the highest value is 99. | [optional]
|
|
584
|
+
**email** | **String**| Limit the customers to the ones that have this specific email address. | [optional]
|
|
585
|
+
**city** | **String**| Limit the customers to the ones that are located in the specified city. | [optional]
|
|
586
|
+
**name** | **String**| Filter customers by the name property. | [optional]
|
|
587
|
+
**segmentId** | **String**| Filter customers by the segment id. | [optional]
|
|
588
|
+
**createdAtBefore** | **Date**| Filter customers by date customer was created. | [optional]
|
|
589
|
+
**createdAtAfter** | **Date**| Filter customers by date customer was created. | [optional]
|
|
590
|
+
**updatedAtBefore** | **Date**| Filter customers by date customer was updated last time. | [optional]
|
|
591
|
+
**updatedAtAfter** | **Date**| Filter customers by date customer was updated last time. | [optional]
|
|
592
|
+
**order** | [**ParameterOrderListCustomers**](.md)| This is a property that controls the sorting direction of the results. Sort the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional]
|
|
593
|
+
**startingAfter** | **Date**| A cursor for pagination. This is a date-time value that defines your place in the list based on created_at property from the customer object. For instance, if you make a list request and receive 100 objects, ending with an object created at 2020-05-24T13:43:09.024Z, your subsequent call can include starting_after 2020-05-24T13:43:09.024Z in order to fetch the next page of the list. | [optional]
|
|
594
|
+
|
|
595
|
+
### Return type
|
|
596
|
+
|
|
597
|
+
[**CustomersListResponseBody**](CustomersListResponseBody.md)
|
|
598
|
+
|
|
599
|
+
### Authorization
|
|
600
|
+
|
|
601
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
602
|
+
|
|
603
|
+
### HTTP request headers
|
|
604
|
+
|
|
605
|
+
- **Content-Type**: Not defined
|
|
606
|
+
- **Accept**: application/json
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
## updateCustomer
|
|
610
|
+
|
|
611
|
+
> CustomersUpdateResponseBody updateCustomer(customerId, customersUpdateRequestBody)
|
|
612
|
+
|
|
613
|
+
Update Customer
|
|
614
|
+
|
|
615
|
+
Updates the specified customer by setting the values of the parameters passed in the request body. Any parameters not provided in the payload will be left unchanged.
|
|
616
|
+
|
|
617
|
+
### Example
|
|
618
|
+
|
|
619
|
+
```javascript
|
|
620
|
+
import Voucherify from 'voucherify';
|
|
621
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
622
|
+
// Configure API key authorization: X-App-Id
|
|
623
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
624
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
625
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
626
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
627
|
+
// Configure API key authorization: X-App-Token
|
|
628
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
629
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
630
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
631
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
632
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
633
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
634
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
635
|
+
|
|
636
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
637
|
+
let customerId = "customerId_example"; // String | A Voucherify customers id or source_id.
|
|
638
|
+
let customersUpdateRequestBody = {"name":"Alice McDonald","email":"alice.mdconald@email.com","description":"Updating customer data","phone":"+1 (132) 222-2222","address":{"city":"New York","country":"United States","line_1":"123 Main St.","line_2":"APT 3 BLG 4","postal_code":"10001","state":"NY"},"metadata":{"lang":"en","test":true},"birthdate":"2022-01-01","birthday":"2022-01-02"}; // CustomersUpdateRequestBody | Specify the parameters to be updated.
|
|
639
|
+
apiInstance.updateCustomer(customerId, customersUpdateRequestBody, (error, data, response) => {
|
|
640
|
+
if (error) {
|
|
641
|
+
console.error(error);
|
|
642
|
+
} else {
|
|
643
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
644
|
+
}
|
|
645
|
+
});
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
### Parameters
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
Name | Type | Description | Notes
|
|
652
|
+
------------- | ------------- | ------------- | -------------
|
|
653
|
+
**customerId** | **String**| A Voucherify customers id or source_id. |
|
|
654
|
+
**customersUpdateRequestBody** | [**CustomersUpdateRequestBody**](CustomersUpdateRequestBody.md)| Specify the parameters to be updated. |
|
|
655
|
+
|
|
656
|
+
### Return type
|
|
657
|
+
|
|
658
|
+
[**CustomersUpdateResponseBody**](CustomersUpdateResponseBody.md)
|
|
659
|
+
|
|
660
|
+
### Authorization
|
|
661
|
+
|
|
662
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
663
|
+
|
|
664
|
+
### HTTP request headers
|
|
665
|
+
|
|
666
|
+
- **Content-Type**: application/json
|
|
667
|
+
- **Accept**: application/json
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
## updateCustomersInBulk
|
|
671
|
+
|
|
672
|
+
> CustomersUpdateInBulkResponseBody updateCustomersInBulk(customersUpdateInBulkRequestBody)
|
|
673
|
+
|
|
674
|
+
Update Customers in Bulk
|
|
675
|
+
|
|
676
|
+
Updates customers in one asynchronous operation. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the [GET Async Action](/api-reference/async-actions/get-async-action) endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a customer object is not found, it is **upserted**. This is shown in the report file in the **GET** Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
|
|
677
|
+
|
|
678
|
+
### Example
|
|
679
|
+
|
|
680
|
+
```javascript
|
|
681
|
+
import Voucherify from 'voucherify';
|
|
682
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
683
|
+
// Configure API key authorization: X-App-Id
|
|
684
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
685
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
686
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
687
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
688
|
+
// Configure API key authorization: X-App-Token
|
|
689
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
690
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
691
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
692
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
693
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
694
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
695
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
696
|
+
|
|
697
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
698
|
+
let customersUpdateInBulkRequestBody = [{"source_id":"John.Smith@email.com","name":"John Smith","email":"john.smith@email.com","description":"Updating customer data","phone":"+1 (132) 222-2222","address":{"city":"New York","country":"United States","line_1":"123 Main St.","line_2":"APT 3 BLG 4","postal_code":"10001","state":"NY"},"metadata":{"lang":"en","test":true},"birthday":"2022-04-04"},{"source_id":"Jane.Smith@email.com","name":"Jane Smith","email":"Jane.Smith@email.com","description":"Updating customer data","phone":"+1 (132) 222-2222","address":{"city":"New York","country":"United States","line_1":"123 Main St.","line_2":"APT 3 BLG 4","postal_code":"10001","state":"NY"},"metadata":{"lang":"en","test":true},"birthday":"2022-03-03"},{"source_id":"Sally.Smith@email.com","name":"Sally Smith","email":"Sally.Smith@email.com","description":"Updating customer data","phone":"+1 (132) 222-2222","address":{"city":"New York","country":"United States","line_1":"123 Main St.","line_2":"APT 3 BLG 4","postal_code":"10001","state":"NY"},"metadata":{"lang":"en","test":true},"birthdate":"2022-02-02"}]; // [CustomersUpdateInBulkRequestBody] | List the customer fields to be updated in each customer object.
|
|
699
|
+
apiInstance.updateCustomersInBulk(customersUpdateInBulkRequestBody, (error, data, response) => {
|
|
700
|
+
if (error) {
|
|
701
|
+
console.error(error);
|
|
702
|
+
} else {
|
|
703
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
704
|
+
}
|
|
705
|
+
});
|
|
706
|
+
```
|
|
707
|
+
|
|
708
|
+
### Parameters
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
Name | Type | Description | Notes
|
|
712
|
+
------------- | ------------- | ------------- | -------------
|
|
713
|
+
**customersUpdateInBulkRequestBody** | [**[CustomersUpdateInBulkRequestBody]**](CustomersUpdateInBulkRequestBody.md)| List the customer fields to be updated in each customer object. |
|
|
714
|
+
|
|
715
|
+
### Return type
|
|
716
|
+
|
|
717
|
+
[**CustomersUpdateInBulkResponseBody**](CustomersUpdateInBulkResponseBody.md)
|
|
718
|
+
|
|
719
|
+
### Authorization
|
|
720
|
+
|
|
721
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
722
|
+
|
|
723
|
+
### HTTP request headers
|
|
724
|
+
|
|
725
|
+
- **Content-Type**: application/json
|
|
726
|
+
- **Accept**: application/json
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
## updateCustomersMetadataInBulk
|
|
730
|
+
|
|
731
|
+
> CustomersMetadataUpdateInBulkResponseBody updateCustomersMetadataInBulk(customersMetadataUpdateInBulkRequestBody)
|
|
732
|
+
|
|
733
|
+
Update Customers' Metadata in Bulk
|
|
734
|
+
|
|
735
|
+
Updates metadata parameters for a list of customers. Every resource in the list will receive the metadata defined in the request. The request can include up to **10 MB** of data. The response returns a unique asynchronous action ID. Use this ID in the query paramater of the [GET Async Action](/api-reference/async-actions/get-async-action) endpoint to check, e.g.: - The status of your request (in queue, in progress, done, or failed) - Resources that failed to be updated - The report file with details about the update If a product object is not found, it is **upserted**. This is shown in the report file in the **GET** Async Action endpoint. The upserted resources have value false in the found column and true in the updated column. This API request starts a process that affects Voucherify data in bulk. In the case of small jobs (like bulk update), the request is put into a queue and processed when every other bulk request placed in the queue prior to this request is finished.
|
|
736
|
+
|
|
737
|
+
### Example
|
|
738
|
+
|
|
739
|
+
```javascript
|
|
740
|
+
import Voucherify from 'voucherify';
|
|
741
|
+
let defaultClient = Voucherify.ApiClient.instance;
|
|
742
|
+
// Configure API key authorization: X-App-Id
|
|
743
|
+
let X-App-Id = defaultClient.authentications['X-App-Id'];
|
|
744
|
+
X-App-Id.apiKey = 'YOUR API KEY';
|
|
745
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
746
|
+
//X-App-Id.apiKeyPrefix = 'Token';
|
|
747
|
+
// Configure API key authorization: X-App-Token
|
|
748
|
+
let X-App-Token = defaultClient.authentications['X-App-Token'];
|
|
749
|
+
X-App-Token.apiKey = 'YOUR API KEY';
|
|
750
|
+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
|
|
751
|
+
//X-App-Token.apiKeyPrefix = 'Token';
|
|
752
|
+
// Configure OAuth2 access token for authorization: X-Voucherify-OAuth
|
|
753
|
+
let X-Voucherify-OAuth = defaultClient.authentications['X-Voucherify-OAuth'];
|
|
754
|
+
X-Voucherify-OAuth.accessToken = 'YOUR ACCESS TOKEN';
|
|
755
|
+
|
|
756
|
+
let apiInstance = new Voucherify.CustomersApi();
|
|
757
|
+
let customersMetadataUpdateInBulkRequestBody = {"source_ids":["source_123","source_456"],"metadata":{"lang":"en","test":false}}; // CustomersMetadataUpdateInBulkRequestBody | List the source_ids of the customers you would like to update with the metadata key/value pairs.
|
|
758
|
+
apiInstance.updateCustomersMetadataInBulk(customersMetadataUpdateInBulkRequestBody, (error, data, response) => {
|
|
759
|
+
if (error) {
|
|
760
|
+
console.error(error);
|
|
761
|
+
} else {
|
|
762
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
```
|
|
766
|
+
|
|
767
|
+
### Parameters
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
Name | Type | Description | Notes
|
|
771
|
+
------------- | ------------- | ------------- | -------------
|
|
772
|
+
**customersMetadataUpdateInBulkRequestBody** | [**CustomersMetadataUpdateInBulkRequestBody**](CustomersMetadataUpdateInBulkRequestBody.md)| List the source_ids of the customers you would like to update with the metadata key/value pairs. |
|
|
773
|
+
|
|
774
|
+
### Return type
|
|
775
|
+
|
|
776
|
+
[**CustomersMetadataUpdateInBulkResponseBody**](CustomersMetadataUpdateInBulkResponseBody.md)
|
|
777
|
+
|
|
778
|
+
### Authorization
|
|
779
|
+
|
|
780
|
+
[X-App-Id](../README.md#X-App-Id), [X-App-Token](../README.md#X-App-Token), [X-Voucherify-OAuth](../README.md#X-Voucherify-OAuth)
|
|
781
|
+
|
|
782
|
+
### HTTP request headers
|
|
783
|
+
|
|
784
|
+
- **Content-Type**: application/json
|
|
785
|
+
- **Accept**: application/json
|
|
786
|
+
|