diff --git a/README.md b/README.md
index 7ff38926..81b6e60d 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
one.talon
talon-one-client
- 14.3.0
+ 15.0.0
compile
```
@@ -50,7 +50,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "one.talon:talon-one-client:14.3.0"
+compile "one.talon:talon-one-client:15.0.0"
```
### Others
@@ -219,8 +219,8 @@ Class | Method | HTTP request | Description
*IntegrationApi* | [**getLoyaltyProgramProfilePoints**](docs/IntegrationApi.md#getLoyaltyProgramProfilePoints) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/points | List customer's unused loyalty points
*IntegrationApi* | [**getLoyaltyProgramProfileTransactions**](docs/IntegrationApi.md#getLoyaltyProgramProfileTransactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/transactions | List customer's loyalty transactions
*IntegrationApi* | [**getReservedCustomers**](docs/IntegrationApi.md#getReservedCustomers) | **GET** /v1/coupon_reservations/customerprofiles/{couponValue} | List customers that have this coupon reserved
+*IntegrationApi* | [**integrationGetAllCampaigns**](docs/IntegrationApi.md#integrationGetAllCampaigns) | **GET** /v1/integration/campaigns | List all running campaigns
*IntegrationApi* | [**linkLoyaltyCardToProfile**](docs/IntegrationApi.md#linkLoyaltyCardToProfile) | **POST** /v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/link_profile | Link customer profile to card
-*IntegrationApi* | [**priceHistory**](docs/IntegrationApi.md#priceHistory) | **POST** /v1/best_prior_price_history | Get summary of price history
*IntegrationApi* | [**reopenCustomerSession**](docs/IntegrationApi.md#reopenCustomerSession) | **PUT** /v2/customer_sessions/{customerSessionId}/reopen | Reopen customer session
*IntegrationApi* | [**returnCartItems**](docs/IntegrationApi.md#returnCartItems) | **POST** /v2/customer_sessions/{customerSessionId}/returns | Return cart items
*IntegrationApi* | [**syncCatalog**](docs/IntegrationApi.md#syncCatalog) | **PUT** /v1/catalogs/{catalogId}/sync | Sync cart item catalog
@@ -271,9 +271,11 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**disconnectCampaignStores**](docs/ManagementApi.md#disconnectCampaignStores) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/stores | Disconnect stores
*ManagementApi* | [**exportAccountCollectionItems**](docs/ManagementApi.md#exportAccountCollectionItems) | **GET** /v1/collections/{collectionId}/export | Export account-level collection's items
*ManagementApi* | [**exportAchievements**](docs/ManagementApi.md#exportAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId}/export | Export achievement customer data
+*ManagementApi* | [**exportApplicationCampaignAnalytics**](docs/ManagementApi.md#exportApplicationCampaignAnalytics) | **GET** /v1/applications/{applicationId}/campaign_analytics/export | Export Application analytics aggregated by campaign
*ManagementApi* | [**exportAudiencesMemberships**](docs/ManagementApi.md#exportAudiencesMemberships) | **GET** /v1/audiences/{audienceId}/memberships/export | Export audience members
*ManagementApi* | [**exportCampaignStoreBudgets**](docs/ManagementApi.md#exportCampaignStoreBudgets) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/export | Export campaign store budgets
*ManagementApi* | [**exportCampaignStores**](docs/ManagementApi.md#exportCampaignStores) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/export | Export stores
+*ManagementApi* | [**exportCampaignValueMap**](docs/ManagementApi.md#exportCampaignValueMap) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/value_maps/{valueMapId}/export | Export campaign value map
*ManagementApi* | [**exportCollectionItems**](docs/ManagementApi.md#exportCollectionItems) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/export | Export campaign-level collection's items
*ManagementApi* | [**exportCoupons**](docs/ManagementApi.md#exportCoupons) | **GET** /v1/applications/{applicationId}/export_coupons | Export coupons
*ManagementApi* | [**exportCustomerSessions**](docs/ManagementApi.md#exportCustomerSessions) | **GET** /v1/applications/{applicationId}/export_customer_sessions | Export customer sessions
@@ -298,6 +300,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**getAdditionalCosts**](docs/ManagementApi.md#getAdditionalCosts) | **GET** /v1/additional_costs | List additional costs
*ManagementApi* | [**getApplication**](docs/ManagementApi.md#getApplication) | **GET** /v1/applications/{applicationId} | Get Application
*ManagementApi* | [**getApplicationApiHealth**](docs/ManagementApi.md#getApplicationApiHealth) | **GET** /v1/applications/{applicationId}/health_report | Get Application health
+*ManagementApi* | [**getApplicationCartItemFilterExpression**](docs/ManagementApi.md#getApplicationCartItemFilterExpression) | **GET** /v1/applications/{applicationId}/cart_item_filters/{cartItemFilterId}/expressions/{expressionId} | Get Application cart item filter expression
*ManagementApi* | [**getApplicationCustomer**](docs/ManagementApi.md#getApplicationCustomer) | **GET** /v1/applications/{applicationId}/customers/{customerId} | Get application's customer
*ManagementApi* | [**getApplicationCustomerFriends**](docs/ManagementApi.md#getApplicationCustomerFriends) | **GET** /v1/applications/{applicationId}/profile/{integrationId}/friends | List friends referred by customer profile
*ManagementApi* | [**getApplicationCustomers**](docs/ManagementApi.md#getApplicationCustomers) | **GET** /v1/applications/{applicationId}/customers | List application's customers
@@ -370,6 +373,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**listAccountCollections**](docs/ManagementApi.md#listAccountCollections) | **GET** /v1/collections | List collections in account
*ManagementApi* | [**listAchievements**](docs/ManagementApi.md#listAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements | List achievements
*ManagementApi* | [**listAllRolesV2**](docs/ManagementApi.md#listAllRolesV2) | **GET** /v2/roles | List roles
+*ManagementApi* | [**listApplicationCartItemFilters**](docs/ManagementApi.md#listApplicationCartItemFilters) | **GET** /v1/applications/{applicationId}/cart_item_filters | List Application cart item filters
*ManagementApi* | [**listCampaignStoreBudgetLimits**](docs/ManagementApi.md#listCampaignStoreBudgetLimits) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | List campaign store budget limits
*ManagementApi* | [**listCatalogItems**](docs/ManagementApi.md#listCatalogItems) | **GET** /v1/catalogs/{catalogId}/items | List items in a catalog
*ManagementApi* | [**listCollections**](docs/ManagementApi.md#listCollections) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | List collections in campaign
@@ -377,6 +381,7 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**listExperiments**](docs/ManagementApi.md#listExperiments) | **GET** /v1/applications/{applicationId}/experiments | List experiments
*ManagementApi* | [**listStores**](docs/ManagementApi.md#listStores) | **GET** /v1/applications/{applicationId}/stores | List stores
*ManagementApi* | [**oktaEventHandlerChallenge**](docs/ManagementApi.md#oktaEventHandlerChallenge) | **GET** /v1/provisioning/okta | Validate Okta API ownership
+*ManagementApi* | [**priceHistory**](docs/ManagementApi.md#priceHistory) | **POST** /v1/applications/{applicationId}/price_history | Get summary of price history
*ManagementApi* | [**removeLoyaltyPoints**](docs/ManagementApi.md#removeLoyaltyPoints) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/deduct_points | Deduct points from customer profile
*ManagementApi* | [**resetPassword**](docs/ManagementApi.md#resetPassword) | **POST** /v1/reset_password | Reset password
*ManagementApi* | [**scimCreateGroup**](docs/ManagementApi.md#scimCreateGroup) | **POST** /v1/provisioning/scim/Groups | Create SCIM group
@@ -431,10 +436,14 @@ Class | Method | HTTP request | Description
- [AccountLimits](docs/AccountLimits.md)
- [Achievement](docs/Achievement.md)
- [AchievementAdditionalProperties](docs/AchievementAdditionalProperties.md)
+- [AchievementAdditionalPropertiesV2](docs/AchievementAdditionalPropertiesV2.md)
- [AchievementBase](docs/AchievementBase.md)
+- [AchievementBaseV2](docs/AchievementBaseV2.md)
- [AchievementProgress](docs/AchievementProgress.md)
- [AchievementProgressWithDefinition](docs/AchievementProgressWithDefinition.md)
+- [AchievementReference](docs/AchievementReference.md)
- [AchievementStatusEntry](docs/AchievementStatusEntry.md)
+- [AchievementV2](docs/AchievementV2.md)
- [ActivateLoyaltyPoints](docs/ActivateLoyaltyPoints.md)
- [ActivateLoyaltyPointsResponse](docs/ActivateLoyaltyPointsResponse.md)
- [AddFreeItemEffectProps](docs/AddFreeItemEffectProps.md)
@@ -590,8 +599,10 @@ Class | Method | HTTP request | Description
- [CouponsNotificationData](docs/CouponsNotificationData.md)
- [CouponsNotificationPolicy](docs/CouponsNotificationPolicy.md)
- [CreateAchievement](docs/CreateAchievement.md)
+- [CreateAchievementV2](docs/CreateAchievementV2.md)
- [CreateApplicationAPIKey](docs/CreateApplicationAPIKey.md)
- [CreateCouponData](docs/CreateCouponData.md)
+- [CreateMCPKey](docs/CreateMCPKey.md)
- [CreateManagementKey](docs/CreateManagementKey.md)
- [CreateTemplateCampaign](docs/CreateTemplateCampaign.md)
- [CreateTemplateCampaignResponse](docs/CreateTemplateCampaignResponse.md)
@@ -618,6 +629,9 @@ Class | Method | HTTP request | Description
- [Effect](docs/Effect.md)
- [EffectEntity](docs/EffectEntity.md)
- [EmailEntity](docs/EmailEntity.md)
+- [EmbeddedAnalyticsConfiguration](docs/EmbeddedAnalyticsConfiguration.md)
+- [EmbeddedAnalyticsConfigurationDashboards](docs/EmbeddedAnalyticsConfigurationDashboards.md)
+- [EmbeddedDashboardConfiguration](docs/EmbeddedDashboardConfiguration.md)
- [Endpoint](docs/Endpoint.md)
- [Entity](docs/Entity.md)
- [EntityWithTalangVisibleID](docs/EntityWithTalangVisibleID.md)
@@ -636,11 +650,20 @@ Class | Method | HTTP request | Description
- [ExperimentCampaignCopy](docs/ExperimentCampaignCopy.md)
- [ExperimentCopy](docs/ExperimentCopy.md)
- [ExperimentCopyExperiment](docs/ExperimentCopyExperiment.md)
+- [ExperimentListResults](docs/ExperimentListResults.md)
+- [ExperimentListResultsRequest](docs/ExperimentListResultsRequest.md)
+- [ExperimentResult](docs/ExperimentResult.md)
- [ExperimentResults](docs/ExperimentResults.md)
+- [ExperimentSegmentInsight](docs/ExperimentSegmentInsight.md)
+- [ExperimentSegmentInsightMetric](docs/ExperimentSegmentInsightMetric.md)
+- [ExperimentSegmentInsightVariant](docs/ExperimentSegmentInsightVariant.md)
+- [ExperimentSegmentInsights](docs/ExperimentSegmentInsights.md)
- [ExperimentVariant](docs/ExperimentVariant.md)
- [ExperimentVariantAllocation](docs/ExperimentVariantAllocation.md)
- [ExperimentVariantResult](docs/ExperimentVariantResult.md)
- [ExperimentVariantResultConfidence](docs/ExperimentVariantResultConfidence.md)
+- [ExperimentVerdict](docs/ExperimentVerdict.md)
+- [ExperimentVerdictResponse](docs/ExperimentVerdictResponse.md)
- [ExpiringCardPointsData](docs/ExpiringCardPointsData.md)
- [ExpiringCardPointsNotification](docs/ExpiringCardPointsNotification.md)
- [ExpiringCouponsData](docs/ExpiringCouponsData.md)
@@ -671,6 +694,8 @@ Class | Method | HTTP request | Description
- [GenerateUserSessionSummary](docs/GenerateUserSessionSummary.md)
- [GetIntegrationCouponRequest](docs/GetIntegrationCouponRequest.md)
- [Giveaway](docs/Giveaway.md)
+- [GiveawayPoolNotification](docs/GiveawayPoolNotification.md)
+- [GiveawayPoolNotificationData](docs/GiveawayPoolNotificationData.md)
- [GiveawaysPool](docs/GiveawaysPool.md)
- [HiddenConditionsEffects](docs/HiddenConditionsEffects.md)
- [History](docs/History.md)
@@ -726,11 +751,14 @@ Class | Method | HTTP request | Description
- [InlineResponse2005](docs/InlineResponse2005.md)
- [InlineResponse20050](docs/InlineResponse20050.md)
- [InlineResponse20051](docs/InlineResponse20051.md)
+- [InlineResponse20052](docs/InlineResponse20052.md)
+- [InlineResponse20053](docs/InlineResponse20053.md)
- [InlineResponse2006](docs/InlineResponse2006.md)
- [InlineResponse2007](docs/InlineResponse2007.md)
- [InlineResponse2008](docs/InlineResponse2008.md)
- [InlineResponse2009](docs/InlineResponse2009.md)
- [InlineResponse201](docs/InlineResponse201.md)
+- [IntegrationCampaign](docs/IntegrationCampaign.md)
- [IntegrationCoupon](docs/IntegrationCoupon.md)
- [IntegrationCustomerProfileAudienceRequest](docs/IntegrationCustomerProfileAudienceRequest.md)
- [IntegrationCustomerProfileAudienceRequestItem](docs/IntegrationCustomerProfileAudienceRequestItem.md)
@@ -741,6 +769,21 @@ Class | Method | HTTP request | Description
- [IntegrationEventV2Response](docs/IntegrationEventV2Response.md)
- [IntegrationEventV3Request](docs/IntegrationEventV3Request.md)
- [IntegrationEventV3Response](docs/IntegrationEventV3Response.md)
+- [IntegrationHubConfig](docs/IntegrationHubConfig.md)
+- [IntegrationHubEventPayloadCouponBasedNotifications](docs/IntegrationHubEventPayloadCouponBasedNotifications.md)
+- [IntegrationHubEventPayloadCouponBasedNotificationsLimits](docs/IntegrationHubEventPayloadCouponBasedNotificationsLimits.md)
+- [IntegrationHubEventPayloadLoyaltyProfileBasedNotification](docs/IntegrationHubEventPayloadLoyaltyProfileBasedNotification.md)
+- [IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification](docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification.md)
+- [IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction](docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md)
+- [IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification](docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification.md)
+- [IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification](docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification.md)
+- [IntegrationHubEventRecord](docs/IntegrationHubEventRecord.md)
+- [IntegrationHubFlow](docs/IntegrationHubFlow.md)
+- [IntegrationHubFlowConfig](docs/IntegrationHubFlowConfig.md)
+- [IntegrationHubFlowConfigResponse](docs/IntegrationHubFlowConfigResponse.md)
+- [IntegrationHubFlowResponse](docs/IntegrationHubFlowResponse.md)
+- [IntegrationHubFlowWithConfig](docs/IntegrationHubFlowWithConfig.md)
+- [IntegrationHubPaginatedEventPayload](docs/IntegrationHubPaginatedEventPayload.md)
- [IntegrationProfileEntity](docs/IntegrationProfileEntity.md)
- [IntegrationProfileEntityV3](docs/IntegrationProfileEntityV3.md)
- [IntegrationRequest](docs/IntegrationRequest.md)
@@ -789,6 +832,7 @@ Class | Method | HTTP request | Description
- [LoyaltyProgramTransaction](docs/LoyaltyProgramTransaction.md)
- [LoyaltySubLedger](docs/LoyaltySubLedger.md)
- [LoyaltyTier](docs/LoyaltyTier.md)
+- [MCPKey](docs/MCPKey.md)
- [ManagementKey](docs/ManagementKey.md)
- [ManagerConfig](docs/ManagerConfig.md)
- [MessageLogEntries](docs/MessageLogEntries.md)
@@ -851,6 +895,7 @@ Class | Method | HTTP request | Description
- [NewInviteEmail](docs/NewInviteEmail.md)
- [NewLoyaltyProgram](docs/NewLoyaltyProgram.md)
- [NewLoyaltyTier](docs/NewLoyaltyTier.md)
+- [NewMCPKey](docs/NewMCPKey.md)
- [NewManagementKey](docs/NewManagementKey.md)
- [NewMessageTest](docs/NewMessageTest.md)
- [NewMultipleAudiencesItem](docs/NewMultipleAudiencesItem.md)
@@ -865,6 +910,7 @@ Class | Method | HTTP request | Description
- [NewReferralsForMultipleAdvocates](docs/NewReferralsForMultipleAdvocates.md)
- [NewReturn](docs/NewReturn.md)
- [NewRevisionVersion](docs/NewRevisionVersion.md)
+- [NewReward](docs/NewReward.md)
- [NewRole](docs/NewRole.md)
- [NewRoleV2](docs/NewRoleV2.md)
- [NewRuleset](docs/NewRuleset.md)
@@ -905,21 +951,6 @@ Class | Method | HTTP request | Description
- [PriceType](docs/PriceType.md)
- [PriceTypeReferenceDetail](docs/PriceTypeReferenceDetail.md)
- [PriceTypeReferences](docs/PriceTypeReferences.md)
-- [PrismaticConfig](docs/PrismaticConfig.md)
-- [PrismaticEventPayloadCouponBasedNotifications](docs/PrismaticEventPayloadCouponBasedNotifications.md)
-- [PrismaticEventPayloadCouponBasedNotificationsLimits](docs/PrismaticEventPayloadCouponBasedNotificationsLimits.md)
-- [PrismaticEventPayloadLoyaltyProfileBasedNotification](docs/PrismaticEventPayloadLoyaltyProfileBasedNotification.md)
-- [PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotification](docs/PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotification.md)
-- [PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction](docs/PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md)
-- [PrismaticEventPayloadLoyaltyProfileBasedTierDowngradeNotification](docs/PrismaticEventPayloadLoyaltyProfileBasedTierDowngradeNotification.md)
-- [PrismaticEventPayloadLoyaltyProfileBasedTierUpgradeNotification](docs/PrismaticEventPayloadLoyaltyProfileBasedTierUpgradeNotification.md)
-- [PrismaticEventRecord](docs/PrismaticEventRecord.md)
-- [PrismaticFlow](docs/PrismaticFlow.md)
-- [PrismaticFlowConfig](docs/PrismaticFlowConfig.md)
-- [PrismaticFlowConfigResponse](docs/PrismaticFlowConfigResponse.md)
-- [PrismaticFlowResponse](docs/PrismaticFlowResponse.md)
-- [PrismaticFlowWithConfig](docs/PrismaticFlowWithConfig.md)
-- [PrismaticPaginatedEventPayload](docs/PrismaticPaginatedEventPayload.md)
- [Product](docs/Product.md)
- [ProductSearchMatch](docs/ProductSearchMatch.md)
- [ProductUnitAnalytics](docs/ProductUnitAnalytics.md)
@@ -947,6 +978,7 @@ Class | Method | HTTP request | Description
- [RevisionActivation](docs/RevisionActivation.md)
- [RevisionActivationRequest](docs/RevisionActivationRequest.md)
- [RevisionVersion](docs/RevisionVersion.md)
+- [Reward](docs/Reward.md)
- [Role](docs/Role.md)
- [RoleAssign](docs/RoleAssign.md)
- [RoleMembership](docs/RoleMembership.md)
@@ -957,6 +989,7 @@ Class | Method | HTTP request | Description
- [RoleV2Permissions](docs/RoleV2Permissions.md)
- [RoleV2Readonly](docs/RoleV2Readonly.md)
- [RoleV2RolesGroup](docs/RoleV2RolesGroup.md)
+- [RolesV2Thresholds](docs/RolesV2Thresholds.md)
- [RollbackAddedLoyaltyPointsEffectProps](docs/RollbackAddedLoyaltyPointsEffectProps.md)
- [RollbackCouponEffectProps](docs/RollbackCouponEffectProps.md)
- [RollbackDeductedLoyaltyPointsEffectProps](docs/RollbackDeductedLoyaltyPointsEffectProps.md)
@@ -965,6 +998,7 @@ Class | Method | HTTP request | Description
- [RollbackReferralEffectProps](docs/RollbackReferralEffectProps.md)
- [Rule](docs/Rule.md)
- [RuleFailureReason](docs/RuleFailureReason.md)
+- [RuleMetadata](docs/RuleMetadata.md)
- [Ruleset](docs/Ruleset.md)
- [SSOConfig](docs/SSOConfig.md)
- [SamlConnection](docs/SamlConnection.md)
@@ -1036,6 +1070,7 @@ Class | Method | HTTP request | Description
- [TwoFAConfig](docs/TwoFAConfig.md)
- [UpdateAccount](docs/UpdateAccount.md)
- [UpdateAchievement](docs/UpdateAchievement.md)
+- [UpdateAchievementV2](docs/UpdateAchievementV2.md)
- [UpdateApplication](docs/UpdateApplication.md)
- [UpdateApplicationAPIKey](docs/UpdateApplicationAPIKey.md)
- [UpdateApplicationCIF](docs/UpdateApplicationCIF.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index de2382ae..d7750232 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -5,16 +5,17 @@ info:
manage applications and campaigns:
- Use the operations in the [Integration API section](#integration-api)
- are used to integrate with our platform
+ to integrate with our platform.
- Use the operation in the [Management API section](#management-api) to
manage applications and campaigns.
## Determining the base URL of the endpoints
The API is available at the same hostname as your Campaign Manager deployment.
+
For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`,
- the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint
- is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)
+ endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
title: Talon.One API
version: ""
servers:
@@ -115,7 +116,7 @@ tags:
- **Custom events:** They are triggered by the [Track event](https://docs.talon.one/integration-api#tag/Events/operation/trackEventV2) endpoint.
name: Events
- description: |
- Operations for managing experiments and experiment variants.
+ Represents an A/B testing configuration within a campaign that splits customer sessions across multiple variants to compare rule effects against each other.
name: Experiments
- description: |
Represents a program that rewards customers with giveaways, such as free gift cards.
@@ -155,7 +156,7 @@ tags:
name: Roles
- description: |
Represents a session used for authentication purposes.
- Create one with the [Create session](#operation/createSession) endpoint.
+ Create one with the [Create session](#tag/Sessions/operation/createSession) endpoint.
name: Sessions
- description: Represents store budgets. You can set a store budget to limit the total
amount an individual store can spend in a campaign.
@@ -163,6 +164,9 @@ tags:
- description: |
Represents physical or digital stores, branches, and franchises.
name: Stores
+- description: Represents the value maps that the user can create within a campaign
+ ruleset.
+ name: Value maps
- description: |
A way to send information from Talon.One to the URI of your choice.
@@ -184,7 +188,7 @@ paths:
The `integration ID` of the customer session. You set this ID when you create a customer session.
You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the
- [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
in: path
name: customerSessionId
required: true
@@ -216,33 +220,52 @@ paths:
- integration
x-accepts: application/json
put:
- description: "Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).\n\
- The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects)\
- \ that match the current cart.\nFor example, use this endpoint to share the\
- \ contents of a customer's cart with Talon.One.\n\n**Note:** \n- The currency\
- \ for the session and the cart items in it is the currency set for the Application\
- \ linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign)\
- \ are not considered for rule evaluation.\n\n### Session management\n\nTo\
- \ use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions)\n\
- and their states and refer to the `state` parameter documentation the request\
- \ body schema docs below.\n\n### Sessions and customer profiles\n\n- To link\
- \ a session to a customer profile, set the `profileId` parameter in the request\
- \ body to a customer profile's `integrationId`.\n- While you can create an\
- \ anonymous session with `profileId=\"\"`, we recommend you use a guest ID\
- \ instead.\n- A profile can be linked to simultaneous sessions in different\
- \ Applications. Either:\n - Use unique session integration IDs or,\n - Use\
- \ the same session integration ID across all of the Applications.\n\n**Note:**\
- \ If the specified profile does not exist, an empty profile is **created automatically**.\n\
- \ You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2).\n\
- \n
\n
Performance tips
\n\
- \n - Updating a customer session returns a response with the new integration\
- \ state. Use the `responseContent` property to save yourself extra API calls.\n\
- \ For example, you can get the customer profile details directly without\
- \ extra requests.\n - We recommend sending requests sequentially. See [Managing\
- \ parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).\n\
-
\n\nFor more information, see:\n- The introductory video in [Getting\
- \ started](https://docs.talon.one/docs/dev/getting-started/overview).\n- The\
- \ [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).\n"
+ description: |
+ Update or create a [customer
+ session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).
+
+ The endpoint responds with the potential promotion rule
+ [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that
+ match the current cart.
+
+ For example, use this endpoint to share the contents of a customer's cart
+ with Talon.One.
+
+ > [!note] **Note**
+ > - The currency for the session and the cart items in it is the currency set for the Application linked to this session.
+ > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation.
+
+ ### Session management
+
+ To use this endpoint, start by learning about [customer
+ sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions)
+ and their states and refer to the `state` parameter documentation the
+ request body schema docs below.
+
+ ### Sessions and customer profiles
+
+ - To link a session to a customer profile, set the `profileId` parameter in
+ the request body to a customer profile's `integrationId`.
+
+ - While you can create an anonymous session with `profileId=""`, we
+ recommend you use a guest ID instead.
+
+ - A profile can be linked to simultaneous sessions in different
+ Applications. Either:
+ - Use unique session integration IDs or,
+ - Use the same session integration ID across all of the Applications.
+
+ > [!note] **Note**
+ > - If the specified profile does not exist, an empty profile is **created automatically**.
+ > You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2).
+ > - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls.
+ > For example, you can get the customer profile details directly without extra requests.
+ > - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
+
+ For more information, see:
+
+ - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview).
+ - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
operationId: updateCustomerSessionV2
parameters:
- description: |
@@ -262,22 +285,24 @@ paths:
The `integration ID` of the customer session. You set this ID when you create a customer session.
You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the
- [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
in: path
name: customerSessionId
required: true
schema:
type: string
- description: |
- A timestamp value of a future date that acts as a current date when included in the query.
+ A timestamp value of a future date that acts as a current date when
+ included in the query.
- Use this parameter, for example, to test campaigns that would be evaluated for this customer session in the future (say, [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)).
+ Use this parameter, for example, to test campaigns that would be
+ evaluated for this customer session in the future (say, [scheduled
+ campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)).
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - It can **only** be a date in the future.
- - It can **only** be used if the `dry` parameter in the query is set to `true`.
+ > [!note] **Note**
+ > - It must be an RFC3339 timestamp string.
+ > - It can **only** be a date in the future.
+ > - It can **only** be used if the `dry` parameter in the query is set to `true`.
in: query
name: now
schema:
@@ -329,11 +354,18 @@ paths:
description: |
Create a new return request for the specified cart items.
- This endpoint automatically changes the session state from `closed` to `partially_returned`.
+ This endpoint automatically changes the session state from `closed` to
+ `partially_returned`.
+
+ > [!note] This will roll back any effects associated with these cart items.
+ > For more information, see [our documentation on session
+ > states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states)
+ > and [this tutorial](https://docs.talon.one/docs/dev/tutorials/partially-returning-a-session).
- **Note:** This will roll back any effects associated with these cart items. For more information, see
- [our documentation on session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states)
- and [this tutorial](https://docs.talon.one/docs/dev/tutorials/partially-returning-a-session).
+ > [!note] To make request processing idempotent for this endpoint, include the `Idempotency-Key` header with an idempotency key in requests. Also:
+ > - Requests with the `Idempotency-Key` header are logged in the Talon.One access logs.
+ > - Responses for idempotent requests are stored in the database and expire 24 hours after the request is sent.
+ > - Idempotency keys are typically UUID keys and should not exceed 255 characters in length.
operationId: returnCartItems
parameters:
- description: |
@@ -346,12 +378,18 @@ paths:
The `integration ID` of the customer session. You set this ID when you create a customer session.
You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the
- [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
in: path
name: customerSessionId
required: true
schema:
type: string
+ - description: |
+ When set to `true`, reevaluates the updated session after items are returned. Only reevaluates campaigns where `reevaluateOnReturn` is set to `true` and which produced an effect when the session was closed.
+ in: query
+ name: runRuleEngine
+ schema:
+ type: boolean
requestBody:
content:
application/json:
@@ -388,38 +426,57 @@ paths:
x-accepts: application/json
/v2/customer_sessions/{customerSessionId}/reopen:
put:
- description: "Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).\n\
- For example, if a session has been completed but still needs to be edited,\
- \ you can reopen it with this endpoint.\nA reopen session is treated like\
- \ a standard open session.\n\nWhen reopening a session:\n- The `talon_session_reopened`\
- \ event is triggered. You can see it in the **Events** view in the Campaign\
- \ Manager.\n- The session state is updated to `open`.\n- Any modified budgets\
- \ and triggered effects are rolled back when the session closes.\n- Depending\
- \ on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy)\n\
- \ in your loyalty programs, points are rolled back in the following ways:\n\
- \ - Pending points are rolled back automatically.\n - If **Active points\
- \ deduction** setting is enabled, any points that were earned and activated\
- \ when the session closed \n are rolled back.\n - If **Negative balance**\
- \ is enabled, the rollback can create a negative points balance.\n\n\n\n\
- \ Effects and budgets unimpacted by a session reopening
\n\
- \ \n
The following effects and budgets remain in the state they\
- \ were in when the session closed:
\n
\n - Add free item\
- \ effect
\n - Award giveaway
\n - Coupon and referral\
- \ creation
\n - Coupon reservation
\n - Custom effect
\n\
- \ - Update attribute value
\n - Update cart item attribute\
- \ value
\n
\n
\n\n\n \nTo see an example of\
- \ a rollback, see the Cancelling a session with campaign budgets tutorial.
\n\n**Note:**\
- \ If your order workflow requires you to create a new session instead of reopening\
- \ a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)\
- \ endpoint to cancel a closed session and create a new one.\n"
+ description: |
+ Reopen a closed [customer
+ session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions).
+
+ For example, if a session has been completed but still needs to be edited,
+ you can reopen it with this endpoint.
+
+ A reopen session is treated like a standard open session.
+
+ When reopening a session:
+
+ - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager.
+ - The session state is updated to `open`.
+ - Any modified budgets and triggered effects are rolled back when the session closes.
+ - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy)
+ in your loyalty programs, points are rolled back in the following ways:
+ - Pending points are rolled back automatically.
+ - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed
+ are rolled back.
+ - If **Negative balance** is enabled, the rollback can create a negative points balance.
+
+
+ Effects and budgets unimpacted by a session reopening
+
+
The following effects and budgets remain in the state they were in when the session closed:
+
+ - Add free item effect
+ - Award giveaway
+ - Coupon and referral creation
+ - Coupon reservation
+ - Custom effect
+ - Update attribute value
+ - Update cart item attribute value
+
+
+
+
+ To see an example of a rollback, see the
+ [Cancelling a session with campaign budgets](https://docs.talon.one/docs/dev/tutorials/rolling-back-effects) tutorial.
+
+ > [!note] If your order workflow requires you to create a new session
+ > instead of reopening a session, use the
+ > [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)
+ > endpoint to cancel a closed session and create a new one.
operationId: reopenCustomerSession
parameters:
- description: |
The `integration ID` of the customer session. You set this ID when you create a customer session.
You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the
- [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
in: path
name: customerSessionId
required: true
@@ -453,21 +510,21 @@ paths:
/v2/customer_profiles/{integrationId}:
put:
description: |
- Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder.
+ Update or create a [Customer
+ Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles).
+ This endpoint triggers the Rule Builder.
You can use this endpoint to:
- Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first.
- Modify the audience the customer profile is a member of.
- **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`.
-
-
Performance tips
-
- - Updating a customer profile returns a response with the requested integration state.
- - You can use the `responseContent` property to save yourself extra API calls. For example, you can get
- the customer profile details directly without extra requests.
- - We recommend sending requests sequentially.
- See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
-
+
+ > [!note] **Note**
+ > - Updating a customer profile returns a response with the requested integration state.
+ > - You can use the `responseContent` property to save yourself extra API calls. For example, you can get
+ > the customer profile details directly without extra requests.
+ > - We recommend sending requests sequentially.
+ > See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
+ > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`.
operationId: updateCustomerProfileV2
parameters:
- description: |
@@ -549,16 +606,20 @@ paths:
/v2/customer_profiles:
put:
description: |
- Update (or create) up to 1000 [customer profiles](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) in 1 request.
+ Update (or create) up to 1000 [customer
+ profiles](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles)
+ in 1 request.
The `integrationId` must be any identifier that remains stable for
the customer. Do not use an ID that the customer can update
themselves. For example, you can use a database ID.
- A customer profile [can be linked to one or more sessions](https://docs.talon.one/integration-api#tag/Customer-sessions).
+ A customer profile [can be linked to one or more
+ sessions](https://docs.talon.one/integration-api#tag/Customer-sessions).
- **Note:** This endpoint does not trigger the Rule Engine. To trigger the Rule Engine for customer profile updates,
- use the [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint.
+ > [!note] This endpoint does not trigger the Rule Engine.
+ > To trigger the Rule Engine for customer profile updates,
+ > use the [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint.
operationId: updateCustomerProfilesV2
parameters:
- description: |
@@ -607,22 +668,28 @@ paths:
/v2/audiences:
post:
description: |
- Create an audience. The audience can be created directly from scratch or can come from third party platforms.
+ Create an audience. The audience can be created directly from scratch or can
+ come from third party platforms.
- **Note:** Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences).
+ > [!note] Audiences can also be created from scratch via the Campaign
+ Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences).
- To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview):
- 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform.
+ To create an audience from an existing audience from a [technology
+ partner](https://docs.talon.one/docs/dev/technology-partners/overview):
+
+ 1. Set the `integration` property to `mparticle`, `segment` etc., depending
+ on a third-party platform.
1. Set `integrationId` to the ID of this audience in a third-party platform.
To create an audience from an existing audience in another platform:
+
1. Do not use the `integration` property.
1. Set `integrationId` to the ID of this audience in the 3rd-party platform.
- To create an audience from scratch:
- 1. Only set the `name` property.
+ To create an audience from scratch, only set the `name` property.
- Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
+ Once you create your first audience, audience-specific rule conditions are
+ enabled in the Rule Builder.
operationId: createAudienceV2
requestBody:
content:
@@ -670,9 +737,11 @@ paths:
description: |
Delete an audience created by a third-party integration.
- **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience.
+ > [!warning] This endpoint also removes any associations recorded between a
+ customer profile and this audience.
- **Note:** Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
+ > [!note] Audiences can also be deleted via the Campaign Manager. See the
+ [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
operationId: deleteAudienceV2
parameters:
- description: The ID of the audience.
@@ -800,7 +869,9 @@ paths:
The endpoint supports 1000 audience actions (`add` or `remove`) per request.
- **Note:** You can also do this using the [Update audience](https://docs.talon.one/docs/product/rules/effects/using-effects#updating-an-audience) effect.
+ > [!note] You can also do this using the
+ > [Update audience](https://docs.talon.one/docs/product/rules/effects/using-effects#updating-an-audience)
+ > effect.
operationId: updateCustomerProfileAudiences
requestBody:
content:
@@ -886,14 +957,22 @@ paths:
/v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/link_profile:
post:
description: |
- [Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) allow customers to collect
- and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types).
- They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them.
+ [Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview)
+ allow customers to collect and spend loyalty points within a [card-based loyalty
+ program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types).
- Link a customer profile to a given loyalty card for the card to be set as **Registered**.
- This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card).
+ They are useful to gamify loyalty programs and can be used with or without
+ customer profiles linked to them.
- **Note:** You can link as many customer profiles to a given loyalty card as the [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs) allows.
+ Link a customer profile to a given loyalty card for the card to be set as
+ **Registered**.
+
+ This affects how it can be used. See the
+ [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card).
+
+ > [!note] You can link as many customer profiles to a given loyalty card as the
+ > [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs)
+ > allows.
operationId: linkLoyaltyCardToProfile
parameters:
- description: |
@@ -907,7 +986,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -961,7 +1047,7 @@ paths:
Unlink a customer profile from a [registered](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card) loyalty card.
To get the `integrationId` of a customer profile, you can use the
- [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2)
+ [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)
endpoint.
operationId: unlinkLoyaltyCardFromProfile
parameters:
@@ -974,7 +1060,14 @@ paths:
format: int64
type: integer
- description: |
- The identifier of the loyalty card. You can get this ID using the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ The identifier of the loyalty card. You can get this ID using the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -1022,32 +1115,145 @@ paths:
x-codegen-request-body-name: body
x-contentType: application/json
x-accepts: application/json
+ /v1/integration/campaigns:
+ get:
+ description: "Retrieve all running campaigns for the specified Application.\
+ \ You\ncan filter the results by providing specific campaign IDs or a range\
+ \ of \nstart and end dates.\n"
+ operationId: integrationGetAllCampaigns
+ parameters:
+ - description: The number of items in the response.
+ in: query
+ name: pageSize
+ schema:
+ default: 50
+ format: int64
+ maximum: 1000
+ minimum: 1
+ type: integer
+ - description: The number of items to skip when paging through large result
+ sets.
+ in: query
+ name: skip
+ schema:
+ format: int64
+ type: integer
+ - description: |
+ Filter by one or more campaign IDs, separated by a comma.
+
+ **Note:** If no campaigns are specified, data for all the campaigns in
+ the Application is returned.
+ explode: false
+ in: query
+ name: campaignIds
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: "Filter results to only include campaigns that start on or after\
+ \ \nthe specified timestamp.\n\n**Note:**\n\n- It must be an RFC3339 timestamp\
+ \ string.\n\n- You can include a time component in your string, for example,\n\
+ `T23:59:59` to specify the end of the day. The time zone setting\nconsidered\
+ \ is `UTC`. If you do not include a time component, a default\ntime value\
+ \ of `T00:00:00` (midnight) in `UTC` is considered.\n"
+ in: query
+ name: startAfter
+ schema:
+ format: date-time
+ type: string
+ - description: "Filter results to only include campaigns that start on or before\
+ \ \nthe specified timestamp.\n\n**Note:**\n\n- It must be an RFC3339 timestamp\
+ \ string.\n\n- You can include a time component in your string, for example,\n\
+ `T23:59:59` to specify the end of the day. The time zone setting\nconsidered\
+ \ is `UTC`. If you do not include a time component, a default\ntime value\
+ \ of `T00:00:00` (midnight) in `UTC` is considered.\n"
+ in: query
+ name: startBefore
+ schema:
+ format: date-time
+ type: string
+ - description: "Filter results to only include campaigns that end on or after\
+ \ \nthe specified timestamp.\n\n**Note:**\n\n- It must be an RFC3339 timestamp\
+ \ string.\n\n- You can include a time component in your string, for example,\n\
+ `T23:59:59` to specify the end of the day. The time zone setting\nconsidered\
+ \ is `UTC`. If you do not include a time component, a default\ntime value\
+ \ of `T00:00:00` (midnight) in `UTC` is considered.\n"
+ in: query
+ name: endAfter
+ schema:
+ format: date-time
+ type: string
+ - description: "Filter results to only include campaigns that end on or before\
+ \ \nthe specified timestamp.\n\n**Note:**\n\n- It must be an RFC3339 timestamp\
+ \ string.\n\n- You can include a time component in your string, for example,\n\
+ `T23:59:59` to specify the end of the day. The time zone setting\nconsidered\
+ \ is `UTC`. If you do not include a time component, a default\ntime value\
+ \ of `T00:00:00` (midnight) in `UTC` is considered.\n"
+ in: query
+ name: endBefore
+ schema:
+ format: date-time
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/inline_response_200'
+ description: OK
+ "400":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Bad request
+ "401":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Unauthorized
+ "404":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Not found
+ security:
+ - api_key_v1: []
+ summary: List all running campaigns
+ tags:
+ - integration
+ x-accepts: application/json
/v2/events:
post:
description: |
Triggers a custom event.
To use this endpoint:
- 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager.
- 1. Update or create a rule to check for this event.
- 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager.
-
- Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create
- a custom event when you can use a built-in event.
- For example, use this endpoint to trigger an event when a customer shares a link to a product.
- See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing).
+ 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event)
+ in the Campaign Manager.
+ 1. Update or create a rule to check for this event.
+ 1. Trigger the event with this endpoint. After you have successfully sent an
+ event to Talon.One, you can list the received events in the **Events** view
+ in the Campaign Manager.
-
+ Talon.One also offers a set of [built-in
+ events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure
+ you do not create a custom event when you can use a built-in event.
-
Important
+ For example, use this endpoint to trigger an event when a customer shares a
+ link to a product.
- 1. `profileId` is required even though the schema does not specify it.
- 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered.
- 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
- 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation.
+ See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing).
-
+ > [!note] **Note**
+ > - `profileId` is required even though the schema does not specify it.
+ > - If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered.
+ > - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests).
+ > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation.
operationId: trackEventV2
parameters:
- description: |
@@ -1116,9 +1322,13 @@ paths:
/v1/referrals:
post:
description: |
- Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile.
+ Creates a referral code for an advocate. The code will be valid for the
+ referral campaign for which is created, indicated in the `campaignId`
+ parameter, and will be associated with the profile specified in the
+ `advocateProfileIntegrationId` parameter as the advocate's profile.
- **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits)
+ > set are ignored when you use this endpoint.
operationId: createReferral
requestBody:
content:
@@ -1157,9 +1367,14 @@ paths:
/v1/referrals_for_multiple_advocates:
post:
description: |
- Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile.
-
- **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ Creates unique referral codes for multiple advocates. The code will be valid
+ for the referral campaign for which it is created, indicated in the
+ `campaignId` parameter, and one referral code will be associated with one
+ advocate using the profile specified in the `advocateProfileIntegrationId`
+ parameter as the advocate's profile.
+
+ > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits)
+ > set are ignored when you use this endpoint.
operationId: createReferralsForMultipleAdvocates
parameters:
- description: |
@@ -1211,20 +1426,23 @@ paths:
/v1/customer_data/{integrationId}:
delete:
description: |
- Delete all attributes on the customer profile and on entities that reference this customer profile.
-
- **Important:**
- - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments)
- that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application,
- customer data will be deleted from all sandbox Applications. This is because customer data is shared
- between Applications from the same environment.
- - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours.
+ Delete all attributes on the customer profile and on entities that reference
+ this customer profile.
+
+ > [!warning] **Warning**
+ > - Customer data is deleted from all Applications in the
+ > [environment](https://docs.talon.one/docs/product/applications/overview#application-environments)
+ > that the API key belongs to. For example, if you use this endpoint with an API key that belongs
+ > to a sandbox Application, customer data will be deleted from all sandbox Applications.
+ > This is because customer data is shared between Applications from the same environment.
+ > - To preserve performance, we recommend avoiding deleting customer data
+ > during peak-traffic hours.
operationId: deleteCustomerData
parameters:
- description: |
The integration ID of the customer profile. You can get the `integrationId` of a profile using:
- - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
- - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
+ - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: integrationId
required: true
@@ -1259,10 +1477,12 @@ paths:
coupon code.
operationId: deleteCouponReservation
parameters:
- - description: "The code of the coupon.\n\n**Important:** The coupon code requires\
- \ [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) \nif\
- \ it contains special characters.\nFor example, you must encode `SUMMER25%OFF`\
- \ as `SUMMER25%25OFF`.\n"
+ - description: |
+ The code of the coupon.
+
+ **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp)
+ if it contains special characters.
+ For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
in: path
name: couponValue
required: true
@@ -1315,25 +1535,24 @@ paths:
reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code)
effect.
- **Note:**
-
- - If the **Reservation mandatory** option was selected when creating the
- specified coupon, the endpoint creates a **hard** reservation, meaning only users who have
- this coupon code reserved can redeem it.
- Otherwise, the endpoint creates a **soft** reservation, meaning the coupon
- is associated with the specified customer profiles (they show up when using
- the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory)
- endpoint), but any user can redeem it.
- This can be useful, for example, to display a _coupon wallet_ for customers
- when they visit your store.
-
- - If the **Coupon visibility** option was selected when creating the
- specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code
- will be returned for all customer profiles in the [List customer
- data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint.
-
- - This endpoint overrides the coupon reservation limit set when
- [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons).
+ > [!note] **Note**
+ > - If the **Reservation mandatory** option was selected when creating the
+ > specified coupon, the endpoint creates a **hard** reservation, meaning only users who have
+ > this coupon code reserved can redeem it.
+ >
+ > Otherwise, the endpoint creates a **soft** reservation, meaning the coupon
+ > is associated with the specified customer profiles (they show up when using
+ > the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory)
+ > endpoint), but any user can redeem it.
+ >
+ > This can be useful, for example, to display a _coupon wallet_ for customers
+ > when they visit your store.
+ > - If the **Coupon visibility** option was selected when creating the
+ > specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code
+ > will be returned for all customer profiles in the [List customer
+ > data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) endpoint.
+ > - This endpoint overrides the coupon reservation limit set when
+ > [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons).
To ensure that coupons cannot be reserved after the reservation limit is
reached, use the [Create coupon code
@@ -1345,10 +1564,12 @@ paths:
[Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint.
operationId: createCouponReservation
parameters:
- - description: "The code of the coupon.\n\n**Important:** The coupon code requires\
- \ [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) \nif\
- \ it contains special characters.\nFor example, you must encode `SUMMER25%OFF`\
- \ as `SUMMER25%25OFF`.\n"
+ - description: |
+ The code of the coupon.
+
+ **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp)
+ if it contains special characters.
+ For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
in: path
name: couponValue
required: true
@@ -1414,7 +1635,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200'
+ $ref: '#/components/schemas/inline_response_200_1'
description: OK
"400":
content:
@@ -1451,8 +1672,8 @@ paths:
parameters:
- description: |
The integration ID of the customer profile. You can get the `integrationId` of a profile using:
- - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
- - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
+ - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: integrationId
required: true
@@ -1605,7 +1826,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_1'
+ $ref: '#/components/schemas/inline_response_200_2'
description: OK
"400":
content:
@@ -1705,7 +1926,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_2'
+ $ref: '#/components/schemas/inline_response_200_3'
description: OK
"400":
content:
@@ -1749,7 +1970,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -1758,12 +1986,13 @@ paths:
minLength: 4
type: string
- description: |
- Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value.
-
- **Note:**
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -1812,12 +2041,18 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balances:
get:
description: |
- Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program.
- You can filter balances by date and subledger ID, and include tier-related information in the response.
+ Retrieve loyalty ledger balances for the given Integration ID in the
+ specified loyalty program.
- **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID.
+ You can filter balances by date and subledger ID, and include tier-related
+ information in the response.
- Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance.
+ > [!note] If no filtering options are applied, you retrieve all loyalty
+ > balances on the current date for the given integration ID.
+
+ Loyalty balances are calculated when Talon.One receives your request using
+ the points stored in our database, so retrieving a large number of balances
+ at once can impact performance.
For more information, see:
- [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards)
@@ -1845,12 +2080,13 @@ paths:
schema:
type: string
- description: |
- Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value.
-
- **Note:**
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -1915,16 +2151,26 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/ledger_balances:
get:
description: |
- Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program.
- You can filter balances by date and subledger ID, and include tier-related information in the response.
+ Retrieve loyalty ledger balances for the given Integration ID in the
+ specified loyalty program.
- **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID.
+ You can filter balances by date and subledger ID, and include tier-related
+ information in the response.
- Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance.
+ > [!note] If no filtering options are applied, you retrieve all loyalty
+ > balances on the current date for the given integration ID.
+
+ Loyalty balances are calculated when Talon.One receives your request using
+ the points stored in our database, so retrieving a large number of balances
+ at once can impact performance.
For more information, see:
- - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards)
- - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+
+ - [Managing card-based loyalty program
+ data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards)
+
+ - [Managing profile-based loyalty program
+ data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
operationId: getLoyaltyLedgerBalances
parameters:
- description: |
@@ -1948,12 +2194,13 @@ paths:
schema:
type: string
- description: |
- Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value.
-
- **Note:**
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -2032,7 +2279,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -2063,33 +2317,38 @@ paths:
- import
type: string
- description: |
- Date and time from which results are returned. Results are filtered by transaction creation date.
+ Date and time from which results are returned. Results are filtered by
+ transaction creation date.
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: startDate
schema:
format: date-time
type: string
- description: |
- Date and time by which results are returned. Results are filtered by transaction creation date.
-
- **Note:**
+ Date and time by which results are returned. Results are filtered by
+ transaction creation date.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
format: date-time
type: string
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -2098,9 +2357,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -2138,7 +2401,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_3'
+ $ref: '#/components/schemas/inline_response_200_4'
description: OK
"400":
content:
@@ -2167,12 +2430,15 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/transactions:
get:
description: |
- Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program.
+ Retrieve paginated results of loyalty transaction logs for the given
+ Integration ID in the specified loyalty program.
- You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned.
+ You can filter transactions by date. If no filters are applied, the last 50
+ loyalty transactions for the given integration ID are returned.
- **Note:** To retrieve all loyalty program transaction logs in a given loyalty program,
- use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+ > [!note] To retrieve all loyalty program transaction logs in a given
+ > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions)
+ > endpoint.
operationId: getLoyaltyProgramProfileTransactions
parameters:
- description: |
@@ -2195,10 +2461,13 @@ paths:
required: true
schema:
type: string
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -2207,9 +2476,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -2237,24 +2510,26 @@ paths:
- import
type: string
- description: |
- Date and time from which results are returned. Results are filtered by transaction creation date.
+ Date and time from which results are returned. Results are filtered by
+ transaction creation date.
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: startDate
schema:
format: date-time
type: string
- description: |
- Date and time by which results are returned. Results are filtered by transaction creation date.
-
- **Note:**
+ Date and time by which results are returned. Results are filtered by
+ transaction creation date.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -2289,7 +2564,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_4'
+ $ref: '#/components/schemas/inline_response_200_5'
description: OK
"400":
content:
@@ -2318,12 +2593,15 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/ledger_transactions:
get:
description: |
- Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program.
+ Retrieve paginated results of loyalty transaction logs for the given
+ Integration ID in the specified loyalty program.
- You can filter transactions by date or by ledger (subledger or main ledger). If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned.
+ You can filter transactions by date or by ledger (subledger or main ledger). If no filters are applied, the last 50
+ loyalty transactions for the given integration ID are returned.
- **Note:** To retrieve all loyalty program transaction logs in a given loyalty program,
- use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+ > [!note] To retrieve all loyalty program transaction logs in a given
+ > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions)
+ > endpoint.
operationId: getLoyaltyProgramProfileLedgerTransactions
parameters:
- description: |
@@ -2346,10 +2624,13 @@ paths:
required: true
schema:
type: string
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -2358,9 +2639,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -2389,24 +2674,26 @@ paths:
- import
type: string
- description: |
- Date and time from which results are returned. Results are filtered by transaction creation date.
-
- **Note:**
+ Date and time from which results are returned. Results are filtered by
+ transaction creation date.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: startDate
schema:
format: date-time
type: string
- description: |
- Date and time by which results are returned. Results are filtered by transaction creation date.
+ Date and time by which results are returned. Results are filtered by
+ transaction creation date.
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -2441,7 +2728,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_4'
+ $ref: '#/components/schemas/inline_response_200_5'
description: OK
"400":
content:
@@ -2470,9 +2757,9 @@ paths:
description: |
Delete a customer's transactions in all loyalty ledgers or a specified ledger.
- **Note:** To retrieve loyalty transaction logs for a specific customer in a given
- loyalty program, use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions)
- endpoint.
+ > [!note] To retrieve loyalty transaction logs for a specific customer in a given loyalty program,
+ > use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions)
+ > endpoint.
operationId: deleteLoyaltyTransactionsFromLedgers
parameters:
- description: |
@@ -2486,8 +2773,8 @@ paths:
type: integer
- description: |
The integration ID of the customer profile. You can get the `integrationId` of a profile using:
- - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
- - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
+ - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: integrationId
required: true
@@ -2551,7 +2838,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -2578,10 +2872,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -2590,9 +2887,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -2617,12 +2918,16 @@ paths:
schema:
format: int64
type: integer
- - description: "The field by which results should be sorted. You can enter one\
- \ of the following values:\n\n- `startDate`: Sorts the results by the start\
- \ date of the points.\n- `expiryDate`: Sorts the results by the expiry date\
- \ of the points.\n\nBy default, results are sorted in ascending order. \n\
- To sort them in descending order, prefix the field name with `-`.\n\n**Note:**\
- \ You can only sort by one field at a time.\n"
+ - description: |
+ The field by which results should be sorted. You can enter one of the following values:
+
+ - `startDate`: Sorts the results by the start date of the points.
+ - `expiryDate`: Sorts the results by the expiry date of the points.
+
+ By default, results are sorted in ascending order.
+ To sort them in descending order, prefix the field name with `-`.
+
+ **Note:** You can only sort by one field at a time.
in: query
name: sort
schema:
@@ -2635,7 +2940,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_5'
+ $ref: '#/components/schemas/inline_response_200_6'
description: OK
"400":
content:
@@ -2764,7 +3069,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_6'
+ $ref: '#/components/schemas/inline_response_200_7'
description: OK
"400":
content:
@@ -2792,7 +3097,7 @@ paths:
x-accepts: application/json
/v1/applications:
get:
- description: List all applications in the current account.
+ description: List all the Applications in the current account.
operationId: getApplications
parameters:
- description: The number of items in the response.
@@ -2824,7 +3129,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_7'
+ $ref: '#/components/schemas/inline_response_200_8'
description: OK
summary: List Applications
tags:
@@ -2832,7 +3137,7 @@ paths:
x-accepts: application/json
/v1/applications/{applicationId}:
get:
- description: Get the application specified by the ID.
+ description: Get the Application specified by the ID.
operationId: getApplication
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -2996,7 +3301,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_8'
+ $ref: '#/components/schemas/inline_response_200_9'
description: OK
"400":
content:
@@ -3072,7 +3377,9 @@ paths:
description: |
Update the given campaign.
- **Important:** You cannot use this endpoint to update campaigns if [campaign staging and revisions](https://docs.talon.one/docs/product/applications/managing-general-settings#campaign-staging-and-revisions) is enabled for your Application.
+ > [!important] You cannot use this endpoint to update campaigns if [campaign staging and
+ > revisions](https://docs.talon.one/docs/product/applications/managing-general-settings#campaign-staging-and-revisions)
+ > is enabled for your Application.
operationId: updateCampaign
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -3144,7 +3451,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_8'
+ $ref: '#/components/schemas/inline_response_200_9'
description: OK
summary: Copy the campaign into the specified Application
tags:
@@ -3222,7 +3529,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_8'
+ $ref: '#/components/schemas/inline_response_200_9'
description: OK
summary: List campaigns that match the given attributes
tags:
@@ -3283,7 +3590,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_9'
+ $ref: '#/components/schemas/inline_response_200_10'
description: OK
summary: List campaign rulesets
tags:
@@ -3502,7 +3809,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_10'
+ $ref: '#/components/schemas/inline_response_200_11'
description: OK
"204":
content: {}
@@ -3516,21 +3823,16 @@ paths:
put:
description: |
Update all coupons or a specific batch of coupons in the given campaign.
- You can find the `batchId` on the **Coupons** page of your campaign
- in the Campaign Manager, or you can use [List coupons](#operation/getCouponsWithoutTotalCount).
-
-
-
Important
-
- - Only send sequential requests to this endpoint.
- - Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team.
- - With this
PUT endpoint, if you do not explicitly set a value for the startDate and expiryDate properties in your request, it is automatically set to null.
-
+ You can find the `batchId` on the **Coupons** page of your campaign in the
+ Campaign Manager, or you can use [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
-
+ > [!note] **Note**
+ > - Only send sequential requests to this endpoint.
+ > - Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team.
+ > - With this `PUT` endpoint, if you do not explicitly set a value for the `startDate` and `expiryDate` properties in your request, it is automatically set to `null`.
- To update a specific coupon, use [Update coupon](#operation/updateCoupon).
+ To update a specific coupon, use [Update coupon](#tag/Coupons/operation/updateCoupon).
operationId: updateCouponBatch
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -3608,7 +3910,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_10'
+ $ref: '#/components/schemas/inline_response_200_11'
description: OK
"204":
content: {}
@@ -3874,7 +4176,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_11'
+ $ref: '#/components/schemas/inline_response_200_12'
description: OK
summary: List coupons
tags:
@@ -3921,12 +4223,9 @@ paths:
description: |
Update the specified coupon.
-
-
Important
-
-
With this PUT endpoint, if you do not explicitly set a value for the startDate, expiryDate, and recipientIntegrationId properties in your request, it is automatically set to null.
-
-
+ > [!note]
+ > With this `PUT` endpoint, if you do not explicitly set a value for the `startDate`, `expiryDate`,
+ > and `recipientIntegrationId` properties in your request, it is automatically set to `null`.
operationId: updateCoupon
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -3976,13 +4275,12 @@ paths:
/v1/applications/{applicationId}/campaigns/{campaignId}/coupons_search_advanced/no_total:
post:
description: |
- List the coupons whose attributes match the query criteria
- in the given campaign.
+ List the coupons whose attributes match the query criteria in the given campaign.
- The match is successful if all the attributes of the request are found in a coupon,
- even if the coupon has more attributes that are not present on the request.
+ The match is successful if all the attributes of the request are found in a
+ coupon, even if the coupon has more attributes that are not present on the request.
- **Note:** The total count is not included in the response.
+ > [!note] The total count is not included in the response.
operationId: searchCouponsAdvancedWithoutTotalCount
parameters:
- description: The number of items in the response.
@@ -4104,7 +4402,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_11'
+ $ref: '#/components/schemas/inline_response_200_12'
description: OK
summary: List coupons that match the given attributes in campaign (without total
count)
@@ -4116,12 +4414,13 @@ paths:
/v1/applications/{applicationId}/coupons_search_advanced/no_total:
post:
description: |
- List the coupons whose attributes match the query criteria in all the campaigns of the given Application.
+ List the coupons whose attributes match the query criteria in all the
+ campaigns of the given Application.
- The match is successful if all the attributes of the request are found in a coupon,
- even if the coupon has more attributes that are not present on the request.
+ The match is successful if all the attributes of the request are found in a
+ coupon, even if the coupon has more attributes that are not present on the request.
- **Note:** The total count is not included in the response.
+ > [!note] The total count is not included in the response.
operationId: searchCouponsAdvancedApplicationWideWithoutTotalCount
parameters:
- description: The number of items in the response.
@@ -4255,7 +4554,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_11'
+ $ref: '#/components/schemas/inline_response_200_12'
description: OK
summary: List coupons that match the given attributes (without total count)
tags:
@@ -4442,7 +4741,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_12'
+ $ref: '#/components/schemas/inline_response_200_13'
description: OK
summary: List referrals
tags:
@@ -4482,7 +4781,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_13'
+ $ref: '#/components/schemas/inline_response_200_14'
description: OK
summary: List campaign access groups
tags:
@@ -4572,7 +4871,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_14'
+ $ref: '#/components/schemas/inline_response_200_15'
description: OK
summary: List campaign templates
tags:
@@ -4580,7 +4879,8 @@ paths:
x-accepts: application/json
/v1/applications/{applicationId}/experiments:
get:
- description: Get a list of experiments per application.
+ description: List all experiments of the specified Application that match your
+ filter criteria.
operationId: listExperiments
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -4620,7 +4920,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_15'
+ $ref: '#/components/schemas/inline_response_200_16'
description: OK
summary: List experiments
tags:
@@ -4628,7 +4928,7 @@ paths:
x-accepts: application/json
/v1/applications/{applicationId}/experiments/{experimentId}:
get:
- description: Retrieve a given experiment associated with an Application.
+ description: Retrieve the given experiment associated with the Application.
operationId: getExperiment
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -4704,7 +5004,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_16'
+ $ref: '#/components/schemas/inline_response_200_17'
description: OK
summary: List loyalty programs
tags:
@@ -4713,11 +5013,14 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}:
get:
description: |
- Get the specified [loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview).
- To list all loyalty programs in your Application, use [List loyalty programs](#operation/getLoyaltyPrograms).
+ Get the specified [loyalty
+ program](https://docs.talon.one/docs/product/loyalty-programs/overview).
- To list the loyalty programs that a customer profile is part of, use the
- [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory)
+ To list all loyalty programs in your Application, use [List loyalty
+ programs](#tag/Loyalty/operation/getLoyaltyPrograms).
+
+ To list the loyalty programs that a customer profile is part of, use
+ [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory).
operationId: getLoyaltyProgram
parameters:
- description: |
@@ -4801,11 +5104,12 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/dashboard:
get:
description: |
- Retrieve the statistics displayed on the specified loyalty program's dashboard,
- such as the total active points, pending points, spent points, and expired points.
+ Retrieve the statistics displayed on the specified loyalty program's
+ dashboard, such as the total active points, pending points, spent points, and expired
+ points.
- **Important:** The returned data does not include the current day. All statistics
- are updated daily at 11:59 PM in the loyalty program time zone.
+ > [!important] The returned data does not include the current day. All statistics
+ > are updated daily at 11:59 PM in the loyalty program time zone.
operationId: getDashboardStatistics
parameters:
- description: |
@@ -4825,9 +5129,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -4837,9 +5142,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -4851,7 +5157,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_17'
+ $ref: '#/components/schemas/inline_response_200_18'
description: OK
summary: Get statistics for loyalty dashboard
tags:
@@ -4859,49 +5165,81 @@ paths:
x-accepts: application/json
/v1/loyalty_programs/{loyaltyProgramId}/import_points:
post:
- description: "Upload a CSV file containing the loyalty points you want to import\
- \ into a given loyalty program.\nSend the file as multipart data.\n\nDepending\
- \ on the type of loyalty program, you can import points into a given customer\
- \ profile or loyalty card.\n\nThe CSV file contains the following columns:\n\
- \n- `customerprofileid` (optional): For profile-based loyalty programs, the\
- \ integration ID of the customer profile where the loyalty points are imported.\n\
- \n **Note**: If the customer profile does not exist, it will be created.\
- \ The profile will not be visible in any Application\n until a session or\
- \ profile update is received for that profile.\n- `identifier` (optional):\
- \ For card-based loyalty programs, the identifier of the loyalty card where\
- \ the loyalty points are imported.\n- `amount`: The amount of points to award\
- \ to the customer profile.\n- `startdate` (optional): The earliest date when\
- \ the points can be redeemed. The points are `active` from this date until\
- \ the expiration date.\n\n This parameter accepts one of the following values:\n\
- \ - A timestamp string in RFC3339 format.\n - `immediate`\n - `on_action`\n\
- \ \n **Note**:\n Empty or missing values default to `immediate`.\n- `expirydate`\
- \ (optional): The latest date when the points can be redeemed. The points\
- \ are `expired` after this date.\n\n **Note**: It must be an RFC3339 timestamp\
- \ string or string `unlimited`. Empty or missing values are considered `unlimited`.\n\
- \ \n If passed, `validityDuration` should be omitted.\n- `validityDuration`\
- \ (optional): The duration for which the points remain active, relative to\
- \ the \n activation date.\n\n The time format is an **integer** followed\
- \ by one letter indicating the time unit.\n\n\n Examples: `30s`, `40m`, `1h`,\
- \ `5D`, `7W`, `10M`, `15Y`.\n\n\n Available units:\n\n\n - `s`: seconds\n\
- \ - `m`: minutes\n - `h`: hours\n - `D`: days\n - `W`: weeks\n - `M`:\
- \ months\n - `Y`: years\n\n\n You can round certain units up or down:\n\n\
- \ - `_D` for rounding down days only. Signifies the start of the day.\n \
- \ - `_U` for rounding up days, weeks, months and years. Signifies the end\
- \ of\n the day, week, month or year.\n\n If passed, `expirydate` should\
- \ be omitted.\n- `subledgerid` (optional): The ID of the subledger that should\
- \ received the points.\n- `reason` (optional): The reason why these points\
- \ are awarded.\n\nYou can use the time zone of your choice. It is converted\
- \ to UTC internally by Talon.One.\n\n**Note:** For existing customer profiles\
- \ and loyalty cards, the imported points are added to any previous active\
- \ or pending points, depending on the\nvalue provided for `startdate`. If\
- \ `startdate` matches the current date, the imported points are _active_.\
- \ If it is later, the points are _pending_ until\nthe date provided for `startdate`\
- \ is reached.\n\n**Note:** We recommend limiting your file size to 500MB.\n\
- \n**Example for profile-based programs:**\n\n```text\ncustomerprofileid,amount,startdate,expirydate,subledgerid,reason\n\
- URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement\n\
- ```\n\n**Example for card-based programs:**\n\n```text\nidentifier,amount,startdate,expirydate,subledgerid,reason\n\
- summer-loyalty-card-0543,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement\n\
- ```\n"
+ description: |
+ Upload a CSV file containing the loyalty points you want to import into a
+ given loyalty program.
+
+ Send the file as multipart data.
+
+ Depending on the type of loyalty program, you can import points into a given
+ customer profile or loyalty card.
+
+ The CSV file contains the following columns:
+
+ - `customerprofileid` (optional): For profile-based loyalty programs, the
+ integration ID of the customer profile where the loyalty points are
+ imported.
+ **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application
+ until a session or profile update is received for that profile.
+ - `identifier` (optional): For card-based loyalty programs, the identifier of the loyalty card where the loyalty points are imported.
+ - `amount`: The amount of points to award to the customer profile.
+ - `startdate` (optional): The earliest date when the points can be redeemed. The points are `active` from this date until the expiration date.
+ This parameter accepts one of the following values:
+ - A timestamp string in RFC3339 format.
+ - `immediate`
+ - `on_action`
+ **Note**: Empty or missing values default to `immediate`.
+ - `expirydate` (optional): The latest date when the points can be redeemed.
+ The points are `expired` after this date.
+ **Note**: It must be an RFC3339 timestamp string or string `unlimited`. Empty or missing values are considered `unlimited`.
+ If passed, `validityDuration` should be omitted.
+ - `validityDuration` (optional): The duration for which the points remain active, relative to the
+ activation date. The time format is an **integer** followed by one letter indicating the time unit.
+ Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`.
+
+ Available units:
+
+ - `s`: seconds
+ - `m`: minutes
+ - `h`: hours
+ - `D`: days
+ - `W`: weeks
+ - `M`: months
+ - `Y`: years
+
+ You can round certain units up or down:
+
+ - `_D` for rounding down days only. Signifies the start of the day.
+ - `_U` for rounding up days, weeks, months and years. Signifies the end of
+ the day, week, month or year.
+
+ If passed, `expirydate` should be omitted.
+ - `subledgerid` (optional): The ID of the subledger that should received the points.
+ - `reason` (optional): The reason why these points are awarded.
+
+ You can use the time zone of your choice. It is converted to UTC internally by Talon.One.
+
+ > [!note] For existing customer profiles and loyalty cards, the imported
+ > points are added to any previous active or pending points, depending on the
+ > value provided for `startdate`. If `startdate` matches the current date, the
+ > imported points are _active_. If it is later, the points are _pending_ until
+ > the date provided for `startdate` is reached.
+
+ > [!note] We recommend limiting your file size to 500 MB.
+
+ ## Example for profile-based programs
+
+ ```text
+ customerprofileid,amount,startdate,expirydate,subledgerid,reason
+ URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement
+ ```
+
+ ## Example for card-based programs
+
+ ```text
+ identifier,amount,startdate,expirydate,subledgerid,reason
+ summer-loyalty-card-0543,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement
+ ```
operationId: importLoyaltyPoints
parameters:
- description: |
@@ -4945,29 +5283,45 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/import_customers_tiers:
post:
description: |
- Upload a CSV file containing existing customers to be assigned to existing tiers.
+ Upload a CSV file containing existing customers to be assigned to existing
+ tiers.
+
Send the file as multipart data.
- **Important:** This endpoint only works with loyalty programs with advanced tiers (with expiration and downgrade policy) feature enabled.
+ > [!important] This endpoint only works with loyalty programs with advanced
+ > tiers (with expiration and downgrade policy) feature enabled.
The CSV file should contain the following columns:
- - `subledgerid` (optional): The ID of the subledger. If this field is empty, the main ledger will be used.
- - `customerprofileid`: The integration ID of the customer profile to whom the tier should be assigned.
+
+ - `subledgerid` (optional): The ID of the subledger. If this field is empty,
+ the main ledger will be used.
+ - `customerprofileid`: The integration ID of the customer profile to whom
+ the tier should be assigned.
- `tiername`: The name of an existing tier to assign to the customer.
- - `expirydate`: The expiration date of the tier when the tier is reevaluated. It should be a future date.
+ - `expirydate`: The expiration date of the tier when the tier is
+ reevaluated. It should be a future date.
About customer assignment to a tier:
- - If the customer isn't already in a tier, the customer is assigned to the specified tier during the tier import.
- - If the customer is already in the tier that's specified in the CSV file, only the expiration date is updated.
- **Note:** We recommend not using this endpoint to update the tier of a customer.
- To update a customer's tier, you can [add](/management-api#tag/Loyalty/operation/addLoyaltyPoints) or [deduct](/management-api#tag/Loyalty/operation/removeLoyaltyPoints) their loyalty points.
+ - If the customer isn't already in a tier, the customer is assigned to the
+ specified tier during the tier import.
+ - If the customer is already in the tier that's specified in the CSV file,
+ only the expiration date is updated.
- You can use the time zone of your choice. It is converted to UTC internally by Talon.One.
+ > [!note] We recommend not using this endpoint to update the tier of a customer.
+
+ To update a customer's tier, you can
+ [add](/management-api#tag/Loyalty/operation/addLoyaltyPoints) or
+ [deduct](/management-api#tag/Loyalty/operation/removeLoyaltyPoints) their
+ loyalty points.
+
+ You can use the time zone of your choice. It is converted to UTC internally
+ by Talon.One.
- **Note:** We recommend limiting your file size to 500MB.
+ > [!note] We recommend limiting your file size to 500 MB.
+
+ ## Example
- **Example:**
```csv
subledgerid,customerprofileid,tiername,expirydate
SUB1,alexa,Gold,2024-03-21T07:32:14Z
@@ -5031,7 +5385,7 @@ paths:
Get the loyalty ledger for this profile integration ID.
To get the `integrationId` of the profile from a `sessionId`, use the
- [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+ [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
**Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program,
we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
@@ -5071,7 +5425,7 @@ paths:
Add points in the specified loyalty program for the given customer.
To get the `integrationId` of the profile from a `sessionId`, use the
- [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+ [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
operationId: addLoyaltyPoints
parameters:
- description: The identifier for the loyalty program.
@@ -5129,14 +5483,16 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/deduct_points:
put:
description: |
- Deduct points from the specified loyalty program and specified customer profile.
+ Deduct points from the specified loyalty program and specified customer
+ profile.
- **Important:**
- - Only active points can be deducted.
- - Only pending points are rolled back when a session is cancelled or reopened.
+ > [!note] **Note**
+ > - Only active points can be deducted.
+ > - Only pending points are rolled back when a session is cancelled or reopened.
To get the `integrationId` of the profile from a `sessionId`, use the
- [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+ [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)
+ endpoint.
operationId: removeLoyaltyPoints
parameters:
- description: The identifier for the loyalty program.
@@ -5194,9 +5550,11 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/export_log:
get:
description: |
- Download a CSV file containing a customer's transaction logs in the loyalty program.
+ Download a CSV file containing a customer's transaction logs in the loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The generated file can contain the following columns:
@@ -5222,9 +5580,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -5234,9 +5593,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -5285,7 +5645,8 @@ paths:
description: |
Download a CSV file containing the join dates of all customers in the loyalty program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The generated file can contain the following columns:
@@ -5384,9 +5745,10 @@ paths:
get:
deprecated: true
description: |
- ⚠️ Deprecation notice: Support for requests to this endpoint will end soon.
- To retrieve statistics for a loyalty program, use the [Get statistics for
- loyalty dashboard](/management-api#tag/Loyalty/operation/getDashboardStatistics)
+ > [warning] This endpoint is deprecated.
+
+ To retrieve statistics for a loyalty program, use the
+ [Get statistics for loyalty dashboard](/management-api#tag/Loyalty/operation/getDashboardStatistics)
endpoint.
Retrieve the statistics of the specified loyalty program, such as the
@@ -5416,14 +5778,16 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/export_customer_balances:
get:
description: |
- Download a CSV file containing the balance of each customer in the loyalty program.
+ Download a CSV file containing the balance of each customer in the loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The generated file can contain the following columns:
- `loyaltyProgramID`: The ID of the loyalty program.
- - `loyaltySubledger`: The name of the subdleger, when applicatble.
+ - `loyaltySubledger`: The name of the subledger, when applicable.
- `profileIntegrationID`: The integration ID of the customer profile.
- `currentBalance`: The current point balance.
- `pendingBalance`: The number of pending points.
@@ -5438,15 +5802,15 @@ paths:
required: true
schema:
type: string
- - description: "Used to return expired, active, and pending loyalty balances\
- \ before this\ntimestamp. You can enter any past, present, or future timestamp\
- \ value.\n\n**Note:**\n\n- It must be an RFC3339 timestamp string.\n- You\
- \ can include a time component in your string, for example,\n`T23:59:59`\
- \ to specify the end of the day. The time zone setting\nconsidered is `UTC`.\
- \ If you do not include a time component, a default\ntime value of `T00:00:00`\
- \ (midnight) in `UTC` is considered.\n- This parameter does not affect the\
- \ `currentTier` field in the CSV file, \nwhich shows the customer's tier\
- \ at the time of export.\n"
+ - description: |
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
+
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > - This parameter does not affect the `currentTier` field in the CSV file, which shows the customer's tier at the time of export.
in: query
name: endDate
schema:
@@ -5480,12 +5844,14 @@ paths:
get:
deprecated: true
description: |
- ⚠️ Deprecation notice: Support for requests to this endpoint will end soon.
- To export customer loyalty balances to CSV, use the [Export customer loyalty balances to CSV](/management-api#tag/Loyalty/operation/exportLoyaltyBalances) endpoint.
+ To export customer loyalty balances to CSV, use the [Export customer loyalty
+ balances to CSV](/management-api#tag/Loyalty/operation/exportLoyaltyBalances) endpoint.
- Download a CSV file containing the balance of each customer in the loyalty program.
+ Download a CSV file containing the balance of each customer in the loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
operationId: exportLoyaltyBalance
parameters:
- description: The identifier for the loyalty program.
@@ -5495,12 +5861,13 @@ paths:
schema:
type: string
- description: |
- Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value.
-
- **Note:**
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -5533,11 +5900,15 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/transactions:
get:
description: |
- Retrieve loyalty program transaction logs in a given loyalty program with filtering options applied. Manual and imported transactions are also included.
- **Note:** If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned.
-
- **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program,
- we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
+ Retrieve loyalty program transaction logs in a given loyalty program with
+ filtering options applied. Manual and imported transactions are also
+ included.
+
+ > [!note] **Note**
+ > - If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned.
+ > - To get loyalty transaction logs for a given Integration ID in
+ > a loyalty program, we recommend using the Integration API's [Get customer's loyalty
+ > logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
operationId: getLoyaltyProgramTransactions
parameters:
- description: |
@@ -5567,10 +5938,13 @@ paths:
name: subledgerId
schema:
type: string
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -5579,9 +5953,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -5591,24 +5969,26 @@ paths:
type: array
style: form
- description: |
- Date and time from which results are returned. Results are filtered by transaction creation date.
+ Date and time from which results are returned. Results are filtered by
+ transaction creation date.
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: startDate
schema:
format: date-time
type: string
- description: |
- Date and time by which results are returned. Results are filtered by transaction creation date.
-
- **Note:**
+ Date and time by which results are returned. Results are filtered by
+ transaction creation date.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -5643,7 +6023,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_18'
+ $ref: '#/components/schemas/inline_response_200_19'
description: OK
"400":
content:
@@ -5670,23 +6050,28 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/import_cards:
post:
description: |
- Upload a CSV file containing the loyalty cards that you want to use in your card-based loyalty program.
+ Upload a CSV file containing the loyalty cards that you want to use in your
+ card-based loyalty program.
+
Send the file as multipart data.
It contains the following columns for each card:
- - `identifier` (required): The alphanumeric identifier of the loyalty card.
- - `state` (required): The state of the loyalty card. It can be `active` or `inactive`.
- - `customerprofileids` (optional): An array of strings representing the identifiers of the customer profiles linked to the loyalty card. The identifiers should be separated with a semicolon (;).
- - `attributes` (optional): A JSON object that contains the loyalty card's custom attributes and their values. These attributes must be created and connected to this loyalty program before they can be assigned to the cards through this endpoint.
+ - `identifier` (required): The identifier of the loyalty card,
+ which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
+ - `state` (required): The state of the loyalty card. It can be `active` or
+ `inactive`.
+ - `customerprofileids` (optional): An array of strings representing the
+ identifiers of the customer profiles linked to the loyalty card. The
+ identifiers should be separated with a semicolon (;).
- **Note:** We recommend limiting your file size to 500MB.
+ > [!note] We recommend limiting your file size to 500MB.
- **Example:**
+ ## Example
```csv
- identifier,state,customerprofileids,attributes
- 123-456-789AT,active,Alexa001;UserA,"{""my_attribute"": ""10_off""}"
+ identifier,state,customerprofileids
+ 123-456-789AT,active,Alexa001;UserA
```
operationId: importLoyaltyCards
parameters:
@@ -5735,14 +6120,16 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/cards/batch:
post:
description: |
- Create a batch of loyalty cards in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types).
+ Create a batch of loyalty cards in a specified [card-based loyalty
+ program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types).
Customers can use loyalty cards to collect and spend loyalty points.
- **Important:**
-
- - The specified card-based loyalty program must have a defined card code format that is used to generate the loyalty card codes.
- - Trying to create more than 20,000 loyalty cards in a single request returns an error message with a `400` status code.
+ > [!important] **Note**
+ > - The specified card-based loyalty program must have a defined card code
+ > format that is used to generate the loyalty card codes.
+ > - Trying to create more than 20,000 loyalty cards in a single request
+ > returns an error message with a `400` status code.
operationId: createBatchLoyaltyCards
parameters:
- description: |
@@ -5795,15 +6182,19 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/export_card_balances:
get:
description: |
- Download a CSV file containing the balances of all cards in the loyalty program.
+ Download a CSV file containing the balances of all cards in the loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following columns:
- `loyaltyProgramID`: The ID of the loyalty program.
- `loyaltySubledger`: The name of the subdleger, when applicatble.
- - `cardIdentifier`: The alphanumeric identifier of the loyalty card.
- - `cardState`:The state of the loyalty card. It can be `active` or `inactive`.
+ - `cardIdentifier`: The identifier of the loyalty card, which must match the regular
+ expression `^[A-Za-z0-9._%+@-]+$`.
+ - `cardState`:The state of the loyalty card. It can be `active` or
+ `inactive`.
- `currentBalance`: The current point balance.
- `pendingBalance`: The number of pending points.
- `expiredBalance`: The number of expired points.
@@ -5820,12 +6211,13 @@ paths:
format: int64
type: integer
- description: |
- Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value.
-
- **Note:**
+ Used to return expired, active, and pending loyalty balances before this
+ timestamp. You can enter any past, present, or future timestamp value.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -5894,7 +6286,13 @@ paths:
schema:
format: int64
type: integer
- - description: The card code by which to filter loyalty cards in the response.
+ - description: |
+ The card code by which to filter loyalty cards in the response.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: query
name: identifier
schema:
@@ -5917,7 +6315,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_19'
+ $ref: '#/components/schemas/inline_response_200_20'
description: OK
"400":
content:
@@ -5943,16 +6341,13 @@ paths:
To link the card to one or more customer profiles, use the
`customerProfileIds` parameter in the request body.
- **Note:**
-
- - The number of customer profiles linked to the loyalty card cannot exceed
- the loyalty program's `usersPerCardLimit`. To find the program's limit, use
- the [Get loyalty
- program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram)
- endpoint.
-
- - If the loyalty program has a defined code format, it will be used for the
- loyalty card identifier.
+ > [!note] **Note**
+ > - The number of customer profiles linked to the loyalty card cannot exceed
+ > the loyalty program's `usersPerCardLimit`. To find the program's limit, use
+ > the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram)
+ > endpoint.
+ > - If the loyalty program has a defined code format, it will be used for the
+ > loyalty card identifier.
operationId: generateLoyaltyCard
parameters:
- description: |
@@ -6001,11 +6396,14 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/cards/export:
get:
description: |
- Download a CSV file containing the loyalty cards from a specified loyalty program.
+ Download a CSV file containing the loyalty cards from a specified loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following columns:
+
- `identifier`: The unique identifier of the loyalty card.
- `created`: The date and time the loyalty card was created.
- `status`: The status of the loyalty card.
@@ -6014,6 +6412,7 @@ paths:
- `blockreason`: The reason for transferring and blocking the loyalty card.
- `generated`: An indicator of whether the loyalty card was generated.
- `batchid`: The ID of the batch the loyalty card is in.
+ - `attributes`: The custom attributes of this loyalty card. Currently, this feature is only available upon request.
operationId: exportLoyaltyCards
parameters:
- description: |
@@ -6033,8 +6432,7 @@ paths:
- description: |
Only return loyalty cards created before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
+ **Note:** This must be an RFC3339 timestamp string.
in: query
name: createdBefore
schema:
@@ -6043,8 +6441,7 @@ paths:
- description: |
Only return loyalty cards created after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
+ **Note:** This must be an RFC3339 timestamp string.
in: query
name: createdAfter
schema:
@@ -6098,7 +6495,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6141,7 +6545,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6179,9 +6590,9 @@ paths:
- management
x-accepts: application/json
put:
- description: 'Update the details of a specific loyalty card. You can set the
- card''s status to `active` or `inactive` through this endpoint. At least one
- of `status` or `attributes` must be provided. '
+ description: Update the details of a specific loyalty card. You can set the
+ card's status to `active` or `inactive` through this endpoint. At least one
+ of `status` or `attributes` must be provided.
operationId: updateLoyaltyCard
parameters:
- description: |
@@ -6195,7 +6606,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6248,8 +6666,15 @@ paths:
operationId: addLoyaltyCardPoints
parameters:
- description: |
- Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with
- the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
+ Identifier of the card-based loyalty program containing the loyalty
+ card. You can get the ID with the [List loyalty
+ programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyProgramId
required: true
@@ -6257,8 +6682,7 @@ paths:
format: int64
type: integer
- description: |
- Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
in: path
name: loyaltyCardId
required: true
@@ -6318,7 +6742,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6364,9 +6795,11 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/export_log:
get:
description: |
- Download a CSV file containing a loyalty card ledger log of the loyalty program.
+ Download a CSV file containing a loyalty card ledger log of the loyalty
+ program.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
operationId: exportLoyaltyCardLedger
parameters:
- description: |
@@ -6380,7 +6813,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6391,9 +6831,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -6403,9 +6844,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -6463,7 +6905,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6472,24 +6921,26 @@ paths:
minLength: 4
type: string
- description: |
- Date and time from which results are returned. Results are filtered by transaction creation date.
+ Date and time from which results are returned. Results are filtered by
+ transaction creation date.
- **Note:**
-
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: startDate
schema:
format: date-time
type: string
- description: |
- Date and time by which results are returned. Results are filtered by transaction creation date.
-
- **Note:**
+ Date and time by which results are returned. Results are filtered by
+ transaction creation date.
- - It must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: endDate
schema:
@@ -6516,10 +6967,13 @@ paths:
name: subledgerId
schema:
type: string
- - description: "Filter the results by a list of customer session IDs. \n\nTo\
- \ include multiple IDs, repeat the parameter for each one, for example,\
- \ \n`?customerSessionIDs=id1&customerSessionIDs=id2`.\n\nThe response contains\
- \ only data associated with the specified sessions.\n"
+ - description: |
+ Filter the results by a list of customer session IDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?customerSessionIDs=id1&customerSessionIDs=id2`.
+
+ The response contains only data associated with the specified sessions.
explode: true
in: query
name: customerSessionIDs
@@ -6528,9 +6982,13 @@ paths:
type: string
type: array
style: form
- - description: "Filter the results by a list of transaction UUIDs.\n\nTo include\
- \ multiple IDs, repeat the parameter for each one, for example, \n`?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.\n\
- \nThe response contains only data associated with the specified transactions.\n"
+ - description: |
+ Filter the results by a list of transaction UUIDs.
+
+ To include multiple IDs, repeat the parameter for each one, for example,
+ `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`.
+
+ The response contains only data associated with the specified transactions.
explode: true
in: query
name: transactionUUIDs
@@ -6544,7 +7002,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_20'
+ $ref: '#/components/schemas/inline_response_200_21'
description: OK
"401":
content:
@@ -6565,12 +7023,14 @@ paths:
/v1/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/transfer:
put:
description: |
- Transfer loyalty card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card.
-
- **Important:**
-
- - The original card is automatically blocked once the new card is created, and it cannot be activated again.
- - The default status of the new card is _active_.
+ Transfer loyalty card data, such as linked customers, loyalty balances and
+ transactions, from a given loyalty card to a new, automatically created
+ loyalty card.
+
+ > [!important] **Note**
+ > - The original card is automatically blocked once the new card is created,
+ and it cannot be activated again.
+ > - The default status of the new card is _active_.
operationId: transferLoyaltyCard
parameters:
- description: |
@@ -6584,7 +7044,14 @@ paths:
type: integer
- description: |
Identifier of the loyalty card. You can get the identifier with
- the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ the [List loyalty
+ cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards)
+ endpoint.
+
+ **Important**: The loyalty card ID requires [URL
+ encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it
+ contains special characters. For example, you must encode `NewCard2026%`
+ as `NewCard2026%25`.
in: path
name: loyaltyCardId
required: true
@@ -6630,32 +7097,38 @@ paths:
/v1/giveaways/pools/{poolId}/import:
post:
description: |
- Upload a CSV file containing the giveaway codes that should be created. Send the file as multipart data.
+ Upload a CSV file containing the giveaway codes that should be created. Send
+ the file as multipart data.
The CSV file contains the following columns:
+
- `code` (required): The code of your giveaway, for instance, a gift card redemption code.
- `startdate`: The start date in RFC3339 of the code redemption period.
- `enddate`: The last date in RFC3339 of the code redemption period.
- - `attributes`: A JSON object describing _custom_ giveaway attribute names and their values, enclosed with double quotation marks.
-
+ - `attributes`: A JSON object describing _custom_ giveaway attribute names and their values, enclosed with double quotation marks.
For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes)
called `provider` associated with the giveaway entity, the object in the CSV file, when opened in a text editor, must be: `"{"provider": "myPartnerCompany"}"`.
- The `startdate` and `enddate` have nothing to do with the _validity_ of the codes. They are only used by the Rule Engine to award the codes or not.
- You can use the time zone setting of your choice. The values are converted to UTC internally by Talon.One.
+ The `startdate` and `enddate` have nothing to do with the _validity_ of the
+ codes. They are only used by the Rule Engine to award the codes or not.
- **Note:**
+ You can use the time zone setting of your choice. The values are converted
+ to UTC internally by Talon.One.
- - We recommend limiting your file size to 500MB.
- - You can import the same code multiple times. Duplicate codes are treated and distributed to customers as unique codes.
+ > [!note] **Note**
+ > - We recommend limiting your file size to 500MB.
+ > - You can import the same code multiple times. Duplicate codes are treated and distributed to customers as unique codes.
- **Example:**
+ ## Example
```text
code,startdate,enddate,attributes
- GIVEAWAY1,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"": ""Amazon""}"
- GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"": ""Amazon""}"
- GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"": ""Aliexpress""}"
+ GIVEAWAY1,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"":
+ ""Amazon""}"
+ GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"":
+ ""Amazon""}"
+ GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,"{""provider"":
+ ""Aliexpress""}"
```
operationId: importPoolGiveaways
parameters:
@@ -6691,9 +7164,11 @@ paths:
/v1/giveaways/pools/{poolId}/export:
get:
description: |
- Download a CSV file containing the giveaway codes of a specific giveaway pool.
+ Download a CSV file containing the giveaway codes of a specific giveaway
+ pool.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following columns:
@@ -6706,8 +7181,12 @@ paths:
- `used`: An indication of whether the giveaway is already awarded.
- `importid`: The ID of the import which created the giveaway.
- `created`: The creation time of the giveaway code.
- - `profileintegrationid`: The third-party integration ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded.
- - `profileid`: The internal ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded or an internal ID does not exist.
+ - `profileintegrationid`: The third-party integration ID of the customer
+ profile that was awarded the giveaway. Can be empty if the giveaway was not
+ awarded.
+ - `profileid`: The internal ID of the customer profile that was awarded the
+ giveaway. Can be empty if the giveaway was not awarded or an internal ID
+ does not exist.
operationId: exportPoolGiveaways
parameters:
- description: The ID of the pool. You can find it in the Campaign Manager,
@@ -6780,10 +7259,10 @@ paths:
schema:
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -6798,7 +7277,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_21'
+ $ref: '#/components/schemas/inline_response_200_22'
description: OK
"400":
content:
@@ -6869,7 +7348,7 @@ paths:
operationId: deleteAccountCollection
parameters:
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -6895,7 +7374,7 @@ paths:
operationId: getAccountCollection
parameters:
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -6925,7 +7404,7 @@ paths:
operationId: updateAccountCollection
parameters:
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -6995,7 +7474,7 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -7007,7 +7486,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_22'
+ $ref: '#/components/schemas/inline_response_200_23'
description: OK
"404":
content:
@@ -7057,10 +7536,10 @@ paths:
schema:
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -7075,7 +7554,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_21'
+ $ref: '#/components/schemas/inline_response_200_22'
description: OK
"404":
content:
@@ -7133,10 +7612,10 @@ paths:
schema:
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -7151,7 +7630,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_21'
+ $ref: '#/components/schemas/inline_response_200_22'
description: OK
"404":
content:
@@ -7225,7 +7704,8 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in Application](#operation/listCollectionsInApplication) endpoint.
+ in Application](#tag/Collections/operation/listCollectionsInApplication)
+ endpoint.
in: path
name: collectionId
required: true
@@ -7267,7 +7747,8 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in Application](#operation/listCollectionsInApplication) endpoint.
+ in Application](#tag/Collections/operation/listCollectionsInApplication)
+ endpoint.
in: path
name: collectionId
required: true
@@ -7312,7 +7793,8 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in Application](#operation/listCollectionsInApplication) endpoint.
+ in Application](#tag/Collections/operation/listCollectionsInApplication)
+ endpoint.
in: path
name: collectionId
required: true
@@ -7348,7 +7830,9 @@ paths:
/v1/collections/{collectionId}/import:
post:
description: |
- Upload a CSV file containing the collection of string values that should be attached as payload for collection.
+ Upload a CSV file containing the collection of string values that should be
+ attached as payload for collection.
+
The file should be sent as multipart data.
The import **replaces** the initial content of the collection.
@@ -7359,20 +7843,21 @@ paths:
A collection is limited to 500,000 items.
- Example:
+ ## Example
```
item
- Addidas
+ Adidas
Nike
Asics
```
- **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
+ > [!note] Before sending a request to this endpoint, ensure the data in the
+ > CSV to import is different from the data currently stored in the collection.
operationId: importAccountCollection
parameters:
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -7415,7 +7900,9 @@ paths:
/v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/import:
post:
description: |
- Upload a CSV file containing the collection of string values that should be attached as payload for collection.
+ Upload a CSV file containing the collection of string values that should be
+ attached as payload for collection.
+
The file should be sent as multipart data.
The import **replaces** the initial content of the collection.
@@ -7426,16 +7913,17 @@ paths:
A collection is limited to 500,000 items.
- Example:
+ ## Example
```
item
- Addidas
+ Adidas
Nike
Asics
```
- **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
+ > [!note] Before sending a request to this endpoint, ensure the data in the
+ > CSV to import is different from the data currently stored in the collection.
operationId: importCollection
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -7455,7 +7943,8 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in Application](#operation/listCollectionsInApplication) endpoint.
+ in Application](#tag/Collections/operation/listCollectionsInApplication)
+ endpoint.
in: path
name: collectionId
required: true
@@ -7494,11 +7983,12 @@ paths:
description: |
Download a CSV file containing items from a given account-level collection.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
operationId: exportAccountCollectionItems
parameters:
- description: The ID of the collection. You can get it with the [List collections
- in account](#operation/listAccountCollections) endpoint.
+ in account](#tag/Collections/operation/listAccountCollections) endpoint.
in: path
name: collectionId
required: true
@@ -7534,7 +8024,8 @@ paths:
description: |
Download a CSV file containing items from a given campaign-level collection.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
operationId: exportCollectionItems
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -7554,7 +8045,8 @@ paths:
format: int64
type: integer
- description: The ID of the collection. You can get it with the [List collections
- in Application](#operation/listCollectionsInApplication) endpoint.
+ in Application](#tag/Collections/operation/listCollectionsInApplication)
+ endpoint.
in: path
name: collectionId
required: true
@@ -7657,9 +8149,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -7669,9 +8162,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -7707,7 +8201,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_23'
+ $ref: '#/components/schemas/inline_response_200_24'
description: OK
summary: Get access logs for Application
tags:
@@ -7737,9 +8231,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -7749,9 +8244,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -7774,7 +8270,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_24'
+ $ref: '#/components/schemas/inline_response_200_25'
description: OK
summary: Get analytics of campaigns
tags:
@@ -7816,10 +8312,10 @@ paths:
format: int64
type: integer
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -7829,7 +8325,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_25'
+ $ref: '#/components/schemas/inline_response_200_26'
description: OK
summary: List application's customers
tags:
@@ -7868,10 +8364,10 @@ paths:
format: int64
type: integer
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -7888,7 +8384,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_26'
+ $ref: '#/components/schemas/inline_response_200_27'
description: OK
summary: List application customers matching the given attributes
tags:
@@ -7938,7 +8434,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_27'
+ $ref: '#/components/schemas/inline_response_200_28'
description: OK
summary: List customer profiles matching the given attributes
tags:
@@ -7951,20 +8447,16 @@ paths:
description: |
Return the details of the specified customer profile.
-
-
Performance tips
-
- You can retrieve the same information via the Integration API, which can save you extra API requests. consider these options:
-
- - Request the customer profile to be part of the response content using
- [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2).
- - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`.
-
+ > [!note]
+ > You can retrieve the same information via the Integration API, which can save you extra API requests. Consider these options:
+ > - Request the customer profile to be part of the response content using
+ > [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2).
+ > - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`.
operationId: getCustomerProfile
parameters:
- description: |
The value of the `id` property of a customer profile. Get it with the
- [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: customerId
required: true
@@ -8014,7 +8506,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_28'
+ $ref: '#/components/schemas/inline_response_200_29'
description: OK
summary: List customer profiles
tags:
@@ -8036,7 +8528,7 @@ paths:
type: integer
- description: |
The value of the `id` property of a customer profile. Get it with the
- [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: customerId
required: true
@@ -8088,9 +8580,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -8100,9 +8593,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -8143,7 +8637,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_29'
+ $ref: '#/components/schemas/inline_response_200_30'
description: OK
summary: Get Activity Reports for Application Customers
tags:
@@ -8174,9 +8668,10 @@ paths:
- description: |
Only return results from after this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeStart
required: true
@@ -8186,9 +8681,10 @@ paths:
- description: |
Only return results from before this timestamp.
- **Note:**
- - This must be an RFC3339 timestamp string.
- - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
in: query
name: rangeEnd
required: true
@@ -8205,7 +8701,7 @@ paths:
type: integer
- description: |
The value of the `id` property of a customer profile. Get it with the
- [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: customerId
required: true
@@ -8262,7 +8758,7 @@ paths:
type: integer
- description: |
The value of the `id` property of a customer profile. Get it with the
- [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
in: path
name: customerId
required: true
@@ -8310,7 +8806,18 @@ paths:
name: sort
schema:
type: string
- - description: Profile integration ID filter for sessions. Must be exact match.
+ - description: |-
+ Enables partial matching for a single text search field. When enabled, the search term matches anywhere within the field value (case-insensitive). Minimum 3 characters required for partial matches; shorter inputs automatically fall back to exact match.
+
+ **Note:** Use with one of: `integrationId`, `profile`, `coupon`, `referral`, or `storeIntegrationId`.
+ in: query
+ name: partialMatch
+ schema:
+ default: false
+ type: boolean
+ - description: Filter by sessions with this profile integration ID. By default,
+ requires exact match. Use `partialMatch=true` to search for partial matches
+ (minimum 3 characters).
in: query
name: profile
schema:
@@ -8339,23 +8846,30 @@ paths:
schema:
format: date-time
type: string
- - description: Filter by sessions with this coupon. Must be exact match.
+ - description: Filter by sessions with this coupon. By default, requires exact
+ match. Use `partialMatch=true` to search for partial matches (minimum 3
+ characters).
in: query
name: coupon
schema:
type: string
- - description: Filter by sessions with this referral. Must be exact match.
+ - description: Filter by sessions with this referral. By default, requires exact
+ match. Use `partialMatch=true` to search for partial matches (minimum 3
+ characters).
in: query
name: referral
schema:
type: string
- - description: Filter by sessions with this integration ID. Must be exact match.
+ - description: Filter by sessions with this integration ID. By default, requires
+ exact match. Use `partialMatch=true` to search for partial matches (minimum
+ 3 characters).
in: query
name: integrationId
schema:
type: string
- description: The integration ID of the store. You choose this ID when you
- create a store.
+ create a store. By default, requires exact match. Use `partialMatch=true`
+ to search for partial matches (minimum 3 characters).
in: query
name: storeIntegrationId
schema:
@@ -8373,7 +8887,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_30'
+ $ref: '#/components/schemas/inline_response_200_31'
description: OK
summary: List Application sessions
tags:
@@ -8524,7 +9038,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_31'
+ $ref: '#/components/schemas/inline_response_200_32'
description: OK
summary: List Applications events
tags:
@@ -8575,7 +9089,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_32'
+ $ref: '#/components/schemas/inline_response_200_33'
description: OK
summary: List Applications event types
tags:
@@ -8612,10 +9126,10 @@ paths:
schema:
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -8625,7 +9139,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_33'
+ $ref: '#/components/schemas/inline_response_200_34'
description: OK
summary: List audiences
tags:
@@ -8657,7 +9171,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_34'
+ $ref: '#/components/schemas/inline_response_200_35'
description: OK
summary: List audience analytics
tags:
@@ -8712,7 +9226,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_35'
+ $ref: '#/components/schemas/inline_response_200_36'
description: OK
"404":
content:
@@ -8727,16 +9241,19 @@ paths:
/v1/audiences/{audienceId}/memberships/import:
post:
description: |
- Upload a CSV file containing the integration IDs of the members you want to add to an audience.
+ Upload a CSV file containing the integration IDs of the members you want to
+ add to an audience.
+
+ The file should be sent as multipart data and should contain only the
+ following column (required):
- The file should be sent as multipart data and should contain only the following column (required):
- `profileintegrationid`: The integration ID of the customer profile.
The import **replaces** the previous list of audience members.
- **Note:** We recommend limiting your file size to 500MB.
+ > [!note] We recommend limiting your file size to 500 MB.
- Example:
+ ## Example
```text
profileintegrationid
@@ -8794,11 +9311,14 @@ paths:
/v1/audiences/{audienceId}/memberships/export:
get:
description: |
- Download a CSV file containing the integration IDs of the members of an audience.
+ Download a CSV file containing the integration IDs of the members of an
+ audience.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The file contains the following column:
+
- `profileintegrationid`: The integration ID of the customer profile.
operationId: exportAudiencesMemberships
parameters:
@@ -8878,10 +9398,10 @@ paths:
format: int64
type: integer
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -8897,7 +9417,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_36'
+ $ref: '#/components/schemas/inline_response_200_37'
description: OK
summary: List friends referred by customer profile
tags:
@@ -8925,14 +9445,24 @@ paths:
summary: Fetch best prior price
tags:
- integration
+ x-scalar-stability: experimental
x-codegen-request-body-name: body
x-contentType: application/json
x-accepts: application/json
- /v1/best_prior_price_history:
+ /v1/applications/{applicationId}/price_history:
post:
description: |
Fetch the historical price data for a given SKU within a defined timeframe.
operationId: priceHistory
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ format: int64
+ type: integer
requestBody:
content:
application/json:
@@ -8949,7 +9479,8 @@ paths:
description: Ok
summary: Get summary of price history
tags:
- - integration
+ - management
+ x-scalar-stability: experimental
x-codegen-request-body-name: body
x-contentType: application/json
x-accepts: application/json
@@ -9021,7 +9552,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_37'
+ $ref: '#/components/schemas/inline_response_200_38'
description: OK
summary: List custom attributes
tags:
@@ -9129,18 +9660,22 @@ paths:
/v1/attributes/{attributeId}/allowed_list/import:
post:
description: |
- Upload a CSV file containing a list of [picklist values](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#picklist-values) for the specified attribute.
+ Upload a CSV file containing a list of [picklist
+ values](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#picklist-values)
+ for the specified attribute.
The file should be sent as multipart data.
- The import **replaces** the previous list of allowed values for this attribute, if any.
+ The import **replaces** the previous list of allowed values for this
+ attribute, if any.
The CSV file **must** only contain the following column:
- - `item` (required): the values in your allowed list, for example a list of SKU's.
+
+ - `item`: The values in your allowed list, for example a list of SKUs.
An allowed list is limited to 500,000 items.
- Example:
+ ## Example
```text
item
@@ -9229,10 +9764,10 @@ paths:
format: int64
type: integer
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -9260,7 +9795,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_38'
+ $ref: '#/components/schemas/inline_response_200_39'
description: OK
summary: List items in a catalog
tags:
@@ -9278,24 +9813,28 @@ paths:
- Remove an item from the catalog.
- Remove multiple items from the catalog.
- You can either add, update, or delete up to 1000 cart items in a single request. Each item synced to a catalog must have a unique `SKU`.
+ You can either add, update, or delete up to 1000 cart items in a single
+ request. Each item synced to a catalog must have a unique `SKU`.
- **Important**: You can perform only one type of action in a single sync request. Syncing items with duplicate `SKU` values in a single request returns an error message with a `400` status code.
+ > [!important] You can perform only one type of action in a single sync
+ request. Syncing items with duplicate `SKU` values in a single request
+ returns an error message with a `400` status code.
- For more information, read [managing cart item catalogs](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs).
+ For more information, read [managing cart item
+ catalogs](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs).
### Filtering cart items
Use [cart item attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes)
- to filter items and select the ones you want to edit or delete when editing or deleting more than one item
- at a time.
+ to filter items and select the ones you want to edit or delete when editing
+ or deleting more than one item at a time.
The `filters` array contains an object with the following properties:
- `attr`: A [cart item attribute](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes)
connected to the catalog. It is applied to all items in the catalog.
- - `op`: The filtering operator indicating the relationship between the value of each
- cart item in the catalog and the value of the `value` property for the attribute selected
+ - `op`: The filtering operator indicating the relationship between the value
+ of each cart item in the catalog and the value of the `value` property for the attribute selected
in `attr`.
The value of `op` can be one of the following:
@@ -9308,12 +9847,12 @@ paths:
- `IN`: One of the comma-separated values that `value` is set to.
**Note:** `GE`, `LE`, `GT`, `LT` are for numeric values only.
-
- `value`: The value of the attribute selected in `attr`.
### Payload examples
- Synchronization actions are sent as `PUT` requests. See the structure for each action:
+ Synchronization actions are sent as `PUT` requests. See the structure for
+ each action:
Adding an item to the catalog
@@ -9600,7 +10139,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_39'
+ $ref: '#/components/schemas/inline_response_200_40'
description: OK
summary: List additional costs
tags:
@@ -9760,7 +10299,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_40'
+ $ref: '#/components/schemas/inline_response_200_41'
description: OK
summary: List webhooks
tags:
@@ -9973,7 +10512,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_41'
+ $ref: '#/components/schemas/inline_response_200_42'
description: OK
summary: List event types
tags:
@@ -9982,7 +10521,8 @@ paths:
/v1/applications/{applicationId}/campaigns/{campaignId}/import_coupons:
post:
description: |
- Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data.
+ Upload a CSV file containing the coupons that should be created. The file
+ should be sent as multipart data.
The CSV file contains the following columns:
@@ -9990,31 +10530,29 @@ paths:
There is no maximum length but limiting the code to 30 characters
ensures it is fully readable in the Campaign Manager.
The code should be unique unless you set `skipDuplicates` to `true`.
-
- `expirydate`: The end date in RFC3339 of the code redemption period.
- `startdate`: The start date in RFC3339 of the code redemption period.
- `recipientintegrationid`: The integration ID of the recipient of the coupon.
Only the customer with this integration ID can redeem this code. Available only for personal codes.
- `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided.
- `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value.
- - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks.
-
+ - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks.
For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes)
called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `"{"category": "10_off"}"`.
You can use the time zone of your choice. It is converted to UTC internally by Talon.One.
- **Note:** We recommend limiting your file size to 500MB.
+ > [!note] We recommend limiting your file size to 500 MB.
- **Example:**
+ ## Example
```text
"value","expirydate","startdate","recipientintegrationid","limitval","attributes","discountlimit"
- COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,"{""Category"": ""10_off""}",2.4
+ COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,"{""Category"":
+ ""10_off""}",2.4
```
- Once imported, you can find the `batchId` in the Campaign Manager or by
- using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
+ Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
operationId: importCoupons
parameters:
- description: The ID of the Application. It is displayed in your Talon.One
@@ -10066,7 +10604,8 @@ paths:
description: |
Download a CSV file containing the coupons that match the given properties.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file can contain the following columns:
@@ -10088,7 +10627,7 @@ paths:
- `limits`: The limits set on this coupon.
- `limitval`: The maximum number of redemptions of this code.
- `recipientintegrationid`: The integration ID of the recipient of the coupon.
- Only the customer with this integration ID can redeem this code. Available only for personal codes.
+ Only the customer with this integration ID can redeem this code. Available only for personal codes.
- `referralid`: The ID of the referral code that triggered the creation of this coupon (create coupon effect).
- `reservation`: Whether the coupon can be reserved for multiple customers.
- `reservation_counter`: How many times this coupon has been reserved.
@@ -10235,9 +10774,11 @@ paths:
/v1/applications/{applicationId}/export_referrals:
get:
description: |
- Download a CSV file containing the referrals that match the given parameters.
+ Download a CSV file containing the referrals that match the given
+ parameters.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following columns:
@@ -10328,9 +10869,11 @@ paths:
/v1/applications/{applicationId}/export_effects:
get:
description: |
- Download a CSV file containing the triggered effects that match the given attributes.
+ Download a CSV file containing the triggered effects that match the given
+ attributes.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The generated file can contain the following columns:
@@ -10406,9 +10949,11 @@ paths:
description: |
Download a CSV file containing the customer sessions that match the request.
- **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention).
+ > [!important] Archived sessions cannot be exported. See the [retention
+ > policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention).
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
- `id`: The internal ID of the session.
- `firstsession`: Whether this is a first session.
@@ -10417,7 +10962,8 @@ paths:
- `profileid`: The internal ID of the customer profile.
- `profileintegrationid`: The integration ID of the customer profile.
- `created`: The timestamp when the session was created.
- - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session.
+ - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states)
+ of the session.
- `cartitems`: The cart items in the session.
- `discounts`: The discounts in the session.
- `total`: The total value of cart items and additional costs in the session, before any discounts are applied.
@@ -10426,7 +10972,8 @@ paths:
- `cancelledat`: Timestamp when the session was cancelled.
- `referral`: The referral code in the session.
- `identifiers`: The identifiers in the session.
- - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session.
+ - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs)
+ in the session.
- `updated`: Timestamp of the last session update.
- `store_integration_id`: The integration ID of the store.
- `coupons`: Coupon codes in the session.
@@ -10494,6 +11041,7 @@ paths:
post:
description: |
Upload a CSV file containing the referrals that should be created.
+
The file should be sent as multipart data.
The CSV file contains the following columns:
@@ -10503,26 +11051,29 @@ paths:
- `startdate`: The start date in RFC3339 of the code redemption period.
- `expirydate`: The end date in RFC3339 of the code redemption period.
- `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank.
- - `attributes`: A JSON object describing _custom_ referral attribute names and their values, enclosed with double quotation marks.
-
+ - `attributes`: A JSON object describing _custom_ referral attribute names and their values, enclosed with double quotation marks.
For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes)
called `category` associated with the referral entity, the object in the CSV file, when opened in a text editor, must be: `"{"category": "10_off"}"`.
You can use the time zone of your choice. It is converted to UTC internally by Talon.One.
- **Important:** When you import a CSV file with referrals, a [customer profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles)
- is **not** automatically created for each `advocateprofileintegrationid` column value. Use the [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2)
- endpoint or the [Update multiple customer profiles](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfilesV2)
- endpoint to create the customer profiles.
+ > [!important] When you import a CSV file with referrals,
+ > a [customer profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles)
+ > is **not** automatically created for each `advocateprofileintegrationid`
+ > column value. Use the [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2)
+ > endpoint or the [Update multiple customer profiles](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfilesV2)
+ > endpoint to create the customer profiles.
- **Note:** We recommend limiting your file size to 500MB.
+ > [!note] We recommend limiting your file size to 500 MB.
- **Example:**
+ ## Example
```text
code,startdate,expirydate,advocateprofileintegrationid,limitval,attributes
- REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,"{""my_attribute"": ""10_off""}"
- REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,"{""my_attribute"": ""20_off""}"
+ REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,"{""my_attribute"":
+ ""10_off""}"
+ REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,"{""my_attribute"":
+ ""20_off""}"
```
operationId: importReferrals
parameters:
@@ -10598,7 +11149,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_42'
+ $ref: '#/components/schemas/inline_response_200_43'
description: OK
summary: List users in account
tags:
@@ -11206,10 +11757,10 @@ paths:
format: date-time
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -11231,7 +11782,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_43'
+ $ref: '#/components/schemas/inline_response_200_44'
description: OK
summary: Get audit logs for an account
tags:
@@ -11240,9 +11791,13 @@ paths:
/v2/invites:
post:
description: |
- Create a new user in the account and send an invitation to their email address.
+ Create a new user in the account and send an invitation to their email
+ address.
- **Note**: The invitation token is valid for 24 hours after the email has been sent. You can resend an invitation to a user with the [Resend invitation email](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/createInviteEmail) endpoint.
+ > [!note] The invitation token is valid for 24 hours after the email has
+ > been sent. You can resend an invitation to a user with the [Resend
+ > invitation email](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/createInviteEmail)
+ > endpoint.
operationId: createInviteV2
requestBody:
content:
@@ -11269,7 +11824,7 @@ paths:
description: |
Resend an email invitation to an existing user.
- **Note:** The invitation token is valid for 24 hours after the email has been sent.
+ > [!note] The invitation token is valid for 24 hours after the email has been sent.
operationId: createInviteEmail
requestBody:
content:
@@ -11294,9 +11849,10 @@ paths:
/v1/password_recovery_emails:
post:
description: |
- Send an email with a password recovery link to the email address of an existing account.
+ Send an email with a password recovery link to the email address of an
+ existing account.
- **Note:** The password recovery link expires 30 minutes after this endpoint is triggered.
+ > [!note] The password recovery link expires 30 minutes after this endpoint is triggered.
operationId: createPasswordRecoveryEmail
requestBody:
content:
@@ -11352,7 +11908,7 @@ paths:
parameters:
- description: |
The identifier of the account. Retrieve it via the
- [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId`
+ [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId`
property.
in: path
name: accountId
@@ -11379,7 +11935,7 @@ paths:
parameters:
- description: |
The identifier of the account. Retrieve it via the
- [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId`
+ [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId`
property.
in: path
name: accountId
@@ -11413,18 +11969,19 @@ paths:
post:
description: |
Create a session to use the Management API endpoints.
- Use the value of the `token` property provided in the response as bearer token in other API calls.
- A token is valid for 3 months. In accordance with best pratices, use your generated token
- for all your API requests. Do **not** regenerate a token for each request.
+ Use the value of the `token` property provided in the response as bearer
+ token in other API calls.
+
+ A token is valid for 3 months. In accordance with best pratices, use your
+ generated token for all your API requests. Do **not** regenerate a token for each request.
- This endpoint has a rate limit of 3 to 6 requests per second per account, depending on your setup.
+ This endpoint has a rate limit of 3 to 6 requests per second per account,
+ depending on your setup.
-
-
Granular API key
- Instead of using a session, you can also use the
Management API key feature
- in the Campaign Manager to decide which endpoints can be used with a given key.
-
+ > [!note]
+ > Instead of using a session, you can also use the Management API key feature
+ > in the Campaign Manager to decide which endpoints can be used with a given key.
operationId: createSession
requestBody:
content:
@@ -11498,7 +12055,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_44'
+ $ref: '#/components/schemas/inline_response_200_45'
description: OK
summary: Get exports
tags:
@@ -11513,7 +12070,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_45'
+ $ref: '#/components/schemas/inline_response_200_46'
description: OK
summary: List roles
tags:
@@ -11580,6 +12137,89 @@ paths:
x-codegen-request-body-name: body
x-contentType: application/json
x-accepts: application/json
+ /v1/applications/{applicationId}/campaigns/{campaignId}/value_maps/{valueMapId}/export:
+ get:
+ description: |
+ Download a CSV file containing all the value map items in a campaign. If
+ there are multiple versions of the value map, only the items of the current
+ version are exported.
+
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
+
+ The generated file can contain the following columns:
+
+ - `identifier`: The value of the attribute in the targeted item, for example, an item's SKU.
+ - `value`: The value that is associated with the identifier, for example, the item's price.
+ operationId: exportCampaignValueMap
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: The ID of the campaign. It is displayed in your Talon.One deployment
+ URL.
+ in: path
+ name: campaignId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: |
+ The ID of the value map.
+ in: path
+ name: valueMapId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ responses:
+ "200":
+ content:
+ application/csv:
+ schema:
+ format: csv
+ type: string
+ application/json:
+ schema:
+ format: csv
+ type: string
+ description: OK
+ "400":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Bad request
+ "401":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Unauthorized
+ "404":
+ content:
+ application/csv:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorResponseWithStatus'
+ description: Not found
+ summary: Export campaign value map
+ tags:
+ - management
+ x-accepts: application/json
/v1/applications/{applicationId}/stores:
get:
description: List all stores for a specific Application.
@@ -11618,10 +12258,10 @@ paths:
schema:
type: string
- description: |
- When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets.
+ When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets.
- - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero.
- - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ - When `true`: `totalResultSize` contains the total number of results for this query.
+ - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
in: query
name: withTotalResultSize
schema:
@@ -11651,7 +12291,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_46'
+ $ref: '#/components/schemas/inline_response_200_47'
description: OK
summary: List stores
tags:
@@ -11831,7 +12471,8 @@ paths:
description: |
Download a CSV file containing the stores linked to a specific campaign.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following column:
@@ -11884,6 +12525,94 @@ paths:
tags:
- management
x-accepts: application/csv
+ /v1/applications/{applicationId}/cart_item_filters:
+ get:
+ description: Return all the Application cart item filters for a specific Application.
+ operationId: listApplicationCartItemFilters
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: The number of items in the response.
+ in: query
+ name: pageSize
+ schema:
+ default: 50
+ format: int64
+ maximum: 50
+ minimum: 1
+ type: integer
+ - description: The number of items to skip when paging through large result
+ sets.
+ in: query
+ name: skip
+ schema:
+ format: int64
+ type: integer
+ - description: |
+ Filter by the display name of the Application cart item filter in the Application.
+
+ **Note**: If no `title` is provided, all the Application cart item filters in the Application are returned.
+ in: query
+ name: title
+ schema:
+ type: string
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/inline_response_200_48'
+ description: OK
+ summary: List Application cart item filters
+ tags:
+ - management
+ x-accepts: application/json
+ /v1/applications/{applicationId}/cart_item_filters/{cartItemFilterId}/expressions/{expressionId}:
+ get:
+ description: Get an Application cart item filter expression for a specific Application.
+ operationId: getApplicationCartItemFilterExpression
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: The ID of the Application cart item filter. You can get this
+ ID with the [List Application cart item filters](https://docs.talon.one/management-api#tag/Applications/operation/listApplicationCartItemFilters)
+ endpoint.
+ in: path
+ name: cartItemFilterId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: The ID of the Application cart item filter expression.
+ in: path
+ name: expressionId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApplicationCIFExpression'
+ description: Ok
+ summary: Get Application cart item filter expression
+ tags:
+ - management
+ x-accepts: application/json
/v1/applications/{applicationId}/campaigns/{campaignId}/stores:
delete:
description: Disconnect the stores linked to a specific campaign.
@@ -12101,7 +12830,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_47'
+ $ref: '#/components/schemas/inline_response_200_49'
description: OK
"400":
content:
@@ -12200,7 +12929,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_48'
+ $ref: '#/components/schemas/inline_response_200_50'
description: OK
"400":
content:
@@ -12307,7 +13036,8 @@ paths:
description: |
Download a CSV file containing the store budgets for a given campaign.
- **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
The CSV file contains the following columns:
@@ -12432,7 +13162,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_49'
+ $ref: '#/components/schemas/inline_response_200_51'
description: OK
summary: List achievements
tags:
@@ -12733,6 +13463,87 @@ paths:
tags:
- management
x-accepts: application/csv
+ /v1/applications/{applicationId}/campaign_analytics/export:
+ get:
+ description: |
+ Download a CSV file containing analytics data aggregated by campaign for the
+ campaigns of an Application.
+
+ > [!tip] If the exported CSV file is too large to view, you can
+ > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
+
+ The CSV file contains the following columns:
+
+ - `campaign_id`: The ID of the campaign. This column also contains labels
+ for the [total and influenced values](https://docs.talon.one/docs/product/campaigns/analytics/application-dashboard#display-the-analytics-data).
+ - `start_date`: The start of the aggregation time frame in UTC.
+ - `end_date`: The end of the aggregation time frame in UTC.
+ - `revenue`: The total, pre-discount value of all items purchased in a customer session.
+ - `sessions`: The number of all closed sessions.
+ - `average_session_value`: The average customer session value, calculated by dividing the revenue value by the number of sessions.
+ - `average_items_per_session`: The number of items from sessions divided by the number of sessions.
+ - `coupons`: The number of times a coupon was successfully redeemed in sessions.
+ - `discounts`: The total value of discounts given for cart items in sessions.
+ operationId: exportApplicationCampaignAnalytics
+ parameters:
+ - description: The ID of the Application. It is displayed in your Talon.One
+ deployment URL.
+ in: path
+ name: applicationId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ - description: |
+ Filter by one or more Campaign IDs, separated by a comma.
+
+ **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned.
+ explode: false
+ in: query
+ name: campaignIds
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - description: |
+ Only return results from after this timestamp.
+
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ in: query
+ name: rangeStart
+ required: true
+ schema:
+ format: date-time
+ type: string
+ - description: |
+ Only return results from before this timestamp.
+
+ > [!note] **Note**
+ > - This must be an RFC3339 timestamp string.
+ > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting
+ > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ in: query
+ name: rangeEnd
+ required: true
+ schema:
+ format: date-time
+ type: string
+ responses:
+ "200":
+ content:
+ application/csv:
+ schema:
+ format: csv
+ type: string
+ description: OK
+ summary: Export Application analytics aggregated by campaign
+ tags:
+ - management
+ x-accepts: application/csv
/v1/applications/{applicationId}/achievement_progress/{integrationId}:
get:
description: |
@@ -12792,7 +13603,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_50'
+ $ref: '#/components/schemas/inline_response_200_52'
description: OK
"400":
content:
@@ -12844,7 +13655,7 @@ paths:
content:
application/json:
schema:
- $ref: '#/components/schemas/inline_response_200_51'
+ $ref: '#/components/schemas/inline_response_200_53'
description: OK
summary: Summarize coupon redemption failures in session
tags:
@@ -13581,7 +14392,7 @@ components:
type: object
UpdateRoleV2:
$ref: '#/components/schemas/RoleV2Base'
- PrismaticPaginatedEventPayload:
+ IntegrationHubPaginatedEventPayload:
properties:
TotalResultSize:
format: int64
@@ -13599,7 +14410,7 @@ components:
- CouponUpdated
- CouponDeleted
type: string
- x-generate-enum-go: PrismaticEventType
+ x-generate-enum-go: IntegrationHubEventType
Data:
items:
type: object
@@ -13800,6 +14611,7 @@ components:
of this item.
example: 1
format: int64
+ readOnly: true
title: Returned quantity of item
type: integer
remainingQuantity:
@@ -13807,6 +14619,7 @@ components:
on returns of this item.
example: 1
format: int64
+ readOnly: true
title: Remaining quantity of item
type: integer
price:
@@ -13841,6 +14654,7 @@ components:
type: number
position:
description: Position of the Cart Item in the Cart (calculated internally).
+ readOnly: true
title: Position of Cart Item
type: number
attributes:
@@ -13869,12 +14683,14 @@ components:
catalogItemID:
description: The catalog item ID.
format: int64
+ readOnly: true
title: The catalog item ID
type: integer
selectedPriceType:
description: The selected price type for this cart item (e.g. the price
for members only).
example: member
+ readOnly: true
title: Price Type
type: string
adjustmentReferenceId:
@@ -13882,6 +14698,7 @@ components:
cart item. Only returned if the selected price resulted from a price adjustment.
example: 68851723-e6fa-488f-ace9-112581e6c19b
format: uuid
+ readOnly: true
title: Price Adjustment ID
type: string
adjustmentEffectiveFrom:
@@ -13890,6 +14707,7 @@ components:
contains this field.
example: 2021-09-12T10:12:42Z
format: date-time
+ readOnly: true
title: Price Adjustment Start Date
type: string
adjustmentEffectiveUntil:
@@ -13898,6 +14716,7 @@ components:
contains this field.
example: 2021-09-12T10:12:42Z
format: date-time
+ readOnly: true
title: Price Adjustment Expiry Date
type: string
prices:
@@ -13914,6 +14733,7 @@ components:
effectiveUntil: 2025-05-30T00:00:00Z
base:
price: 100
+ readOnly: true
type: object
required:
- quantity
@@ -14178,6 +14998,7 @@ components:
example:
couponCodes:
- XMAS-20-2021
+ updateCount: 3
created: 2020-02-07T08:15:22Z
identifiers:
- d41306257915f83fe01e54092ae470f631161ea16fcf4415842eed41470386ea
@@ -14443,6 +15264,13 @@ components:
example: true
title: First session ever?
type: boolean
+ updateCount:
+ description: The number of times the session was updated. When the session
+ is created, this value is initialized to `1`.
+ example: 3
+ format: int64
+ title: Update count
+ type: integer
total:
description: The total value of cart items and additional costs in the session,
before any discounts are applied.
@@ -14479,6 +15307,7 @@ components:
- profileId
- state
- total
+ - updateCount
- updated
type: object
EffectEntity:
@@ -14786,6 +15615,10 @@ components:
description: |
The sub-position of the targeted bundle item on which the applied discount is based.
type: number
+ excludedFromPriceHistory:
+ description: When set to `true`, the applied discount is excluded from the
+ item's price history.
+ type: boolean
required:
- name
- position
@@ -14837,11 +15670,11 @@ components:
type: object
LoyaltyCardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
AddLoyaltyPointsEffectProps:
description: |
@@ -14890,11 +15723,11 @@ components:
type: number
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
bundleIndex:
description: The position of the bundle in a list of item bundles created
@@ -14951,11 +15784,11 @@ components:
type: string
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
required:
- name
@@ -15150,11 +15983,11 @@ components:
type: number
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
required:
- programId
@@ -15198,11 +16031,11 @@ components:
type: string
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
required:
- programId
@@ -15759,6 +16592,7 @@ components:
customerSession:
couponCodes:
- XMAS-20-2021
+ updateCount: 3
created: 2020-02-07T08:15:22Z
identifiers:
- d41306257915f83fe01e54092ae470f631161ea16fcf4415842eed41470386ea
@@ -16210,7 +17044,7 @@ components:
This field is updated on calls that trigger the Rule Engine and that are
not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay).
- For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation)
+ For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation)
for a customer doesn't impact this field.
example: 2020-02-08T14:15:20Z
format: date-time
@@ -16392,6 +17226,7 @@ components:
description: The balance in a Loyalty Program for some Customer.
example:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16465,6 +17300,15 @@ components:
description: Points required to move up a tier.
example: 20.0
type: number
+ nextTierName:
+ description: |
+ The name of the next higher tier level in the loyalty program.
+
+ **Note**:
+ - Returns `null` if the customer has reached the highest available tier.
+ - Returns the lowest level tier name if the customer is not currently assigned to any tier.
+ example: Silver
+ type: string
required:
- currentBalance
- expiredBalance
@@ -16476,6 +17320,7 @@ components:
example:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16502,6 +17347,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16563,11 +17409,11 @@ components:
type: string
identifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
usersPerCardLimit:
description: |
@@ -16596,19 +17442,19 @@ components:
type: string
oldCardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
newCardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
batchId:
description: The ID of the batch in which the loyalty card was created.
@@ -16627,6 +17473,7 @@ components:
example:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16645,6 +17492,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16702,6 +17550,7 @@ components:
cards:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16728,6 +17577,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16753,6 +17603,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16779,6 +17630,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16806,6 +17658,7 @@ components:
key:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16824,6 +17677,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -16974,7 +17828,7 @@ components:
example: SUMMER-####-####
maxLength: 100
minLength: 3
- pattern: ^[A-Za-z0-9_#-]*$
+ pattern: ^[A-Za-z0-9._%+@#-]+$
type: string
required:
- couponPattern
@@ -17069,7 +17923,7 @@ components:
type: string
activeRulesetId:
description: |
- [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this
+ [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this
campaign applies on customer session evaluation.
example: 6
format: int64
@@ -17152,6 +18006,10 @@ components:
format: int64
type: integer
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
required:
- features
- limits
@@ -17460,6 +18318,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -17621,7 +18480,7 @@ components:
type: string
activeRulesetId:
description: |
- [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this
+ [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this
campaign applies on customer session evaluation.
example: 6
format: int64
@@ -17704,6 +18563,10 @@ components:
format: int64
type: integer
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
budgets:
description: |
A list of all the budgets that are defined by this campaign and their usage.
@@ -19500,6 +20363,7 @@ components:
cards:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19526,6 +20390,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19551,6 +20416,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19577,6 +20443,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19604,6 +20471,7 @@ components:
key:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19622,6 +20490,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -19861,6 +20730,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -20015,6 +20885,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -20188,6 +21059,7 @@ components:
customerSession:
couponCodes:
- XMAS-20-2021
+ updateCount: 3
created: 2020-02-07T08:15:22Z
identifiers:
- d41306257915f83fe01e54092ae470f631161ea16fcf4415842eed41470386ea
@@ -20780,6 +21652,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -20934,6 +21807,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -21063,6 +21937,7 @@ components:
cards:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21089,6 +21964,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21114,6 +21990,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21140,6 +22017,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21167,6 +22045,7 @@ components:
key:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21185,6 +22064,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -21454,7 +22334,7 @@ components:
The identifier of this profile, set by your integration layer. It must be unique within the account.
To get the `integrationId` of the profile from a `sessionId`, use the
- [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2).
+ [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2).
example: R195412
maxLength: 1000
type: string
@@ -21746,7 +22626,7 @@ components:
type: string
audienceId:
description: The ID of the audience. You get it via the `id` property when
- [creating an audience](#operation/createAudienceV2).
+ [creating an audience](#tag/Audiences/operation/createAudienceV2).
example: 748
format: int64
type: integer
@@ -21826,6 +22706,123 @@ components:
$ref: '#/components/schemas/IntegrationCustomerProfileAudienceRequestItem'
type: array
type: object
+ RuleMetadata:
+ properties:
+ title:
+ description: A short description of the rule.
+ example: Give discount via coupon
+ type: string
+ displayName:
+ description: A customer-facing name for the rule.
+ example: 20% off all shoes!
+ type: string
+ displayDescription:
+ description: "A customer-facing description that explains the details of\
+ \ the rule. \n\nFor example, this property can contain details about eligibility\
+ \ requirements, reward timelines, or terms and conditions.\n"
+ example: Get a 20% discount on all shoes during Thanksgiving! Offer valid
+ till Dec 5 only.
+ type: string
+ relatedData:
+ description: |
+ Any additional data associated with the rule, such as an image URL, vendor name, or a content management system (CMS) ID.
+ example: https://example.com/discounts/20-off-shoes.png
+ type: string
+ required:
+ - title
+ type: object
+ IntegrationCampaign:
+ example:
+ features:
+ - coupons
+ - referrals
+ name: Summer promotions
+ description: Campaign for all summer 2021 promotions
+ startTime: 2021-07-20T22:00:00Z
+ attributes: '{}'
+ id: 4
+ endTime: 2021-09-22T22:00:00Z
+ state: enabled
+ applicationId: 322
+ tags:
+ - summer
+ properties:
+ id:
+ description: Unique ID of Campaign.
+ example: 4
+ format: int64
+ type: integer
+ applicationId:
+ description: The ID of the Application that owns this entity.
+ example: 322
+ format: int64
+ type: integer
+ name:
+ description: A user-facing name for this campaign.
+ example: Summer promotions
+ minLength: 1
+ title: Campaign Name
+ type: string
+ description:
+ description: A detailed description of the campaign.
+ example: Campaign for all summer 2021 promotions
+ title: Campaign Description
+ type: string
+ startTime:
+ description: Timestamp when the campaign will become active.
+ example: 2021-07-20T22:00:00Z
+ format: date-time
+ type: string
+ endTime:
+ description: Timestamp when the campaign will become inactive.
+ example: 2021-09-22T22:00:00Z
+ format: date-time
+ type: string
+ attributes:
+ description: Arbitrary properties associated with this campaign.
+ properties: {}
+ type: object
+ state:
+ default: enabled
+ description: |
+ The state of the campaign.
+ enum:
+ - enabled
+ example: enabled
+ type: string
+ tags:
+ description: A list of tags for the campaign.
+ example:
+ - summer
+ items:
+ maxLength: 50
+ minLength: 1
+ type: string
+ maxItems: 50
+ type: array
+ features:
+ description: The features enabled in this campaign.
+ example:
+ - coupons
+ - referrals
+ items:
+ enum:
+ - coupons
+ - referrals
+ - loyalty
+ - giveaways
+ - strikethrough
+ - achievements
+ type: string
+ type: array
+ required:
+ - applicationId
+ - features
+ - id
+ - name
+ - state
+ - tags
+ type: object
NewAttribute:
example:
editable: true
@@ -23879,6 +24876,13 @@ components:
example: true
title: First session ever?
type: boolean
+ updateCount:
+ description: The number of times the session was updated. When the session
+ is created, this value is initialized to `1`.
+ example: 3
+ format: int64
+ title: Update count
+ type: integer
discounts:
additionalProperties:
type: number
@@ -23905,6 +24909,7 @@ components:
- referral
- state
- total
+ - updateCount
- updated
type: object
IntegrationState:
@@ -24056,6 +25061,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -24210,6 +25216,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -24339,6 +25346,7 @@ components:
cards:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -24365,6 +25373,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -24390,6 +25399,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -24416,6 +25426,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -24443,6 +25454,7 @@ components:
key:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -24461,6 +25473,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25200,6 +26213,7 @@ components:
cards:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25226,6 +26240,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25251,6 +26266,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25277,6 +26293,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25304,6 +26321,7 @@ components:
key:
ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25322,6 +26340,7 @@ components:
subLedgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -25958,7 +26977,7 @@ components:
negativePoints: 286.0
activePoints: 286.0
spentPoints: 150.0
- nextTierName: silver
+ nextTierName: Silver
pointsToNextTier: 20.0
expiredPoints: 286.0
currentTier:
@@ -26007,8 +27026,13 @@ components:
example: 20.0
type: number
nextTierName:
- description: The name of the tier consecutive to the current tier.
- example: silver
+ description: |
+ The name of the next higher tier level in the loyalty program.
+
+ **Note**:
+ - Returns `null` if the customer has reached the highest available tier.
+ - Returns the lowest level tier name if the customer is not currently assigned to any tier.
+ example: Silver
type: string
type: object
LoyaltyBalancesWithTiers:
@@ -26022,7 +27046,7 @@ components:
negativePoints: 286.0
activePoints: 286.0
spentPoints: 150.0
- nextTierName: silver
+ nextTierName: Silver
pointsToNextTier: 20.0
expiredPoints: 286.0
currentTier:
@@ -26089,11 +27113,11 @@ components:
type: integer
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
customerSessionId:
description: ID of the customer session where the transaction occurred.
@@ -26645,7 +27669,7 @@ components:
type: string
activeRulesetId:
description: |
- [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this
+ [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this
campaign applies on customer session evaluation.
example: 6
format: int64
@@ -26728,6 +27752,10 @@ components:
format: int64
type: integer
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
evaluationGroupId:
description: The ID of the campaign evaluation group the campaign belongs
to.
@@ -26829,6 +27857,10 @@ components:
- achievements
type: string
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
type: object
RevisionVersion:
properties:
@@ -26927,6 +27959,10 @@ components:
- achievements
type: string
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
required:
- accountId
- applicationId
@@ -27387,6 +28423,7 @@ components:
myattribute: 20
endTime: 2021-10-01T02:00:00Z
state: disabled
+ couponAttributes: '{}'
limits:
- period: yearly
entities:
@@ -27438,7 +28475,7 @@ components:
type: string
activeRulesetId:
description: |
- [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this
+ [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this
campaign applies on customer session evaluation.
example: 2
format: int64
@@ -27515,10 +28552,12 @@ components:
description: |
A list of store IDs that you want to link to the campaign.
- **Note:**
- - Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store.
- - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty.
- - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file.
+ > [!note] **Note**
+ > - Campaigns with linked store IDs will only be evaluated when there is a
+ > [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2)
+ > that references a linked store.
+ > - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty.
+ > - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file.
example:
- 1
- 2
@@ -27527,6 +28566,10 @@ components:
format: int64
type: integer
type: array
+ couponAttributes:
+ description: Arbitrary properties associated with coupons in this campaign.
+ properties: {}
+ type: object
required:
- features
- limits
@@ -28812,6 +29855,8 @@ components:
description: discount value.
example: "1"
type: object
+ excludedFromPriceHistory:
+ type: boolean
required:
- name
- value
@@ -29817,7 +30862,7 @@ components:
type: integer
uniquePrefix:
description: |
- **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#operation/createCouponsAsync) endpoint.
+ **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#tag/Coupons/operation/createCouponsAsync) endpoint.
example: ""
title: Coupon code unique prefix
type: string
@@ -31615,6 +32660,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -32144,6 +33190,127 @@ components:
- campaign
- isVariantAssignmentExternal
type: object
+ ExperimentListResultsRequest:
+ properties:
+ experimentIds:
+ items:
+ format: int64
+ type: integer
+ type: array
+ required:
+ - experimentIds
+ type: object
+ ExperimentVariantResult:
+ properties:
+ variantId:
+ description: The ID of the variant.
+ example: 1
+ format: int64
+ type: integer
+ variantName:
+ description: The name of the variant.
+ example: Variant A
+ type: string
+ variantWeight:
+ description: The weight of the variant.
+ example: 50
+ format: int64
+ type: integer
+ isWinner:
+ description: Calculated flag if the variant is the winner.
+ example: true
+ type: boolean
+ totalRevenue:
+ description: The total, pre-discount value of all items purchased in a customer
+ session.
+ example: 100.0
+ type: number
+ sessionsCount:
+ description: The number of all closed sessions.
+ example: 100.0
+ type: number
+ avgItemsPerSession:
+ description: The number of items from sessions divided by the number of
+ sessions.
+ example: 100.0
+ type: number
+ avgSessionValue:
+ description: The average customer session value, calculated by dividing
+ the revenue value by the number of sessions.
+ example: 100.0
+ type: number
+ avgDiscountedSessionValue:
+ description: The average customer session value, calculated by dividing
+ the revenue value by the number of sessions.
+ example: 100.0
+ type: number
+ totalDiscounts:
+ description: The total value of discounts given for cart items in sessions.
+ example: 10.0
+ type: number
+ couponsCount:
+ description: The number of times a coupon was successfully redeemed in sessions.
+ example: 12.0
+ type: number
+ type: object
+ ExperimentVariantResultConfidence:
+ properties:
+ avgSessionValue:
+ description: The calculated confidence value of the average customer session
+ value.
+ example: 100.0
+ type: number
+ avgDiscountedSessionValue:
+ description: The calculated confidence value of the average customer discounted
+ session value.
+ example: 100.0
+ type: number
+ avgItemsPerSession:
+ description: The calculated confidence value of the number of items from
+ sessions value.
+ example: 100.0
+ type: number
+ required:
+ - avgDiscountedSessionValue
+ - avgItemsPerSession
+ - avgSessionValue
+ type: object
+ ExperimentResults:
+ properties:
+ variants:
+ items:
+ $ref: '#/components/schemas/ExperimentVariantResult'
+ type: array
+ confidence:
+ $ref: '#/components/schemas/ExperimentVariantResultConfidence'
+ required:
+ - confidence
+ - variants
+ type: object
+ ExperimentResult:
+ properties:
+ variants:
+ items:
+ $ref: '#/components/schemas/ExperimentVariantResult'
+ type: array
+ confidence:
+ $ref: '#/components/schemas/ExperimentVariantResultConfidence'
+ experimentId:
+ example: 1
+ format: int64
+ type: integer
+ required:
+ - confidence
+ - experimentId
+ - variants
+ type: object
+ ExperimentListResults:
+ properties:
+ results:
+ items:
+ $ref: '#/components/schemas/ExperimentResult'
+ type: array
+ type: object
UpdateExperiment:
properties:
isVariantAssignmentExternal:
@@ -32242,88 +33409,6 @@ components:
required:
- name
type: object
- ExperimentVariantResult:
- properties:
- variantId:
- description: The ID of the variant.
- example: 1
- format: int64
- type: integer
- variantName:
- description: The name of the variant.
- example: Variant A
- type: string
- variantWeight:
- description: The weight of the variant.
- example: 50
- format: int64
- type: integer
- totalRevenue:
- description: The total, pre-discount value of all items purchased in a customer
- session.
- example: 100.0
- type: number
- sessionsCount:
- description: The number of all closed sessions.
- example: 100.0
- type: number
- avgItemsPerSession:
- description: The number of items from sessions divided by the number of
- sessions.
- example: 100.0
- type: number
- avgSessionValue:
- description: The average customer session value, calculated by dividing
- the revenue value by the number of sessions.
- example: 100.0
- type: number
- avgDiscountedSessionValue:
- description: The average customer session value, calculated by dividing
- the revenue value by the number of sessions.
- example: 100.0
- type: number
- totalDiscounts:
- description: The total value of discounts given for cart items in sessions.
- example: 10.0
- type: number
- couponsCount:
- description: The number of times a coupon was successfully redeemed in sessions.
- example: 12.0
- type: number
- type: object
- ExperimentVariantResultConfidence:
- properties:
- avgSessionValue:
- description: The calculated confidence value of the average customer session
- value.
- example: 100.0
- type: number
- avgDiscountedSessionValue:
- description: The calculated confidence value of the average customer discounted
- session value.
- example: 100.0
- type: number
- avgItemsPerSession:
- description: The calculated confidence value of the number of items from
- sessions value.
- example: 100.0
- type: number
- required:
- - avgDiscountedSessionValue
- - avgItemsPerSession
- - avgSessionValue
- type: object
- ExperimentResults:
- properties:
- variants:
- items:
- $ref: '#/components/schemas/ExperimentVariantResult'
- type: array
- confidence:
- $ref: '#/components/schemas/ExperimentVariantResultConfidence'
- required:
- - confidence
- type: object
ExperimentCampaignCopy:
properties:
name:
@@ -32400,6 +33485,174 @@ components:
- targetApplicationId
- variantId
type: object
+ ExperimentVerdict:
+ properties:
+ winnerVariantName:
+ description: The name of the winning variant. If no variant shows a statistically
+ significant advantage on key business metrics, return 'Inconclusive'.
+ type: string
+ verdictSummary:
+ description: A one-sentence summary of the outcome, including the key metric
+ and confidence level that led to the decision.
+ type: string
+ keyFindings:
+ description: A bullet point stating the most important finding, including
+ the metric, the percentage change, and the confidence.
+ items:
+ type: string
+ type: array
+ aiConfidenceLevel:
+ description: Your confidence in this overall verdict, from 0 to 100.
+ type: string
+ recommendation:
+ description: A short, actionable recommendation based on the findings. If
+ inconclusive, suggest running the test longer. If there is a clear winner,
+ recommend promoting it.
+ type: string
+ required:
+ - aiConfidenceLevel
+ - keyFindings
+ - recommendation
+ - verdictSummary
+ - winnerVariantName
+ type: object
+ ExperimentVerdictResponse:
+ properties:
+ verdict:
+ $ref: '#/components/schemas/ExperimentVerdict'
+ generated:
+ description: Timestamp of the moment when the verdict was generated.
+ format: date-time
+ type: string
+ required:
+ - generated
+ - verdict
+ type: object
+ ExperimentSegmentInsightVariant:
+ properties:
+ variantId:
+ description: The ID of the experiment variant.
+ example: 41
+ format: int64
+ type: integer
+ variantName:
+ description: The name of the experiment variant.
+ example: Control
+ type: string
+ sessionsCount:
+ description: The number of sessions in this segment for this variant.
+ example: 161
+ format: int64
+ type: integer
+ value:
+ description: The metric value for this variant in the segment.
+ example: 13.13
+ format: double
+ type: number
+ required:
+ - sessionsCount
+ - value
+ - variantId
+ - variantName
+ type: object
+ ExperimentSegmentInsight:
+ properties:
+ dimension:
+ description: The segmentation dimension used to group customers or purchases
+ for analysis.
+ enum:
+ - cart_value
+ - item_count
+ - customer_type
+ example: cart_value
+ type: string
+ bucket:
+ description: The specific group within the segmentation dimension.
+ enum:
+ - low
+ - medium
+ - high
+ - new
+ - returning
+ - loyal
+ example: high
+ type: string
+ confidence:
+ description: |
+ The raw (unadjusted) confidence score expressed as a percentage. Only segments with a confidence score greater than or equal to 95% are returned.
+ example: 99.2
+ format: double
+ maximum: 1E+2
+ minimum: 95
+ type: number
+ winnerVariantId:
+ description: The ID of the variant that performed better in this segment.
+ example: 42
+ format: int64
+ type: integer
+ variants:
+ description: Per-variant metric values for this segment.
+ items:
+ $ref: '#/components/schemas/ExperimentSegmentInsightVariant'
+ type: array
+ required:
+ - bucket
+ - confidence
+ - dimension
+ - variants
+ - winnerVariantId
+ type: object
+ ExperimentSegmentInsightMetric:
+ properties:
+ metric:
+ description: The metric being measured.
+ enum:
+ - avg_session_value
+ - avg_discounted_session_value
+ - avg_items_per_session
+ example: avg_session_value
+ type: string
+ segments:
+ description: |
+ Segments with statistically significant results for this metric. An empty array means no significant segments were found. Segments are sorted by confidence score from highest to lowest.
+ items:
+ $ref: '#/components/schemas/ExperimentSegmentInsight'
+ type: array
+ required:
+ - metric
+ - segments
+ type: object
+ ExperimentSegmentInsights:
+ properties:
+ metrics:
+ description: |
+ Segment insights grouped by metric. This array always contains exactly three metric objects. Each metric includes a segments array, which is empty if no significant results were found. The metrics array itself is empty if the `reason` property is populated.
+ items:
+ $ref: '#/components/schemas/ExperimentSegmentInsightMetric'
+ type: array
+ totalSegmentsTested:
+ description: |
+ Total number of segment-metric combinations that were tested for statistical significance.
+ example: 24
+ format: int64
+ type: integer
+ dimensionsTested:
+ description: |
+ Number of segmentation dimensions that had sufficient data variance to test. Dimensions where all sessions fall into a single bucket are excluded.
+ example: 3
+ format: int64
+ type: integer
+ reason:
+ description: |
+ Empty string when segment insights are available. Contains a reason code when insights could not be computed (e.g., "insufficient_data" when the experiment has fewer than 100 sessions per variant).
+ example: ""
+ type: string
+ required:
+ - dimensionsTested
+ - metrics
+ - reason
+ - totalSegmentsTested
+ type: object
CreateTemplateCampaign:
example:
campaignAttributesOverrides: '{}'
@@ -33031,6 +34284,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -33455,17 +34709,16 @@ components:
description: Activate loyalty points
example:
transactionUUIDs:
- - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- - 046b6c7f-0b8a-43b9-b35d-6489e6daee91
- sessionId: sessionId
+ - 8f1a8d7c-9c3e-4a5e-9f0d-2c5f7a3b1cde
+ sessionId: ac08cc3c43470426591ad75b2d685ec04_v2
properties:
transactionUUIDs:
- description: "An array of transaction UUIDs used to activate specific pending\
- \ point transactions. \n\nIf provided, do not include the `sessionId`\
- \ parameter.\n"
+ description: |
+ An array of transaction UUIDs used to activate specific pending point transactions.
+
+ If provided, do not include the `sessionId` parameter.
+ example:
+ - 8f1a8d7c-9c3e-4a5e-9f0d-2c5f7a3b1cde
items:
format: uuid
type: string
@@ -33478,6 +34731,7 @@ components:
The ID of the session containing the pending point transactions to activate.
If provided, do not include the `transactionUUIDs` parameter.
+ example: ac08cc3c43470426591ad75b2d685ec04_v2
minLength: 1
type: string
type: object
@@ -34379,11 +35633,11 @@ components:
type: string
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
subledgerId:
description: ID of the subledger.
@@ -34561,11 +35815,11 @@ components:
type: array
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
type: object
CardLedgerTransactionLogEntry:
@@ -34601,11 +35855,11 @@ components:
type: integer
cardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
applicationId:
description: The ID of the Application that owns this entity.
@@ -34688,11 +35942,11 @@ components:
properties:
newCardIdentifier:
description: |
- The alphanumeric identifier of the loyalty card.
+ The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
maxLength: 108
minLength: 4
- pattern: ^[A-Za-z0-9_-]*$
+ pattern: ^[A-Za-z0-9._%+@-]+$
type: string
blockReason:
description: |
@@ -35558,7 +36812,7 @@ components:
description: |
One-word summary of the health of the API connection of an application. Possible values are:
- `OK`: The Application has received only successful API requests in the last 5 minutes.
- - `WARNING`: The Application received at least one failed request in the last 50 minutes.
+ - `WARNING`: The Application received at least one failed request in the last 5 minutes.
- `ERROR`: More than 50% of received requests failed.
- `CRITICAL`: All received requests failed.
- `NONE`: During the last 5 minutes, the Application hasn't recorded any integration API requests.
@@ -35932,7 +37186,7 @@ components:
This field is updated on calls that trigger the Rule Engine and that are
not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay).
- For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation)
+ For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation)
for a customer doesn't impact this field.
example: 2020-02-08T14:15:20Z
format: date-time
@@ -36543,7 +37797,7 @@ components:
This field is updated on calls that trigger the Rule Engine and that are
not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay).
- For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation)
+ For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation)
for a customer doesn't impact this field.
example: 2020-02-08T14:15:20Z
format: date-time
@@ -37155,6 +38409,16 @@ components:
- name
type: object
ApplicationCIF:
+ example:
+ createdBy: 216
+ created: 2020-06-10T09:05:27.993483Z
+ name: Filter items by product
+ description: This filter allows filtering by shoes
+ modified: 2000-01-23T04:56:07.000+00:00
+ modifiedBy: 334
+ id: 6
+ applicationId: 322
+ activeExpressionId: 1
properties:
id:
description: The internal ID of this entity.
@@ -37388,7 +38652,6 @@ components:
skus:
- comma
- period
- strictEndDate: true
timeframeEndDateType: sale
target:
targetType: AUDIENCE
@@ -37415,22 +38678,12 @@ components:
within this look back period are considered for the best prior price evaluation.
example: "30"
type: string
- strictEndDate:
- description: |
- This property is **deprecated**. Use `timeframeEndDateType` instead.
-
- Indicates whether the timeframe includes the start of the current sale.
- - When `false`, the timeframe includes the start date of the current sale.
- - When `true`, the timeframe strictly uses the number of days specified in `timeframe`.
- example: true
- type: boolean
- x-deprecated: true
timeframeEndDateType:
description: |
Sets the timeframe for retrieving historical pricing data. Can be one of the following values:
- `strict`: The timeframe ends at the `timeframeEndDate` value.
- - `price`: The timeframe ends at the start of the current `contextId` with the current price value. Identical price records are merged. If there is no `contextId` for the most recent price, the most recent timestamp for the price is used.
- - `sale`: The timeframe ends at the start of current `contextId` and takes the prices prior to the start of the `contextId` into account.
+ - `price`: The timeframe ends at the start of current price value and takes the prices prior to the start of the current price value into account.
+ - `sale`: The timeframe ends at the start of current `contextId` and takes the prices prior to the start of the `contextId` into account.
enum:
- strict
- price
@@ -37441,9 +38694,9 @@ components:
$ref: '#/components/schemas/BestPriorTarget'
required:
- skus
- - strictEndDate
- timeframe
- timeframeEndDate
+ - timeframeEndDateType
type: object
InfluencingCampaignDetails:
description: Details about a campaign that influenced the final price.
@@ -38126,8 +39379,10 @@ components:
- referenceId
type: object
AddPriceAdjustmentCatalogAction:
- description: |
- The specific properties of the "ADD_PRICE_ADJUSTMENT" catalog sync action.
+ description: "The specific properties of the \"ADD_PRICE_ADJUSTMENT\" catalog\
+ \ sync action.\n \n**Note:** You can only use this object if the `Beta`\
+ \ **price types** feature is enabled for your Application.\nTo enable it,\
+ \ contact your Technical Account Manager.\n"
properties:
sku:
description: The SKU of the item for which the price is being adjusted.
@@ -40217,6 +41472,15 @@ components:
- logicalOperations
- name
type: object
+ RolesV2Thresholds:
+ properties:
+ loyaltyPointsLimit:
+ description: Maximum number of loyalty points a support user can award without
+ approval.
+ example: 100
+ format: int64
+ type: integer
+ type: object
RoleV2ApplicationDetails:
properties:
application:
@@ -40234,6 +41498,8 @@ components:
description: Name of the tools-related permission set.
example: Tools permission set
type: string
+ thresholds:
+ $ref: '#/components/schemas/RolesV2Thresholds'
type: object
RoleV2Application:
additionalProperties:
@@ -41060,6 +42326,124 @@ components:
- key
- name
type: object
+ CreateMCPKey:
+ properties:
+ name:
+ description: Name for the MCP key.
+ example: My MCP key
+ type: string
+ expiryDate:
+ description: The date the MCP key expires.
+ example: 2026-08-24T14:00:00Z
+ format: date-time
+ type: string
+ required:
+ - expiryDate
+ - name
+ type: object
+ MCPKey:
+ properties:
+ name:
+ description: Name for the MCP key.
+ example: My MCP key
+ type: string
+ expiryDate:
+ description: The date the MCP key expires.
+ example: 2026-08-24T14:00:00Z
+ format: date-time
+ type: string
+ id:
+ description: ID of the MCP key.
+ example: 34
+ format: int64
+ type: integer
+ createdBy:
+ description: ID of the user who created it.
+ example: 280
+ format: int64
+ type: integer
+ accountID:
+ description: ID of account the key is used for.
+ example: 13
+ format: int64
+ type: integer
+ created:
+ description: The date the MCP key was created.
+ example: 2026-03-02T16:46:17.758585Z
+ format: date-time
+ type: string
+ disabled:
+ description: The MCP key is disabled (this property is set to `true`) when
+ the user who created the key is disabled or deleted.
+ example: true
+ type: boolean
+ lastUsed:
+ description: The last time the MCP key was used.
+ example: 2026-03-02T16:46:17.758585Z
+ format: date-time
+ type: string
+ required:
+ - accountID
+ - created
+ - createdBy
+ - expiryDate
+ - id
+ - name
+ type: object
+ NewMCPKey:
+ properties:
+ name:
+ description: Name for the MCP key.
+ example: My MCP key
+ type: string
+ expiryDate:
+ description: The date the MCP key expires.
+ example: 2026-08-24T14:00:00Z
+ format: date-time
+ type: string
+ id:
+ description: ID of the MCP key.
+ example: 34
+ format: int64
+ type: integer
+ createdBy:
+ description: ID of the user who created it.
+ example: 280
+ format: int64
+ type: integer
+ accountID:
+ description: ID of account the key is used for.
+ example: 13
+ format: int64
+ type: integer
+ created:
+ description: The date the MCP key was created.
+ example: 2026-03-02T16:46:17.758585Z
+ format: date-time
+ type: string
+ disabled:
+ description: The MCP key is disabled (this property is set to `true`) when
+ the user who created the key is disabled or deleted.
+ example: true
+ type: boolean
+ lastUsed:
+ description: The last time the MCP key was used.
+ example: 2026-03-02T16:46:17.758585Z
+ format: date-time
+ type: string
+ key:
+ description: The generated MCP key. Only returned once on creation.
+ example: f45f90d21dcd9bac965c45e547e9754a3196891d09948e35adbcbedc4e9e4b01
+ type: string
+ required:
+ - accountID
+ - created
+ - createdBy
+ - expiryDate
+ - id
+ - key
+ - name
+ type: object
NewValueMap:
type: object
ValueMap:
@@ -41322,6 +42706,26 @@ components:
type: array
type: object
ApplicationCIFExpression:
+ example:
+ expression:
+ expr:
+ - filter
+ - - "."
+ - Session
+ - CartItems
+ - - - Item
+ - - catch
+ - false
+ - - =
+ - - "."
+ - Item
+ - Category
+ - Kitchen
+ cartItemFilterId: 216
+ createdBy: 216
+ created: 2020-06-10T09:05:27.993483Z
+ id: 6
+ applicationId: 322
properties:
id:
description: The internal ID of this entity.
@@ -41847,6 +43251,612 @@ components:
example: false
type: boolean
type: object
+ AchievementBaseV2:
+ properties:
+ name:
+ description: |
+ The internal name of the achievement used in API requests.
+
+ **Note**: The name should start with a letter. This cannot be changed after the achievement has been created.
+ example: Order50Discount
+ maxLength: 1000
+ minLength: 1
+ pattern: ^[a-zA-Z]\w+$
+ type: string
+ title:
+ description: The display name for the achievement in the Campaign Manager.
+ example: 50% off on 50th purchase.
+ type: string
+ description:
+ description: A description of the achievement.
+ example: 50% off for every 50th purchase in a year.
+ format: string
+ type: string
+ target:
+ description: The required number of actions or the transactional milestone
+ to complete the achievement.
+ example: 50.0
+ type: number
+ period:
+ description: |
+ The relative duration after which the achievement ends and resets for a particular customer profile.
+
+ **Note**: The `period` does not start when the achievement is created.
+
+ The period is a **positive real number** followed by one letter indicating the time unit.
+
+ Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`.
+
+ Available units:
+
+ - `s`: seconds
+ - `m`: minutes
+ - `h`: hours
+ - `D`: days
+ - `W`: weeks
+ - `M`: months
+ - `Y`: years
+
+ You can also round certain units down to the beginning of period and up to the end of period.:
+ - `_D` for rounding down days only. Signifies the start of the day.
+ Example: `30D_D`
+ - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year.
+ Example: `23W_U`
+
+ **Note**: You can either use the round down and round up option or set an absolute period.
+ example: 1Y
+ type: string
+ recurrencePolicy:
+ description: |
+ The policy that determines if and how the achievement recurs.
+ - `no_recurrence`: The achievement can be completed only once.
+ - `on_expiration`: The achievement resets after it expires and becomes available again.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
+ enum:
+ - no_recurrence
+ - on_expiration
+ - on_completion
+ example: no_recurrence
+ type: string
+ activationPolicy:
+ description: |
+ The policy that determines how the achievement starts, ends, or resets.
+ - `user_action`: The achievement ends or resets relative to when the customer started the achievement.
+ - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule.
+ enum:
+ - user_action
+ - fixed_schedule
+ example: fixed_schedule
+ type: string
+ fixedStartDate:
+ description: |
+ The achievement's start date when `activationPolicy` is set to `fixed_schedule`.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ endDate:
+ description: |
+ The achievement's end date. If defined, customers cannot participate in the achievement after this date.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ allowRollbackAfterCompletion:
+ description: When `true`, customer progress can be rolled back in completed
+ achievements.
+ example: false
+ type: boolean
+ sandbox:
+ description: Indicates if this achievement is a live or sandbox achievement.
+ Achievements of a given type can only be connected to Applications of
+ the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ subscribedApplications:
+ description: A list containing the IDs of all applications that are subscribed
+ to A list containing the IDs of all Applications that are connected to
+ this achievement.
+ example:
+ - 132
+ - 97
+ items:
+ format: int64
+ type: integer
+ minItems: 0
+ type: array
+ timezone:
+ description: A string containing an IANA timezone descriptor.
+ example: Europe/Berlin
+ minLength: 1
+ type: string
+ type: object
+ AchievementAdditionalPropertiesV2:
+ properties:
+ userId:
+ description: The ID of the user that created this achievement.
+ example: 1234
+ format: int64
+ type: integer
+ createdBy:
+ description: |
+ Name of the user that created the achievement.
+
+ **Note**: This is not available if the user has been deleted.
+ example: John Doe
+ type: string
+ hasProgress:
+ description: Indicates if a customer has made progress in the achievement.
+ type: boolean
+ status:
+ description: The status of the achievement.
+ enum:
+ - inprogress
+ - expired
+ - not_started
+ - completed
+ example: inprogress
+ type: string
+ required:
+ - userId
+ type: object
+ AchievementV2:
+ properties:
+ id:
+ description: The internal ID of this entity.
+ example: 6
+ format: int64
+ type: integer
+ created:
+ description: The time this entity was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ name:
+ description: |
+ The internal name of the achievement used in API requests.
+
+ **Note**: The name should start with a letter. This cannot be changed after the achievement has been created.
+ example: Order50Discount
+ maxLength: 1000
+ minLength: 1
+ pattern: ^[a-zA-Z]\w+$
+ type: string
+ title:
+ description: The display name for the achievement in the Campaign Manager.
+ example: 50% off on 50th purchase.
+ type: string
+ description:
+ description: A description of the achievement.
+ example: 50% off for every 50th purchase in a year.
+ format: string
+ type: string
+ target:
+ description: The required number of actions or the transactional milestone
+ to complete the achievement.
+ example: 50.0
+ type: number
+ period:
+ description: |
+ The relative duration after which the achievement ends and resets for a particular customer profile.
+
+ **Note**: The `period` does not start when the achievement is created.
+
+ The period is a **positive real number** followed by one letter indicating the time unit.
+
+ Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`.
+
+ Available units:
+
+ - `s`: seconds
+ - `m`: minutes
+ - `h`: hours
+ - `D`: days
+ - `W`: weeks
+ - `M`: months
+ - `Y`: years
+
+ You can also round certain units down to the beginning of period and up to the end of period.:
+ - `_D` for rounding down days only. Signifies the start of the day.
+ Example: `30D_D`
+ - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year.
+ Example: `23W_U`
+
+ **Note**: You can either use the round down and round up option or set an absolute period.
+ example: 1Y
+ type: string
+ recurrencePolicy:
+ description: |
+ The policy that determines if and how the achievement recurs.
+ - `no_recurrence`: The achievement can be completed only once.
+ - `on_expiration`: The achievement resets after it expires and becomes available again.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
+ enum:
+ - no_recurrence
+ - on_expiration
+ - on_completion
+ example: no_recurrence
+ type: string
+ activationPolicy:
+ description: |
+ The policy that determines how the achievement starts, ends, or resets.
+ - `user_action`: The achievement ends or resets relative to when the customer started the achievement.
+ - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule.
+ enum:
+ - user_action
+ - fixed_schedule
+ example: fixed_schedule
+ type: string
+ fixedStartDate:
+ description: |
+ The achievement's start date when `activationPolicy` is set to `fixed_schedule`.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ endDate:
+ description: |
+ The achievement's end date. If defined, customers cannot participate in the achievement after this date.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ allowRollbackAfterCompletion:
+ description: When `true`, customer progress can be rolled back in completed
+ achievements.
+ example: false
+ type: boolean
+ sandbox:
+ description: Indicates if this achievement is a live or sandbox achievement.
+ Achievements of a given type can only be connected to Applications of
+ the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ subscribedApplications:
+ description: A list containing the IDs of all applications that are subscribed
+ to A list containing the IDs of all Applications that are connected to
+ this achievement.
+ example:
+ - 132
+ - 97
+ items:
+ format: int64
+ type: integer
+ minItems: 0
+ type: array
+ timezone:
+ description: A string containing an IANA timezone descriptor.
+ example: Europe/Berlin
+ minLength: 1
+ type: string
+ userId:
+ description: The ID of the user that created this achievement.
+ example: 1234
+ format: int64
+ type: integer
+ createdBy:
+ description: |
+ Name of the user that created the achievement.
+
+ **Note**: This is not available if the user has been deleted.
+ example: John Doe
+ type: string
+ hasProgress:
+ description: Indicates if a customer has made progress in the achievement.
+ type: boolean
+ status:
+ description: The status of the achievement.
+ enum:
+ - inprogress
+ - expired
+ - not_started
+ - completed
+ example: inprogress
+ type: string
+ required:
+ - activationPolicy
+ - created
+ - description
+ - id
+ - name
+ - recurrencePolicy
+ - sandbox
+ - subscribedApplications
+ - target
+ - timezone
+ - title
+ - userId
+ type: object
+ CreateAchievementV2:
+ properties:
+ name:
+ description: |
+ The internal name of the achievement used in API requests.
+
+ **Note**: The name should start with a letter. This cannot be changed after the achievement has been created.
+ example: Order50Discount
+ maxLength: 1000
+ minLength: 1
+ pattern: ^[a-zA-Z]\w+$
+ type: string
+ title:
+ description: The display name for the achievement in the Campaign Manager.
+ example: 50% off on 50th purchase.
+ type: string
+ description:
+ description: A description of the achievement.
+ example: 50% off for every 50th purchase in a year.
+ format: string
+ type: string
+ target:
+ description: The required number of actions or the transactional milestone
+ to complete the achievement.
+ example: 50.0
+ type: number
+ period:
+ description: |
+ The relative duration after which the achievement ends and resets for a particular customer profile.
+
+ **Note**: The `period` does not start when the achievement is created.
+
+ The period is a **positive real number** followed by one letter indicating the time unit.
+
+ Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`.
+
+ Available units:
+
+ - `s`: seconds
+ - `m`: minutes
+ - `h`: hours
+ - `D`: days
+ - `W`: weeks
+ - `M`: months
+ - `Y`: years
+
+ You can also round certain units down to the beginning of period and up to the end of period.:
+ - `_D` for rounding down days only. Signifies the start of the day.
+ Example: `30D_D`
+ - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year.
+ Example: `23W_U`
+
+ **Note**: You can either use the round down and round up option or set an absolute period.
+ example: 1Y
+ type: string
+ recurrencePolicy:
+ description: |
+ The policy that determines if and how the achievement recurs.
+ - `no_recurrence`: The achievement can be completed only once.
+ - `on_expiration`: The achievement resets after it expires and becomes available again.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
+ enum:
+ - no_recurrence
+ - on_expiration
+ - on_completion
+ example: no_recurrence
+ type: string
+ activationPolicy:
+ description: |
+ The policy that determines how the achievement starts, ends, or resets.
+ - `user_action`: The achievement ends or resets relative to when the customer started the achievement.
+ - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule.
+ enum:
+ - user_action
+ - fixed_schedule
+ example: fixed_schedule
+ type: string
+ fixedStartDate:
+ description: |
+ The achievement's start date when `activationPolicy` is set to `fixed_schedule`.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ endDate:
+ description: |
+ The achievement's end date. If defined, customers cannot participate in the achievement after this date.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ allowRollbackAfterCompletion:
+ description: When `true`, customer progress can be rolled back in completed
+ achievements.
+ example: false
+ type: boolean
+ sandbox:
+ description: Indicates if this achievement is a live or sandbox achievement.
+ Achievements of a given type can only be connected to Applications of
+ the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ subscribedApplications:
+ description: A list containing the IDs of all applications that are subscribed
+ to A list containing the IDs of all Applications that are connected to
+ this achievement.
+ example:
+ - 132
+ - 97
+ items:
+ format: int64
+ type: integer
+ minItems: 0
+ type: array
+ timezone:
+ description: A string containing an IANA timezone descriptor.
+ example: Europe/Berlin
+ minLength: 1
+ type: string
+ required:
+ - description
+ - name
+ - sandbox
+ - target
+ - timezone
+ - title
+ type: object
+ UpdateAchievementV2:
+ properties:
+ name:
+ description: |
+ The internal name of the achievement used in API requests.
+
+ **Note**: The name should start with a letter. This cannot be changed after the achievement has been created.
+ example: Order50Discount
+ maxLength: 1000
+ minLength: 1
+ pattern: ^[a-zA-Z]\w+$
+ type: string
+ title:
+ description: The display name for the achievement in the Campaign Manager.
+ example: 50% off on 50th purchase.
+ type: string
+ description:
+ description: A description of the achievement.
+ example: 50% off for every 50th purchase in a year.
+ format: string
+ type: string
+ target:
+ description: The required number of actions or the transactional milestone
+ to complete the achievement.
+ example: 50.0
+ type: number
+ period:
+ description: |
+ The relative duration after which the achievement ends and resets for a particular customer profile.
+
+ **Note**: The `period` does not start when the achievement is created.
+
+ The period is a **positive real number** followed by one letter indicating the time unit.
+
+ Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`.
+
+ Available units:
+
+ - `s`: seconds
+ - `m`: minutes
+ - `h`: hours
+ - `D`: days
+ - `W`: weeks
+ - `M`: months
+ - `Y`: years
+
+ You can also round certain units down to the beginning of period and up to the end of period.:
+ - `_D` for rounding down days only. Signifies the start of the day.
+ Example: `30D_D`
+ - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year.
+ Example: `23W_U`
+
+ **Note**: You can either use the round down and round up option or set an absolute period.
+ example: 1Y
+ type: string
+ recurrencePolicy:
+ description: |
+ The policy that determines if and how the achievement recurs.
+ - `no_recurrence`: The achievement can be completed only once.
+ - `on_expiration`: The achievement resets after it expires and becomes available again.
+ - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
+ enum:
+ - no_recurrence
+ - on_expiration
+ - on_completion
+ example: no_recurrence
+ type: string
+ activationPolicy:
+ description: |
+ The policy that determines how the achievement starts, ends, or resets.
+ - `user_action`: The achievement ends or resets relative to when the customer started the achievement.
+ - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule.
+ enum:
+ - user_action
+ - fixed_schedule
+ example: fixed_schedule
+ type: string
+ fixedStartDate:
+ description: |
+ The achievement's start date when `activationPolicy` is set to `fixed_schedule`.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ endDate:
+ description: |
+ The achievement's end date. If defined, customers cannot participate in the achievement after this date.
+
+ **Note:** It must be an RFC3339 timestamp string.
+ example: 2024-01-15T15:04:05+07:00
+ format: date-time
+ type: string
+ allowRollbackAfterCompletion:
+ description: When `true`, customer progress can be rolled back in completed
+ achievements.
+ example: false
+ type: boolean
+ sandbox:
+ description: Indicates if this achievement is a live or sandbox achievement.
+ Achievements of a given type can only be connected to Applications of
+ the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ subscribedApplications:
+ description: A list containing the IDs of all applications that are subscribed
+ to A list containing the IDs of all Applications that are connected to
+ this achievement.
+ example:
+ - 132
+ - 97
+ items:
+ format: int64
+ type: integer
+ minItems: 0
+ type: array
+ timezone:
+ description: A string containing an IANA timezone descriptor.
+ example: Europe/Berlin
+ minLength: 1
+ type: string
+ type: object
+ AchievementReference:
+ properties:
+ achievementId:
+ description: The ID of the achievement. You can get this ID with the [List
+ achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievementsV2)
+ endpoint.
+ example: 12
+ format: int64
+ type: integer
+ applicationId:
+ description: The ID of the Application associated with the campaign that
+ references this achievement.
+ example: 101
+ format: int64
+ type: integer
+ applicationName:
+ description: The name of the Application associated with the campaign that
+ references this achievement.
+ example: North America Storefront
+ type: string
+ campaignId:
+ description: The ID of the campaign that references this achievement.
+ example: 4501
+ format: int64
+ type: integer
+ required:
+ - achievementId
+ - applicationId
+ - applicationName
+ - campaignId
+ type: object
AnalyticsDataPoint:
properties:
total:
@@ -42390,31 +44400,31 @@ components:
- name
- summary
type: object
- PrismaticFlowConfigResponse:
+ IntegrationHubFlowConfigResponse:
properties:
WorkerCount:
- description: Number of Prismatic workers to run in parallel for this flow
- (maximum 500).
+ description: Number of IntegrationHub workers to run in parallel for this
+ flow (maximum 500).
format: int64
maximum: 5E+2
minimum: 1
type: integer
MaxEventsPerMessage:
- description: Maximum number of events to send in a single message to Prismatic.
+ description: Maximum number of events to send in a single message to IntegrationHub.
format: int64
minimum: 1
type: integer
MaxRetries:
- description: Maximum number of retries for a Prismatic event before it is
- ignored.
+ description: Maximum number of retries for a IntegrationHub event before
+ it is ignored.
format: int64
minimum: 0
type: integer
type: object
- PrismaticFlowResponse:
+ IntegrationHubFlowResponse:
properties:
Id:
- description: ID of the prismatic flow.
+ description: ID of the integration hub flow.
format: int64
type: integer
ApplicationID:
@@ -42425,48 +44435,48 @@ components:
EventType:
description: The event type we want to register a flow for.
type: string
- x-fieldType: PrismaticEventType
- PrismaticFlowUrl:
- description: The URL of the prismatic flow that we want to trigger for the
- event.
+ x-fieldType: IntegrationHubEventType
+ IntegrationHubFlowUrl:
+ description: The URL of the integration hub flow that we want to trigger
+ for the event.
type: string
Config:
- $ref: '#/components/schemas/PrismaticFlowConfigResponse'
+ $ref: '#/components/schemas/IntegrationHubFlowConfigResponse'
required:
- Config
- EventType
- Id
- - PrismaticFlowUrl
+ - IntegrationHubFlowUrl
type: object
- PrismaticFlowConfig:
+ IntegrationHubFlowConfig:
properties:
ApiKey:
type: string
WorkerCount:
default: 10
- description: Number of Prismatic workers to run in parallel for this flow
- (maximum 500).
+ description: Number of IntegrationHub workers to run in parallel for this
+ flow (maximum 500).
format: int64
maximum: 5E+2
minimum: 1
type: integer
MaxEventsPerMessage:
default: 1000
- description: Maximum number of events to send in a single message to Prismatic.
+ description: Maximum number of events to send in a single message to IntegrationHub.
format: int64
minimum: 1
type: integer
MaxRetries:
default: 10
- description: Maximum number of retries for a Prismatic event before it is
- ignored.
+ description: Maximum number of retries for a IntegrationHub event before
+ it is ignored.
format: int64
minimum: 0
type: integer
required:
- ApiKey
type: object
- PrismaticFlowWithConfig:
+ IntegrationHubFlowWithConfig:
properties:
ApplicationID:
description: ID of application the flow is registered for.
@@ -42476,19 +44486,19 @@ components:
EventType:
description: The event type we want to register a flow for.
type: string
- x-fieldType: PrismaticEventType
- PrismaticFlowUrl:
- description: The URL of the prismatic flow that we want to trigger for the
- event.
+ x-fieldType: IntegrationHubEventType
+ IntegrationHubFlowUrl:
+ description: The URL of the integration hub flow that we want to trigger
+ for the event.
type: string
Config:
- $ref: '#/components/schemas/PrismaticFlowConfig'
+ $ref: '#/components/schemas/IntegrationHubFlowConfig'
required:
- Config
- EventType
- - PrismaticFlowUrl
+ - IntegrationHubFlowUrl
type: object
- PrismaticFlow:
+ IntegrationHubFlow:
properties:
ApplicationID:
description: ID of application the flow is registered for.
@@ -42498,16 +44508,16 @@ components:
EventType:
description: The event type we want to register a flow for.
type: string
- x-fieldType: PrismaticEventType
- PrismaticFlowUrl:
- description: The URL of the prismatic flow that we want to trigger for the
- event.
+ x-fieldType: IntegrationHubEventType
+ IntegrationHubFlowUrl:
+ description: The URL of the integration hub flow that we want to trigger
+ for the event.
type: string
required:
- EventType
- - PrismaticFlowUrl
+ - IntegrationHubFlowUrl
type: object
- PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction:
+ IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction:
properties:
Amount:
format: float
@@ -42517,7 +44527,7 @@ components:
Operation:
enum:
- addition
- - deduction
+ - subtraction
type: string
StartDate:
format: date-time
@@ -42525,11 +44535,16 @@ components:
ExpiryDate:
format: date-time
type: string
+ TransactionUUID:
+ description: The identifier of the transaction in the loyalty ledger.
+ format: uuid
+ type: string
required:
- Amount
- Operation
+ - TransactionUUID
type: object
- PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotification:
+ IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification:
properties:
ProfileIntegrationID:
type: string
@@ -42550,7 +44565,7 @@ components:
type: number
Actions:
items:
- $ref: '#/components/schemas/PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction'
+ $ref: '#/components/schemas/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction'
type: array
PublishedAt:
description: Timestamp when the event was published.
@@ -42566,7 +44581,7 @@ components:
type: object
x-discriminator-value: LoyaltyPointsChanged
x-ms-discriminator-value: LoyaltyPointsChanged
- PrismaticEventPayloadLoyaltyProfileBasedTierDowngradeNotification:
+ IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification:
properties:
ProfileIntegrationID:
type: string
@@ -42604,7 +44619,7 @@ components:
type: object
x-discriminator-value: LoyaltyTierDowngrade
x-ms-discriminator-value: LoyaltyTierDowngrade
- PrismaticEventPayloadLoyaltyProfileBasedTierUpgradeNotification:
+ IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification:
properties:
ProfileIntegrationID:
type: string
@@ -42647,7 +44662,7 @@ components:
type: object
x-discriminator-value: LoyaltyTierUpgrade
x-ms-discriminator-value: LoyaltyTierUpgrade
- PrismaticEventPayloadLoyaltyProfileBasedNotification:
+ IntegrationHubEventPayloadLoyaltyProfileBasedNotification:
properties:
ProfileIntegrationID:
type: string
@@ -42668,7 +44683,7 @@ components:
type: number
Actions:
items:
- $ref: '#/components/schemas/PrismaticEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction'
+ $ref: '#/components/schemas/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction'
type: array
PublishedAt:
description: Timestamp when the event was published.
@@ -42697,7 +44712,7 @@ components:
- SourceOfEvent
- SubledgerID
type: object
- PrismaticEventPayloadCouponBasedNotificationsLimits:
+ IntegrationHubEventPayloadCouponBasedNotificationsLimits:
properties:
Action:
type: string
@@ -42715,7 +44730,7 @@ components:
- Entities
- Limit
type: object
- PrismaticEventPayloadCouponBasedNotifications:
+ IntegrationHubEventPayloadCouponBasedNotifications:
properties:
Id:
format: int64
@@ -42767,7 +44782,7 @@ components:
type: object
Limits:
items:
- $ref: '#/components/schemas/PrismaticEventPayloadCouponBasedNotificationsLimits'
+ $ref: '#/components/schemas/IntegrationHubEventPayloadCouponBasedNotificationsLimits'
type: array
PublishedAt:
description: Timestamp when the event was published.
@@ -42790,7 +44805,7 @@ components:
type: object
x-discriminator-value: CouponDeleted
x-ms-discriminator-value: CouponDeleted
- PrismaticEventRecord:
+ IntegrationHubEventRecord:
properties:
Id:
format: int64
@@ -42800,7 +44815,7 @@ components:
type: integer
EventType:
type: string
- x-fieldType: PrismaticEventType
+ x-fieldType: IntegrationHubEventType
EventData:
type: object
PublishedAt:
@@ -42824,12 +44839,12 @@ components:
- PublishedAt
- Retry
type: object
- PrismaticConfig:
- description: Config used for accessing integrations in Prismatic
+ IntegrationHubConfig:
+ description: Config used for accessing integrations in IntegrationHub
properties:
- prismaticUrl:
- description: The url used to integrate the Prismatic Marketplace.
- example: https://app.eu-west-1.prismatic.io/
+ integrationHubUrl:
+ description: The url used to integrate the IntegrationHub Marketplace.
+ example: https://hub.talon.farm/
type: string
accessToken:
description: Access token used to authenticate a user in Talon.One.
@@ -42837,7 +44852,7 @@ components:
type: string
required:
- accessToken
- - prismaticUrl
+ - integrationHubUrl
type: object
CouponWithApplication:
properties:
@@ -43000,6 +45015,110 @@ components:
- usageLimit
- value
type: object
+ NewReward:
+ properties:
+ name:
+ description: The name of the reward.
+ example: Free Coffee
+ minLength: 1
+ type: string
+ apiName:
+ description: A unique identifier used to reference the reward in API integrations.
+ example: free-coffee
+ minLength: 1
+ type: string
+ description:
+ description: A description of the reward.
+ example: This reward gets you one free coffee.
+ type: string
+ applicationIds:
+ description: "The IDs of the Applications this reward is connected to. \n\
+ \n**Note**: Currently, a reward can only be connected to one Application.\n"
+ example:
+ - 1
+ - 2
+ - 3
+ items:
+ format: int64
+ type: integer
+ type: array
+ sandbox:
+ description: Indicates if this is a live or sandbox reward. Rewards of a
+ given type can only be connected to Applications of the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ required:
+ - apiName
+ - applicationIds
+ - name
+ - sandbox
+ type: object
+ Reward:
+ properties:
+ id:
+ description: The internal ID of this entity.
+ example: 6
+ format: int64
+ type: integer
+ created:
+ description: The time this entity was created.
+ example: 2020-06-10T09:05:27.993483Z
+ format: date-time
+ type: string
+ accountId:
+ description: The ID of the account that owns this entity.
+ example: 3886
+ format: int64
+ type: integer
+ name:
+ description: The name of the reward.
+ example: Free Coffee
+ minLength: 1
+ type: string
+ apiName:
+ description: A unique identifier used to reference the reward in API integrations.
+ example: free-coffee
+ minLength: 1
+ type: string
+ description:
+ description: A description of the reward.
+ example: This reward gets you one free coffee.
+ type: string
+ applicationIds:
+ description: "The IDs of the Applications this reward is connected to. \n\
+ \n**Note**: Currently, a reward can only be connected to one Application.\n"
+ example:
+ - 1
+ - 2
+ - 3
+ items:
+ format: int64
+ type: integer
+ type: array
+ sandbox:
+ description: Indicates if this is a live or sandbox reward. Rewards of a
+ given type can only be connected to Applications of the same type.
+ example: true
+ title: Sandbox
+ type: boolean
+ status:
+ description: The status of the reward.
+ enum:
+ - active
+ - inactive
+ example: active
+ type: string
+ required:
+ - accountId
+ - apiName
+ - applicationIds
+ - created
+ - id
+ - name
+ - sandbox
+ - status
+ type: object
IntegrationEventV3Request:
properties:
profileId:
@@ -43138,6 +45257,27 @@ components:
- createdReferrals
- effects
type: object
+ EmbeddedDashboardConfiguration:
+ properties:
+ workspaceId:
+ description: The ID of the workspace that contains dashboards.
+ example: main_workspace
+ type: string
+ dashboardId:
+ description: The ID of the dashboard that contains metrics.
+ example: campaign_insights_metrics
+ type: string
+ required:
+ - dashboardId
+ - workspaceId
+ type: object
+ EmbeddedAnalyticsConfiguration:
+ properties:
+ dashboards:
+ $ref: '#/components/schemas/EmbeddedAnalyticsConfiguration_dashboards'
+ required:
+ - dashboards
+ type: object
CampaignNotificationBase:
properties:
NotificationType:
@@ -44060,7 +46200,8 @@ components:
example: sub-123
type: string
CardIdentifier:
- description: The alphanumeric identifier of the loyalty card.
+ description: |
+ The identifier of the loyalty card, `which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
example: summer-loyalty-card-0543
type: string
UsersPerCardLimit:
@@ -44170,10 +46311,10 @@ components:
format: date-time
type: string
Operation:
- description: The action (addition or deduction) made with loyalty points.
+ description: The action (addition or subtraction) made with loyalty points.
enum:
- addition
- - deduction
+ - subtraction
type: string
Reason:
description: The reason for the points addition or deduction.
@@ -44184,6 +46325,10 @@ components:
example: 2023-01-24T14:15:22Z
format: date-time
type: string
+ TransactionUUID:
+ description: The identifier of the transaction in the loyalty ledger.
+ format: uuid
+ type: string
required:
- Amount
- EmployeeName
@@ -44194,6 +46339,7 @@ components:
- Reason
- SessionIntegrationID
- SubledgerID
+ - TransactionUUID
- TypeOfChange
- UserID
type: object
@@ -44208,10 +46354,10 @@ components:
example: Compensation
type: string
Operation:
- description: The action (addition or deduction) made with loyalty points.
+ description: The action (addition or subtraction) made with loyalty points.
enum:
- addition
- - deduction
+ - subtraction
type: string
StartDate:
description: The start date for loyalty points.
@@ -44223,10 +46369,15 @@ components:
example: 2024-01-24T14:15:22Z
format: date-time
type: string
+ TransactionUUID:
+ description: The identifier of the transaction in the loyalty ledger.
+ format: uuid
+ type: string
required:
- Amount
- Operation
- Reason
+ - TransactionUUID
type: object
AddedDeductedPointsBalancesNotification:
properties:
@@ -44466,116 +46617,202 @@ components:
example: Silver
type: string
CurrentPoints:
- description: The number of points the customer had at the time of tier downgrade.
+ description: The number of points the customer had at the time of tier downgrade.
+ example: 120.55
+ type: number
+ OldTier:
+ description: The name of the customer's previous tier.
+ example: Gold
+ type: string
+ TierExpirationDate:
+ description: The exact date and time the tier expires.
+ example: 2023-12-01T12:23:00+02:00
+ format: date-time
+ type: string
+ TimestampOfTierChange:
+ description: The exact date and time the tier was changed.
+ example: 2023-10-26T12:23:00+02:00
+ format: date-time
+ type: string
+ required:
+ - CurrentPoints
+ - CustomerProfileID
+ - LoyaltyProgramID
+ - OldTier
+ - SubledgerID
+ - TimestampOfTierChange
+ type: object
+ TierDowngradeNotification:
+ properties:
+ TotalResultSize:
+ example: 1
+ format: int64
+ type: integer
+ Data:
+ description: The array of tier downgrade notifications.
+ items:
+ $ref: '#/components/schemas/TierDowngradeData'
+ type: array
+ NotificationType:
+ description: The type of notification.
+ enum:
+ - TierDowngrade
+ type: string
+ required:
+ - Data
+ - NotificationType
+ - TotalResultSize
+ type: object
+ TierWillDowngradeData:
+ properties:
+ CustomerProfileID:
+ description: The integration ID of the customer profile whose tier was downgraded.
+ example: URNGV8294NV
+ type: string
+ LoyaltyProgramID:
+ description: The ID of the loyalty program.
+ example: 5
+ format: int64
+ minimum: 1
+ type: integer
+ SubledgerID:
+ default: ""
+ description: The ID of the subledger, when applicable. If this field is
+ empty, the main ledger is used.
+ example: SL001
+ type: string
+ CurrentTier:
+ description: The name of the customer's current tier.
+ example: Silver
+ type: string
+ CurrentPoints:
+ description: The number of points the customer will have after the tier
+ downgrade.
example: 120.55
type: number
- OldTier:
- description: The name of the customer's previous tier.
- example: Gold
+ PointsRequiredToRemain:
+ description: The number of points needed for a customer to remain on the
+ same tier.
+ example: 23.51
+ type: number
+ NextTier:
+ description: The name of the customer's next tier.
+ example: Bronze
type: string
TierExpirationDate:
- description: The exact date and time the tier expires.
+ description: The date and time the tier expires.
example: 2023-12-01T12:23:00+02:00
format: date-time
type: string
- TimestampOfTierChange:
- description: The exact date and time the tier was changed.
- example: 2023-10-26T12:23:00+02:00
- format: date-time
- type: string
required:
- CurrentPoints
+ - CurrentTier
- CustomerProfileID
- LoyaltyProgramID
- - OldTier
+ - PointsRequiredToRemain
- SubledgerID
- - TimestampOfTierChange
type: object
- TierDowngradeNotification:
+ TierWillDowngradeNotification:
properties:
TotalResultSize:
example: 1
format: int64
type: integer
Data:
- description: The array of tier downgrade notifications.
+ description: The array of upcoming tier downgrade notifications.
items:
- $ref: '#/components/schemas/TierDowngradeData'
+ $ref: '#/components/schemas/TierWillDowngradeData'
type: array
NotificationType:
description: The type of notification.
enum:
- - TierDowngrade
+ - TierWillDowngrade
type: string
required:
- Data
- NotificationType
- TotalResultSize
type: object
- TierWillDowngradeData:
+ GiveawayPoolNotificationData:
properties:
- CustomerProfileID:
- description: The integration ID of the customer profile whose tier was downgraded.
- example: URNGV8294NV
+ Event:
+ description: The event type of the notification.
+ example: giveaway_codes_low
type: string
- LoyaltyProgramID:
- description: The ID of the loyalty program.
+ PoolId:
+ description: The ID of the giveaway pool.
example: 5
format: int64
minimum: 1
type: integer
- SubledgerID:
- default: ""
- description: The ID of the subledger, when applicable. If this field is
- empty, the main ledger is used.
- example: SL001
- type: string
- CurrentTier:
- description: The name of the customer's current tier.
- example: Silver
+ PoolName:
+ description: The name of the giveaway pool.
+ example: Summer Giveaway
type: string
- CurrentPoints:
- description: The number of points the customer will have after the tier
- downgrade.
- example: 120.55
- type: number
- PointsRequiredToRemain:
- description: The number of points needed for a customer to remain on the
- same tier.
- example: 23.51
- type: number
- NextTier:
- description: The name of the customer's next tier.
- example: Bronze
- type: string
- TierExpirationDate:
- description: The date and time the tier expires.
- example: 2023-12-01T12:23:00+02:00
- format: date-time
+ PoolDescription:
+ description: The description of the giveaway pool.
+ example: Summer giveaway codes
type: string
+ AccountId:
+ description: The ID of the account that owns the giveaway pool.
+ example: 10
+ format: int64
+ minimum: 1
+ type: integer
+ ApplicationId:
+ description: The ID of the Application connected to the giveaway pool.
+ example: 42
+ format: int64
+ minimum: 1
+ type: integer
+ TotalCodes:
+ description: The total number of codes in the giveaway pool.
+ example: 1000
+ format: int64
+ type: integer
+ UsedCodes:
+ description: The number of codes that have been used.
+ example: 920
+ format: int64
+ type: integer
+ RemainingCodes:
+ description: The number of codes remaining in the giveaway pool.
+ example: 80
+ format: int64
+ type: integer
+ ThresholdPercent:
+ description: The percentage threshold for the notification. The notification
+ is triggered when the number of codes drops below this threshold.
+ example: 10
+ format: int64
+ type: integer
required:
- - CurrentPoints
- - CurrentTier
- - CustomerProfileID
- - LoyaltyProgramID
- - PointsRequiredToRemain
- - SubledgerID
+ - AccountId
+ - ApplicationId
+ - Event
+ - PoolDescription
+ - PoolId
+ - PoolName
+ - RemainingCodes
+ - ThresholdPercent
+ - TotalCodes
+ - UsedCodes
type: object
- TierWillDowngradeNotification:
+ GiveawayPoolNotification:
properties:
TotalResultSize:
example: 1
format: int64
type: integer
Data:
- description: The array of upcoming tier downgrade notifications.
+ description: The array of giveaway pool notifications.
items:
- $ref: '#/components/schemas/TierWillDowngradeData'
+ $ref: '#/components/schemas/GiveawayPoolNotificationData'
type: array
NotificationType:
description: The type of notification.
enum:
- - TierWillDowngrade
+ - GiveawayPoolNotification
type: string
required:
- Data
@@ -44744,10 +46981,10 @@ components:
format: date-time
type: string
Operation:
- description: The action (addition or deduction) made with loyalty points.
+ description: The action (addition or subtraction) made with loyalty points.
enum:
- addition
- - deduction
+ - subtraction
type: string
Reason:
description: The reason for the points addition or deduction.
@@ -44758,6 +46995,10 @@ components:
example: 2023-01-24T14:15:22Z
format: date-time
type: string
+ TransactionUUID:
+ description: The identifier of the transaction in the loyalty ledger.
+ format: uuid
+ type: string
required:
- Amount
- CardIdentifier
@@ -44769,6 +47010,7 @@ components:
- Reason
- SessionIntegrationID
- SubledgerID
+ - TransactionUUID
- TypeOfChange
- UserID
- UsersPerCardLimit
@@ -44888,6 +47130,46 @@ components:
- programId
- subLedgerId
type: object
+ inline_response_200:
+ example:
+ data:
+ - features:
+ - coupons
+ - referrals
+ name: Summer promotions
+ description: Campaign for all summer 2021 promotions
+ startTime: 2021-07-20T22:00:00Z
+ attributes: '{}'
+ id: 4
+ endTime: 2021-09-22T22:00:00Z
+ state: enabled
+ applicationId: 322
+ tags:
+ - summer
+ - features:
+ - coupons
+ - referrals
+ name: Summer promotions
+ description: Campaign for all summer 2021 promotions
+ startTime: 2021-07-20T22:00:00Z
+ attributes: '{}'
+ id: 4
+ endTime: 2021-09-22T22:00:00Z
+ state: enabled
+ applicationId: 322
+ tags:
+ - summer
+ hasMore: true
+ properties:
+ hasMore:
+ type: boolean
+ data:
+ items:
+ $ref: '#/components/schemas/IntegrationCampaign'
+ type: array
+ required:
+ - data
+ - hasMore
inline_response_201:
example:
data:
@@ -44932,7 +47214,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200:
+ inline_response_200_1:
example:
data:
- accountId: 31
@@ -44990,7 +47272,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_1:
+ inline_response_200_2:
example:
data:
- currentProgress:
@@ -45058,7 +47340,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_2:
+ inline_response_200_3:
example:
data:
- endDate: 2000-01-23T04:56:07.000+00:00
@@ -45084,7 +47366,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_3:
+ inline_response_200_4:
example:
data:
- rulesetId: 11
@@ -45129,7 +47411,7 @@ components:
required:
- data
- hasMore
- inline_response_200_4:
+ inline_response_200_5:
example:
data:
- rulesetId: 11
@@ -45176,7 +47458,7 @@ components:
required:
- data
- hasMore
- inline_response_200_5:
+ inline_response_200_6:
example:
data:
- expiryDate: 2022-08-02T15:04:05Z07:00
@@ -45215,7 +47497,7 @@ components:
required:
- data
- hasMore
- inline_response_200_6:
+ inline_response_200_7:
example:
data:
- expiryDate: 2022-08-02T15:04:05Z07:00
@@ -45252,7 +47534,7 @@ components:
required:
- data
- hasMore
- inline_response_200_7:
+ inline_response_200_8:
example:
data:
- enableFlattenedCartItems: true
@@ -45670,7 +47952,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_8:
+ inline_response_200_9:
example:
data:
- type: advanced
@@ -45724,6 +48006,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -45878,6 +48161,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -45994,7 +48278,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_9:
+ inline_response_200_10:
example:
data:
- rbVersion: v2
@@ -46352,7 +48636,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_10:
+ inline_response_200_11:
example:
data:
- recipientIntegrationId: URNGV8294NV
@@ -46432,7 +48716,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_11:
+ inline_response_200_12:
example:
data:
- recipientIntegrationId: URNGV8294NV
@@ -46511,7 +48795,7 @@ components:
required:
- data
- hasMore
- inline_response_200_12:
+ inline_response_200_13:
example:
data:
- code: 27G47Y54VH9L
@@ -46554,7 +48838,7 @@ components:
required:
- data
- hasMore
- inline_response_200_13:
+ inline_response_200_14:
example:
data:
- accountId: 3886
@@ -46600,7 +48884,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_14:
+ inline_response_200_15:
example:
data:
- instructions: Use this template for discount campaigns. Set the campaign
@@ -46899,7 +49183,7 @@ components:
required:
- data
- hasMore
- inline_response_200_15:
+ inline_response_200_16:
example:
data:
- deletedat: 2000-01-23T04:56:07.000+00:00
@@ -46956,6 +49240,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -47475,6 +49760,7 @@ components:
experimentId: 1
id: 4
state: enabled
+ couponAttributes: '{}'
reservecouponEffectCount: 9
updatedBy: Jane Doe
frontendState: running
@@ -47953,7 +50239,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_16:
+ inline_response_200_17:
example:
data:
- cardBased: true
@@ -48131,7 +50417,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_17:
+ inline_response_200_18:
example:
data:
- date: 2000-01-23T04:56:07.000+00:00
@@ -48175,7 +50461,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_18:
+ inline_response_200_19:
example:
data:
- rulesetId: 11
@@ -48234,11 +50520,12 @@ components:
required:
- data
- hasMore
- inline_response_200_19:
+ inline_response_200_20:
example:
data:
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -48265,6 +50552,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -48290,6 +50578,7 @@ components:
status: active
- ledger:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -48316,6 +50605,7 @@ components:
subledgers:
key:
pendingBalance: 10.0
+ nextTierName: Silver
negativeBalance: 10.0
currentBalance: 100.0
spentBalance: 0.0
@@ -48351,7 +50641,7 @@ components:
required:
- data
- hasMore
- inline_response_200_20:
+ inline_response_200_21:
example:
data:
- amount: 10.25
@@ -48396,7 +50686,7 @@ components:
required:
- data
- hasMore
- inline_response_200_21:
+ inline_response_200_22:
example:
data:
- accountId: 3886
@@ -48442,7 +50732,7 @@ components:
type: array
required:
- data
- inline_response_200_22:
+ inline_response_200_23:
example:
data:
- item: item
@@ -48458,7 +50748,7 @@ components:
required:
- data
- hasMore
- inline_response_200_23:
+ inline_response_200_24:
example:
data:
- method: PUT
@@ -48498,7 +50788,7 @@ components:
required:
- data
- hasMore
- inline_response_200_24:
+ inline_response_200_25:
example:
data:
- date: 2021-10-12T10:12:42Z
@@ -48564,7 +50854,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_25:
+ inline_response_200_26:
example:
data:
- accountId: 31
@@ -48626,7 +50916,7 @@ components:
type: array
required:
- data
- inline_response_200_26:
+ inline_response_200_27:
example:
data:
- accountId: 31
@@ -48687,7 +50977,7 @@ components:
type: array
required:
- data
- inline_response_200_27:
+ inline_response_200_28:
example:
data:
- accountId: 31
@@ -48746,7 +51036,7 @@ components:
type: array
required:
- data
- inline_response_200_28:
+ inline_response_200_29:
example:
data:
- accountId: 31
@@ -48802,7 +51092,7 @@ components:
required:
- data
- hasMore
- inline_response_200_29:
+ inline_response_200_30:
example:
data:
- couponUseAttempts: 1
@@ -48842,7 +51132,7 @@ components:
required:
- data
- hasMore
- inline_response_200_30:
+ inline_response_200_31:
example:
data:
- coupon: BKDB946
@@ -49019,7 +51309,7 @@ components:
type: array
required:
- data
- inline_response_200_31:
+ inline_response_200_32:
example:
data:
- effects:
@@ -49179,7 +51469,7 @@ components:
required:
- data
- hasMore
- inline_response_200_32:
+ inline_response_200_33:
example:
data:
- data
@@ -49197,7 +51487,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_33:
+ inline_response_200_34:
example:
data:
- accountId: 3886
@@ -49235,7 +51525,7 @@ components:
type: array
required:
- data
- inline_response_200_34:
+ inline_response_200_35:
example:
data:
- membersCount: 1234
@@ -49252,7 +51542,7 @@ components:
type: array
required:
- data
- inline_response_200_35:
+ inline_response_200_36:
example:
data:
- accountId: 31
@@ -49307,7 +51597,7 @@ components:
type: array
required:
- data
- inline_response_200_36:
+ inline_response_200_37:
example:
data:
- friendIntegrationId: friendIntegrationId
@@ -49337,7 +51627,7 @@ components:
type: array
required:
- data
- inline_response_200_37:
+ inline_response_200_38:
example:
data:
- created: 2020-06-10T09:05:27.993483Z
@@ -49411,7 +51701,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_38:
+ inline_response_200_39:
example:
data:
- product:
@@ -49459,7 +51749,7 @@ components:
type: array
required:
- data
- inline_response_200_39:
+ inline_response_200_40:
example:
data:
- accountId: 3886
@@ -49495,7 +51785,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_40:
+ inline_response_200_41:
example:
data:
- headers:
@@ -49553,7 +51843,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_41:
+ inline_response_200_42:
example:
data:
- created: 2020-06-10T09:05:27.993483Z
@@ -49579,7 +51869,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_42:
+ inline_response_200_43:
example:
data:
- created: 2020-06-10T09:05:27.993483Z
@@ -49633,7 +51923,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_43:
+ inline_response_200_44:
example:
data:
- new:
@@ -49685,7 +51975,7 @@ components:
type: array
required:
- data
- inline_response_200_44:
+ inline_response_200_45:
example:
data:
- filter: '{}'
@@ -49713,7 +52003,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_45:
+ inline_response_200_46:
example:
data:
- accountId: 3886
@@ -49825,7 +52115,7 @@ components:
required:
- data
- totalResultSize
- inline_response_200_46:
+ inline_response_200_47:
example:
data:
- linkedCampaignIds:
@@ -49871,7 +52161,38 @@ components:
type: array
required:
- data
- inline_response_200_47:
+ inline_response_200_48:
+ example:
+ data:
+ - createdBy: 216
+ created: 2020-06-10T09:05:27.993483Z
+ name: Filter items by product
+ description: This filter allows filtering by shoes
+ modified: 2000-01-23T04:56:07.000+00:00
+ modifiedBy: 334
+ id: 6
+ applicationId: 322
+ activeExpressionId: 1
+ - createdBy: 216
+ created: 2020-06-10T09:05:27.993483Z
+ name: Filter items by product
+ description: This filter allows filtering by shoes
+ modified: 2000-01-23T04:56:07.000+00:00
+ modifiedBy: 334
+ id: 6
+ applicationId: 322
+ activeExpressionId: 1
+ hasMore: true
+ properties:
+ hasMore:
+ type: boolean
+ data:
+ items:
+ $ref: '#/components/schemas/ApplicationCIF'
+ type: array
+ required:
+ - data
+ inline_response_200_49:
example:
data:
- period: period
@@ -49893,7 +52214,7 @@ components:
items:
$ref: '#/components/schemas/ListCampaignStoreBudgets'
type: array
- inline_response_200_48:
+ inline_response_200_50:
example:
data:
- period: overall
@@ -49909,7 +52230,7 @@ components:
items:
$ref: '#/components/schemas/SummaryCampaignStoreBudget'
type: array
- inline_response_200_49:
+ inline_response_200_51:
example:
data:
- period: 1Y
@@ -49968,7 +52289,7 @@ components:
type: array
required:
- data
- inline_response_200_50:
+ inline_response_200_52:
example:
data:
- endDate: 2000-01-23T04:56:07.000+00:00
@@ -50015,7 +52336,7 @@ components:
required:
- data
- hasMore
- inline_response_200_51:
+ inline_response_200_53:
example:
data:
- summary: Session total was less than the required total.
@@ -50154,6 +52475,10 @@ components:
properties:
unitsSold:
$ref: '#/components/schemas/AnalyticsDataPointWithTrend'
+ EmbeddedAnalyticsConfiguration_dashboards:
+ properties:
+ campaignInsights:
+ $ref: '#/components/schemas/EmbeddedDashboardConfiguration'
securitySchemes:
api_key_v1:
description: |
@@ -50187,41 +52512,47 @@ components:
type: apiKey
manager_auth:
description: |
- This authentication scheme relies on a bearer token that you can use to access all the endpoints of the Management API.
+ This authentication scheme relies on a bearer token that you can use to
+ access all the endpoints of the Management API.
To create the token:
- 1. Get a bearer token by calling the [createSession](#operation/createSession) endpoint.
- 1. Use the `token` property of the response in the HTTP header of your next queries:
- `Authorization: Bearer $TOKEN`.
+ 1. Get a bearer token by calling the
+ [createSession](#tag/Sessions/operation/createSession) endpoint.
+ 1. Use the `token` property of the response in the HTTP header of your
+ next queries: `Authorization: Bearer $TOKEN`.
- A token is valid for 3 months. In accordance with best pratices, use your generated token
- for all your API requests. Do **not** regenerate a token for each request.
+ A token is valid for 3 months. In accordance with best pratices, use
+ your generated token for all your API requests. Do **not** regenerate a token for each
+ request.
- **Note:** We recommend that you use a [Management API key](https://docs.talon.one/management-api#section/Authentication/management_key)
- instead of a bearer token.
+ > [!note]
+ > We recommend that you use a [Management API key](https://docs.talon.one/management-api#section/Authentication/management_key)
+ > instead of a bearer token.
in: header
name: Authorization
type: apiKey
management_key:
description: |
- The API key authentication gives you access to the endpoints selected by the admin who created the key.
+ The API key authentication gives you access to the endpoints selected by
+ the admin who created the key.
+
Using an API key is the recommended authentication method.
- The key must be generated by an admin and given to the developer that requires it:
+ The key must be generated by an admin and given to the developer that
+ requires it:
- 1. Sign in to the Campaign Manager and click **Account** > **Tools** > **Management API Keys**.
+ 1. Sign in to the Campaign Manager and click **Account** > **Tools** >
+ **Management API Keys**.
1. Click **Create Key** and give it a name.
1. Set an expiration date.
-
- **Tip**: Avoid choosing expiration dates that fall at the end of
- the year or during other high-traffic periods.
-
+ > [!tip] Avoid choosing expiration dates that fall at the end of the year or during other high-traffic periods.
1. Choose the endpoints the key should give access to.
1. Click **Create Key**.
1. Share it with your developer.
- The developer can now use the API key in the HTTP header, prefixing it with `ManagementKey-v1`:
+ The developer can now use the API key in the HTTP header, prefixing it
+ with `ManagementKey-v1`:
```
Authorization: ManagementKey-v1 bd9479c59e16f9dbc644d33aa74d58270fe13bf3
diff --git a/build.gradle b/build.gradle
index e777031a..a9e02026 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'java'
group = 'one.talon'
-version = '14.3.0'
+version = '15.0.0'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index 9079ce1a..cdbff8ee 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "one.talon",
name := "talon-one-client",
- version := "14.3.0",
+ version := "15.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/docs/AchievementAdditionalPropertiesV2.md b/docs/AchievementAdditionalPropertiesV2.md
new file mode 100644
index 00000000..75423b6e
--- /dev/null
+++ b/docs/AchievementAdditionalPropertiesV2.md
@@ -0,0 +1,26 @@
+
+
+# AchievementAdditionalPropertiesV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**userId** | **Long** | The ID of the user that created this achievement. |
+**createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional]
+**hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional]
+**status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional]
+
+
+
+## Enum: StatusEnum
+
+Name | Value
+---- | -----
+INPROGRESS | "inprogress"
+EXPIRED | "expired"
+NOT_STARTED | "not_started"
+COMPLETED | "completed"
+
+
+
diff --git a/docs/AchievementBaseV2.md b/docs/AchievementBaseV2.md
new file mode 100644
index 00000000..ea809321
--- /dev/null
+++ b/docs/AchievementBaseV2.md
@@ -0,0 +1,43 @@
+
+
+# AchievementBaseV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | [optional]
+**title** | **String** | The display name for the achievement in the Campaign Manager. | [optional]
+**description** | **String** | A description of the achievement. | [optional]
+**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional]
+**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
+**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional]
+**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
+**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. | [optional]
+**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | [optional]
+**timezone** | **String** | A string containing an IANA timezone descriptor. | [optional]
+
+
+
+## Enum: RecurrencePolicyEnum
+
+Name | Value
+---- | -----
+NO_RECURRENCE | "no_recurrence"
+ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
+
+
+
+## Enum: ActivationPolicyEnum
+
+Name | Value
+---- | -----
+USER_ACTION | "user_action"
+FIXED_SCHEDULE | "fixed_schedule"
+
+
+
diff --git a/docs/AchievementReference.md b/docs/AchievementReference.md
new file mode 100644
index 00000000..22d45e05
--- /dev/null
+++ b/docs/AchievementReference.md
@@ -0,0 +1,15 @@
+
+
+# AchievementReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**achievementId** | **Long** | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievementsV2) endpoint. |
+**applicationId** | **Long** | The ID of the Application associated with the campaign that references this achievement. |
+**applicationName** | **String** | The name of the Application associated with the campaign that references this achievement. |
+**campaignId** | **Long** | The ID of the campaign that references this achievement. |
+
+
+
diff --git a/docs/AchievementV2.md b/docs/AchievementV2.md
new file mode 100644
index 00000000..2503a54f
--- /dev/null
+++ b/docs/AchievementV2.md
@@ -0,0 +1,60 @@
+
+
+# AchievementV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | The internal ID of this entity. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
+**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. |
+**title** | **String** | The display name for the achievement in the Campaign Manager. |
+**description** | **String** | A description of the achievement. |
+**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
+**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. |
+**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. |
+**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
+**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. |
+**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. |
+**timezone** | **String** | A string containing an IANA timezone descriptor. |
+**userId** | **Long** | The ID of the user that created this achievement. |
+**createdBy** | **String** | Name of the user that created the achievement. **Note**: This is not available if the user has been deleted. | [optional]
+**hasProgress** | **Boolean** | Indicates if a customer has made progress in the achievement. | [optional]
+**status** | [**StatusEnum**](#StatusEnum) | The status of the achievement. | [optional]
+
+
+
+## Enum: RecurrencePolicyEnum
+
+Name | Value
+---- | -----
+NO_RECURRENCE | "no_recurrence"
+ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
+
+
+
+## Enum: ActivationPolicyEnum
+
+Name | Value
+---- | -----
+USER_ACTION | "user_action"
+FIXED_SCHEDULE | "fixed_schedule"
+
+
+
+## Enum: StatusEnum
+
+Name | Value
+---- | -----
+INPROGRESS | "inprogress"
+EXPIRED | "expired"
+NOT_STARTED | "not_started"
+COMPLETED | "completed"
+
+
+
diff --git a/docs/ActivateLoyaltyPoints.md b/docs/ActivateLoyaltyPoints.md
index cc5ea30c..c32fecff 100644
--- a/docs/ActivateLoyaltyPoints.md
+++ b/docs/ActivateLoyaltyPoints.md
@@ -7,7 +7,7 @@ Activate loyalty points
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**transactionUUIDs** | [**List<UUID>**](UUID.md) | An array of transaction UUIDs used to activate specific pending point transactions. If provided, do not include the `sessionId` parameter. | [optional]
+**transactionUUIDs** | [**List<UUID>**](UUID.md) | An array of transaction UUIDs used to activate specific pending point transactions. If provided, do not include the `sessionId` parameter. | [optional]
**sessionId** | **String** | The ID of the session containing the pending point transactions to activate. If provided, do not include the `transactionUUIDs` parameter. | [optional]
diff --git a/docs/AddLoyaltyPointsEffectProps.md b/docs/AddLoyaltyPointsEffectProps.md
index 4b13688b..3c729023 100644
--- a/docs/AddLoyaltyPointsEffectProps.md
+++ b/docs/AddLoyaltyPointsEffectProps.md
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**transactionUUID** | **String** | The identifier of this addition in the loyalty ledger. |
**cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart items list on which the loyal points addition should be applied. | [optional]
**cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the sub position indicates to which item the loyalty points addition is applied. | [optional]
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
**bundleIndex** | **Long** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional]
**bundleName** | **String** | The name of the bundle definition. | [optional]
**awaitsActivation** | **Boolean** | If `true`, the loyalty points remain pending until a specific action is complete. The `startDate` parameter automatically sets to `on_action`. | [optional]
diff --git a/docs/AddPriceAdjustmentCatalogAction.md b/docs/AddPriceAdjustmentCatalogAction.md
index 329d41a2..1f7f53c3 100644
--- a/docs/AddPriceAdjustmentCatalogAction.md
+++ b/docs/AddPriceAdjustmentCatalogAction.md
@@ -2,7 +2,7 @@
# AddPriceAdjustmentCatalogAction
-The specific properties of the \"ADD_PRICE_ADJUSTMENT\" catalog sync action.
+The specific properties of the \"ADD_PRICE_ADJUSTMENT\" catalog sync action. **Note:** You can only use this object if the `Beta` **price types** feature is enabled for your Application. To enable it, contact your Technical Account Manager.
## Properties
Name | Type | Description | Notes
diff --git a/docs/AddedDeductedPointsBalancesAction.md b/docs/AddedDeductedPointsBalancesAction.md
index 67973ccb..02180155 100644
--- a/docs/AddedDeductedPointsBalancesAction.md
+++ b/docs/AddedDeductedPointsBalancesAction.md
@@ -8,9 +8,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**amount** | [**BigDecimal**](BigDecimal.md) | The amount of added or deducted loyalty points. |
**reason** | **String** | The reason for the points addition or deduction. |
-**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or deduction) made with loyalty points. |
+**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or subtraction) made with loyalty points. |
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | The start date for loyalty points. | [optional]
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The expiration date for loyalty points. | [optional]
+**transactionUUID** | [**UUID**](UUID.md) | The identifier of the transaction in the loyalty ledger. |
@@ -19,7 +20,7 @@ Name | Type | Description | Notes
Name | Value
---- | -----
ADDITION | "addition"
-DEDUCTION | "deduction"
+SUBTRACTION | "subtraction"
diff --git a/docs/AddedDeductedPointsNotification.md b/docs/AddedDeductedPointsNotification.md
index 97d8a9f1..46582fec 100644
--- a/docs/AddedDeductedPointsNotification.md
+++ b/docs/AddedDeductedPointsNotification.md
@@ -16,9 +16,10 @@ Name | Type | Description | Notes
**userID** | **Long** | The ID of the employee who added or deducted points. |
**amount** | [**BigDecimal**](BigDecimal.md) | The amount of added or deducted loyalty points. |
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The expiration date for loyalty points. | [optional]
-**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or deduction) made with loyalty points. |
+**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or subtraction) made with loyalty points. |
**reason** | **String** | The reason for the points addition or deduction. |
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | The start date for loyalty points. | [optional]
+**transactionUUID** | [**UUID**](UUID.md) | The identifier of the transaction in the loyalty ledger. |
@@ -46,7 +47,7 @@ MANAGEMENT_API | "management_api"
Name | Value
---- | -----
ADDITION | "addition"
-DEDUCTION | "deduction"
+SUBTRACTION | "subtraction"
diff --git a/docs/ApplicationApiHealth.md b/docs/ApplicationApiHealth.md
index 06b4bea8..c103e439 100644
--- a/docs/ApplicationApiHealth.md
+++ b/docs/ApplicationApiHealth.md
@@ -7,7 +7,7 @@ Report of health of the API connection of an application.
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**summary** | [**SummaryEnum**](#SummaryEnum) | One-word summary of the health of the API connection of an application. Possible values are: - `OK`: The Application has received only successful API requests in the last 5 minutes. - `WARNING`: The Application received at least one failed request in the last 50 minutes. - `ERROR`: More than 50% of received requests failed. - `CRITICAL`: All received requests failed. - `NONE`: During the last 5 minutes, the Application hasn't recorded any integration API requests. |
+**summary** | [**SummaryEnum**](#SummaryEnum) | One-word summary of the health of the API connection of an application. Possible values are: - `OK`: The Application has received only successful API requests in the last 5 minutes. - `WARNING`: The Application received at least one failed request in the last 5 minutes. - `ERROR`: More than 50% of received requests failed. - `CRITICAL`: All received requests failed. - `NONE`: During the last 5 minutes, the Application hasn't recorded any integration API requests. |
**lastUsed** | [**OffsetDateTime**](OffsetDateTime.md) | time of last request relevant to the API health test. |
diff --git a/docs/ApplicationCustomer.md b/docs/ApplicationCustomer.md
index 747b9887..d583e89a 100644
--- a/docs/ApplicationCustomer.md
+++ b/docs/ApplicationCustomer.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. | [optional]
**audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional]
-**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. |
+**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation) for a customer doesn't impact this field. |
**sandbox** | **Boolean** | An indicator of whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional]
**advocateIntegrationId** | **String** | The Integration ID of the Customer Profile that referred this Customer in the Application. | [optional]
diff --git a/docs/AudienceCustomer.md b/docs/AudienceCustomer.md
index fb8cc220..a5874da0 100644
--- a/docs/AudienceCustomer.md
+++ b/docs/AudienceCustomer.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. | [optional]
**audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional]
-**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. |
+**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation) for a customer doesn't impact this field. |
**sandbox** | **Boolean** | An indicator of whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional]
**connectedApplicationsIds** | **List<Long>** | A list of the IDs of the Applications that are connected to this customer profile. | [optional]
**connectedAudiences** | **List<Long>** | A list of the IDs of the audiences that are connected to this customer profile. | [optional]
diff --git a/docs/BaseCampaign.md b/docs/BaseCampaign.md
index d1cf47ac..44a043c2 100644
--- a/docs/BaseCampaign.md
+++ b/docs/BaseCampaign.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
**tags** | **List<String>** | A list of tags for the campaign. |
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. | [optional]
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional]
**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
diff --git a/docs/BestPriorPriceRequest.md b/docs/BestPriorPriceRequest.md
index b33898b6..59e13576 100644
--- a/docs/BestPriorPriceRequest.md
+++ b/docs/BestPriorPriceRequest.md
@@ -9,8 +9,7 @@ Name | Type | Description | Notes
**skus** | **List<String>** | List of product SKUs to check when determining the best prior price. |
**timeframeEndDate** | [**OffsetDateTime**](OffsetDateTime.md) | The end date and time that defines the latest time for retrieving historical SKU prices. |
**timeframe** | **String** | The number of days prior to the timeframeEndDate. Only prices within this look back period are considered for the best prior price evaluation. |
-**strictEndDate** | **Boolean** | This property is **deprecated**. Use `timeframeEndDateType` instead. Indicates whether the timeframe includes the start of the current sale. - When `false`, the timeframe includes the start date of the current sale. - When `true`, the timeframe strictly uses the number of days specified in `timeframe`. |
-**timeframeEndDateType** | [**TimeframeEndDateTypeEnum**](#TimeframeEndDateTypeEnum) | Sets the timeframe for retrieving historical pricing data. Can be one of the following values: - `strict`: The timeframe ends at the `timeframeEndDate` value. - `price`: The timeframe ends at the start of the current `contextId` with the current price value. Identical price records are merged. If there is no `contextId` for the most recent price, the most recent timestamp for the price is used. - `sale`: The timeframe ends at the start of current `contextId` and takes the prices prior to the start of the `contextId` into account. | [optional]
+**timeframeEndDateType** | [**TimeframeEndDateTypeEnum**](#TimeframeEndDateTypeEnum) | Sets the timeframe for retrieving historical pricing data. Can be one of the following values: - `strict`: The timeframe ends at the `timeframeEndDate` value. - `price`: The timeframe ends at the start of current price value and takes the prices prior to the start of the current price value into account. - `sale`: The timeframe ends at the start of current `contextId` and takes the prices prior to the start of the `contextId` into account. |
**target** | [**BestPriorTarget**](BestPriorTarget.md) | | [optional]
diff --git a/docs/Campaign.md b/docs/Campaign.md
index 4ea226d0..1763c79d 100644
--- a/docs/Campaign.md
+++ b/docs/Campaign.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
**tags** | **List<String>** | A list of tags for the campaign. |
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. |
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. |
**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
**budgets** | [**List<CampaignBudget>**](CampaignBudget.md) | A list of all the budgets that are defined by this campaign and their usage. **Note:** Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. | [optional]
**couponRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of coupons redeemed in the campaign. | [optional]
**referralRedemptionCount** | **Long** | This property is **deprecated**. The count should be available under *budgets* property. Number of referral codes redeemed in the campaign. | [optional]
diff --git a/docs/CardAddedDeductedPointsNotification.md b/docs/CardAddedDeductedPointsNotification.md
index c69f2d20..b08b7223 100644
--- a/docs/CardAddedDeductedPointsNotification.md
+++ b/docs/CardAddedDeductedPointsNotification.md
@@ -18,9 +18,10 @@ Name | Type | Description | Notes
**usersPerCardLimit** | **Long** | The max amount of user profiles with whom a card can be shared. This can be set to `0` for no limit. |
**amount** | [**BigDecimal**](BigDecimal.md) | The amount of added or deducted loyalty points. |
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The expiration date for loyalty points. | [optional]
-**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or deduction) made with loyalty points. |
+**operation** | [**OperationEnum**](#OperationEnum) | The action (addition or subtraction) made with loyalty points. |
**reason** | **String** | The reason for the points addition or deduction. |
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | The start date for loyalty points. | [optional]
+**transactionUUID** | [**UUID**](UUID.md) | The identifier of the transaction in the loyalty ledger. |
@@ -48,7 +49,7 @@ MANAGEMENT_API | "management_api"
Name | Value
---- | -----
ADDITION | "addition"
-DEDUCTION | "deduction"
+SUBTRACTION | "subtraction"
diff --git a/docs/CardLedgerTransactionLogEntry.md b/docs/CardLedgerTransactionLogEntry.md
index 1dfdb546..8e8664a2 100644
--- a/docs/CardLedgerTransactionLogEntry.md
+++ b/docs/CardLedgerTransactionLogEntry.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. |
**programId** | **Long** | ID of the loyalty program. |
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. |
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. |
**applicationId** | **Long** | The ID of the Application that owns this entity. | [optional]
**sessionId** | **Long** | The **internal** ID of the session. | [optional]
**customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional]
diff --git a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md
index 1224d997..f1961ae2 100644
--- a/docs/CardLedgerTransactionLogEntryIntegrationAPI.md
+++ b/docs/CardLedgerTransactionLogEntryIntegrationAPI.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**transactionUUID** | **String** | Unique identifier of the transaction in the UUID format. |
**created** | [**OffsetDateTime**](OffsetDateTime.md) | Date and time the loyalty card transaction occurred. |
**programId** | **Long** | ID of the loyalty program. |
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. |
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. |
**customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional]
**type** | [**TypeEnum**](#TypeEnum) | Type of transaction. Possible values: - `addition`: Signifies added points. - `subtraction`: Signifies deducted points. |
**name** | **String** | Name or reason of the loyalty ledger transaction. |
diff --git a/docs/CartItem.md b/docs/CartItem.md
index e25ebcf3..eacb80f3 100644
--- a/docs/CartItem.md
+++ b/docs/CartItem.md
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
**name** | **String** | Name of item. | [optional]
**sku** | **String** | Stock keeping unit of item. |
**quantity** | **Long** | Number of units of this item. Due to [cart item flattening](https://docs.talon.one/docs/product/rules/understanding-cart-item-flattening), if you provide a quantity greater than 1, the item will be split in as many items as the provided quantity. This will impact the number of **per-item** effects triggered from your campaigns. |
-**returnedQuantity** | **Long** | Number of returned items, calculated internally based on returns of this item. | [optional]
-**remainingQuantity** | **Long** | Remaining quantity of the item, calculated internally based on returns of this item. | [optional]
+**returnedQuantity** | **Long** | Number of returned items, calculated internally based on returns of this item. | [optional] [readonly]
+**remainingQuantity** | **Long** | Remaining quantity of the item, calculated internally based on returns of this item. | [optional] [readonly]
**price** | [**BigDecimal**](BigDecimal.md) | Price of the item in the currency defined by your Application. This field is required if this item is not part of a [catalog](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs). If it is part of a catalog, setting a price here overrides the price from the catalog. | [optional]
**category** | **String** | Type, group or model of the item. | [optional]
**product** | [**Product**](Product.md) | | [optional]
@@ -18,15 +18,15 @@ Name | Type | Description | Notes
**height** | [**BigDecimal**](BigDecimal.md) | Height of item in mm. | [optional]
**width** | [**BigDecimal**](BigDecimal.md) | Width of item in mm. | [optional]
**length** | [**BigDecimal**](BigDecimal.md) | Length of item in mm. | [optional]
-**position** | [**BigDecimal**](BigDecimal.md) | Position of the Cart Item in the Cart (calculated internally). | [optional]
+**position** | [**BigDecimal**](BigDecimal.md) | Position of the Cart Item in the Cart (calculated internally). | [optional] [readonly]
**attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. [Attributes](https://docs.talon.one/docs/dev/concepts/attributes) represent any information to attach to this cart item. Custom _cart item_ attributes must be created in the Campaign Manager before you set them with this property. **Note:** Any previously defined attributes that you do not include in the array will be removed. | [optional]
**additionalCosts** | [**Map<String, AdditionalCost>**](AdditionalCost.md) | Use this property to set a value for the additional costs of this item, such as a shipping cost. They must be created in the Campaign Manager before you set them with this property. See [Managing additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs). | [optional]
-**catalogItemID** | **Long** | The catalog item ID. | [optional]
-**selectedPriceType** | **String** | The selected price type for this cart item (e.g. the price for members only). | [optional]
-**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference ID of the selected price adjustment for this cart item. Only returned if the selected price resulted from a price adjustment. | [optional]
-**adjustmentEffectiveFrom** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time from which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional]
-**adjustmentEffectiveUntil** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time until which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional]
-**prices** | [**Map<String, PriceDetail>**](PriceDetail.md) | A map of keys and values representing the price types and related price adjustment details for this cart item. The keys correspond to the `priceType` names. | [optional]
+**catalogItemID** | **Long** | The catalog item ID. | [optional] [readonly]
+**selectedPriceType** | **String** | The selected price type for this cart item (e.g. the price for members only). | [optional] [readonly]
+**adjustmentReferenceId** | [**UUID**](UUID.md) | The reference ID of the selected price adjustment for this cart item. Only returned if the selected price resulted from a price adjustment. | [optional] [readonly]
+**adjustmentEffectiveFrom** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time from which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional] [readonly]
+**adjustmentEffectiveUntil** | [**OffsetDateTime**](OffsetDateTime.md) | The date and time until which the price adjustment is effective. Only returned if the selected price resulted from a price adjustment that contains this field. | [optional] [readonly]
+**prices** | [**Map<String, PriceDetail>**](PriceDetail.md) | A map of keys and values representing the price types and related price adjustment details for this cart item. The keys correspond to the `priceType` names. | [optional] [readonly]
diff --git a/docs/CreateAchievementV2.md b/docs/CreateAchievementV2.md
new file mode 100644
index 00000000..659ed192
--- /dev/null
+++ b/docs/CreateAchievementV2.md
@@ -0,0 +1,43 @@
+
+
+# CreateAchievementV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. |
+**title** | **String** | The display name for the achievement in the Campaign Manager. |
+**description** | **String** | A description of the achievement. |
+**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. |
+**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
+**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional]
+**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
+**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. |
+**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | [optional]
+**timezone** | **String** | A string containing an IANA timezone descriptor. |
+
+
+
+## Enum: RecurrencePolicyEnum
+
+Name | Value
+---- | -----
+NO_RECURRENCE | "no_recurrence"
+ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
+
+
+
+## Enum: ActivationPolicyEnum
+
+Name | Value
+---- | -----
+USER_ACTION | "user_action"
+FIXED_SCHEDULE | "fixed_schedule"
+
+
+
diff --git a/docs/CreateMCPKey.md b/docs/CreateMCPKey.md
new file mode 100644
index 00000000..59794911
--- /dev/null
+++ b/docs/CreateMCPKey.md
@@ -0,0 +1,13 @@
+
+
+# CreateMCPKey
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Name for the MCP key. |
+**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the MCP key expires. |
+
+
+
diff --git a/docs/CustomerProfile.md b/docs/CustomerProfile.md
index a104833f..784a7ce8 100644
--- a/docs/CustomerProfile.md
+++ b/docs/CustomerProfile.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**totalSales** | [**BigDecimal**](BigDecimal.md) | The total amount of money spent by the customer **before** discounts are applied. The total sales amount excludes the following: - Cancelled or reopened sessions. - Returned items. |
**loyaltyMemberships** | [**List<LoyaltyMembership>**](LoyaltyMembership.md) | **DEPRECATED. Always returns `null`.** A list of loyalty programs joined by the customer. | [optional]
**audienceMemberships** | [**List<AudienceMembership>**](AudienceMembership.md) | The audiences the customer belongs to. | [optional]
-**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#operation/createCouponReservation) for a customer doesn't impact this field. |
+**lastActivity** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received from this customer. This field is updated on calls that trigger the Rule Engine and that are not [dry requests](https://docs.talon.one/docs/dev/integration-api/dry-requests/#overlay). For example, [reserving a coupon](https://docs.talon.one/integration-api#tag/Coupons/operation/createCouponReservation) for a customer doesn't impact this field. |
**sandbox** | **Boolean** | An indicator of whether the customer is part of a sandbox or live Application. See the [docs](https://docs.talon.one/docs/product/applications/overview#application-environments). | [optional]
diff --git a/docs/CustomerProfileAudienceRequestItem.md b/docs/CustomerProfileAudienceRequestItem.md
index 6cad277b..4cec9cca 100644
--- a/docs/CustomerProfileAudienceRequestItem.md
+++ b/docs/CustomerProfileAudienceRequestItem.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**ActionEnum**](#ActionEnum) | Defines the action to perform: - `add`: Adds the customer profile to the audience. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `delete`: Removes the customer profile from the audience. |
**profileIntegrationId** | **String** | The ID of this customer profile in the third-party integration. |
-**audienceId** | **Long** | The ID of the audience. You get it via the `id` property when [creating an audience](#operation/createAudienceV2). |
+**audienceId** | **Long** | The ID of the audience. You get it via the `id` property when [creating an audience](#tag/Audiences/operation/createAudienceV2). |
diff --git a/docs/CustomerSession.md b/docs/CustomerSession.md
index 00870960..6160b45d 100644
--- a/docs/CustomerSession.md
+++ b/docs/CustomerSession.md
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**total** | [**BigDecimal**](BigDecimal.md) | The total sum of the cart in one session. |
**attributes** | [**Object**](.md) | A key-value map of the sessions attributes. The potentially valid attributes are configured in your accounts developer settings. |
**firstSession** | **Boolean** | Indicates whether this is the first session for the customer's profile. Will always be true for anonymous sessions. |
+**updateCount** | **Long** | The number of times the session was updated. When the session is created, this value is initialized to `1`. |
**discounts** | [**Map<String, BigDecimal>**](BigDecimal.md) | A map of labelled discount values, values will be in the same currency as the application associated with the session. |
**updated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent event received on this session. |
diff --git a/docs/CustomerSessionV2.md b/docs/CustomerSessionV2.md
index 19e8f12f..1e10406c 100644
--- a/docs/CustomerSessionV2.md
+++ b/docs/CustomerSessionV2.md
@@ -24,6 +24,7 @@ Name | Type | Description | Notes
**identifiers** | **List<String>** | Session custom identifiers that you can set limits on or use inside your rules. For example, you can use IP addresses as identifiers to potentially identify devices and limit discounts abuse in case of customers creating multiple accounts. See the [tutorial](https://docs.talon.one/docs/dev/tutorials/using-identifiers). **Important**: Ensure the session contains an identifier by the time you close it if: - You [create a unique identifier budget](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets/#budget-types) for your campaign. - Your campaign has [coupons](https://docs.talon.one/docs/product/campaigns/coupons/coupon-page-overview). - We recommend passing an anonymized (hashed) version of the identifier value. | [optional]
**attributes** | [**Object**](.md) | Use this property to set a value for the attributes of your choice. Attributes represent any information to attach to your session, like the shipping city. You can use [built-in attributes](https://docs.talon.one/docs/dev/concepts/attributes#built-in-attributes) or [custom ones](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes). Custom attributes must be created in the Campaign Manager before you set them with this property. |
**firstSession** | **Boolean** | Indicates whether this is the first session for the customer's profile. It's always `true` for anonymous sessions. |
+**updateCount** | **Long** | The number of times the session was updated. When the session is created, this value is initialized to `1`. |
**total** | [**BigDecimal**](BigDecimal.md) | The total value of cart items and additional costs in the session, before any discounts are applied. |
**cartItemTotal** | [**BigDecimal**](BigDecimal.md) | The total value of cart items, before any discounts are applied. |
**additionalCostTotal** | [**BigDecimal**](BigDecimal.md) | The total value of additional costs, before any discounts are applied. |
diff --git a/docs/DeductLoyaltyPointsEffectProps.md b/docs/DeductLoyaltyPointsEffectProps.md
index 0fd8df94..76a9d1b3 100644
--- a/docs/DeductLoyaltyPointsEffectProps.md
+++ b/docs/DeductLoyaltyPointsEffectProps.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**value** | [**BigDecimal**](BigDecimal.md) | The amount of points that were deducted. |
**transactionUUID** | **String** | The identifier of this deduction in the loyalty ledger. |
**name** | **String** | The name property gets one of the following two values. It can be the loyalty program name or it can represent a reason for the respective deduction of loyalty points. The latter is an optional value defined in a deduction rule. |
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
diff --git a/docs/EmbeddedAnalyticsConfiguration.md b/docs/EmbeddedAnalyticsConfiguration.md
new file mode 100644
index 00000000..54b82999
--- /dev/null
+++ b/docs/EmbeddedAnalyticsConfiguration.md
@@ -0,0 +1,12 @@
+
+
+# EmbeddedAnalyticsConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**dashboards** | [**EmbeddedAnalyticsConfigurationDashboards**](EmbeddedAnalyticsConfigurationDashboards.md) | |
+
+
+
diff --git a/docs/EmbeddedAnalyticsConfigurationDashboards.md b/docs/EmbeddedAnalyticsConfigurationDashboards.md
new file mode 100644
index 00000000..6066f3b3
--- /dev/null
+++ b/docs/EmbeddedAnalyticsConfigurationDashboards.md
@@ -0,0 +1,12 @@
+
+
+# EmbeddedAnalyticsConfigurationDashboards
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**campaignInsights** | [**EmbeddedDashboardConfiguration**](EmbeddedDashboardConfiguration.md) | | [optional]
+
+
+
diff --git a/docs/EmbeddedDashboardConfiguration.md b/docs/EmbeddedDashboardConfiguration.md
new file mode 100644
index 00000000..ea4846fc
--- /dev/null
+++ b/docs/EmbeddedDashboardConfiguration.md
@@ -0,0 +1,13 @@
+
+
+# EmbeddedDashboardConfiguration
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**workspaceId** | **String** | The ID of the workspace that contains dashboards. |
+**dashboardId** | **String** | The ID of the dashboard that contains metrics. |
+
+
+
diff --git a/docs/ExperimentListResults.md b/docs/ExperimentListResults.md
new file mode 100644
index 00000000..f8c7c38f
--- /dev/null
+++ b/docs/ExperimentListResults.md
@@ -0,0 +1,12 @@
+
+
+# ExperimentListResults
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**results** | [**List<ExperimentResult>**](ExperimentResult.md) | | [optional]
+
+
+
diff --git a/docs/ExperimentListResultsRequest.md b/docs/ExperimentListResultsRequest.md
new file mode 100644
index 00000000..8c15e7c4
--- /dev/null
+++ b/docs/ExperimentListResultsRequest.md
@@ -0,0 +1,12 @@
+
+
+# ExperimentListResultsRequest
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**experimentIds** | **List<Long>** | |
+
+
+
diff --git a/docs/ExperimentResult.md b/docs/ExperimentResult.md
new file mode 100644
index 00000000..231787ec
--- /dev/null
+++ b/docs/ExperimentResult.md
@@ -0,0 +1,14 @@
+
+
+# ExperimentResult
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**variants** | [**List<ExperimentVariantResult>**](ExperimentVariantResult.md) | |
+**confidence** | [**ExperimentVariantResultConfidence**](ExperimentVariantResultConfidence.md) | |
+**experimentId** | **Long** | |
+
+
+
diff --git a/docs/ExperimentResults.md b/docs/ExperimentResults.md
index 178a3623..e753bb68 100644
--- a/docs/ExperimentResults.md
+++ b/docs/ExperimentResults.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**variants** | [**List<ExperimentVariantResult>**](ExperimentVariantResult.md) | | [optional]
+**variants** | [**List<ExperimentVariantResult>**](ExperimentVariantResult.md) | |
**confidence** | [**ExperimentVariantResultConfidence**](ExperimentVariantResultConfidence.md) | |
diff --git a/docs/ExperimentSegmentInsight.md b/docs/ExperimentSegmentInsight.md
new file mode 100644
index 00000000..b896ed13
--- /dev/null
+++ b/docs/ExperimentSegmentInsight.md
@@ -0,0 +1,39 @@
+
+
+# ExperimentSegmentInsight
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**dimension** | [**DimensionEnum**](#DimensionEnum) | The segmentation dimension used to group customers or purchases for analysis. |
+**bucket** | [**BucketEnum**](#BucketEnum) | The specific group within the segmentation dimension. |
+**confidence** | **Double** | The raw (unadjusted) confidence score expressed as a percentage. Only segments with a confidence score greater than or equal to 95% are returned. |
+**winnerVariantId** | **Long** | The ID of the variant that performed better in this segment. |
+**variants** | [**List<ExperimentSegmentInsightVariant>**](ExperimentSegmentInsightVariant.md) | Per-variant metric values for this segment. |
+
+
+
+## Enum: DimensionEnum
+
+Name | Value
+---- | -----
+CART_VALUE | "cart_value"
+ITEM_COUNT | "item_count"
+CUSTOMER_TYPE | "customer_type"
+
+
+
+## Enum: BucketEnum
+
+Name | Value
+---- | -----
+LOW | "low"
+MEDIUM | "medium"
+HIGH | "high"
+NEW | "new"
+RETURNING | "returning"
+LOYAL | "loyal"
+
+
+
diff --git a/docs/ExperimentSegmentInsightMetric.md b/docs/ExperimentSegmentInsightMetric.md
new file mode 100644
index 00000000..f2801fd0
--- /dev/null
+++ b/docs/ExperimentSegmentInsightMetric.md
@@ -0,0 +1,23 @@
+
+
+# ExperimentSegmentInsightMetric
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**metric** | [**MetricEnum**](#MetricEnum) | The metric being measured. |
+**segments** | [**List<ExperimentSegmentInsight>**](ExperimentSegmentInsight.md) | Segments with statistically significant results for this metric. An empty array means no significant segments were found. Segments are sorted by confidence score from highest to lowest. |
+
+
+
+## Enum: MetricEnum
+
+Name | Value
+---- | -----
+SESSION_VALUE | "avg_session_value"
+DISCOUNTED_SESSION_VALUE | "avg_discounted_session_value"
+ITEMS_PER_SESSION | "avg_items_per_session"
+
+
+
diff --git a/docs/ExperimentSegmentInsightVariant.md b/docs/ExperimentSegmentInsightVariant.md
new file mode 100644
index 00000000..9405274b
--- /dev/null
+++ b/docs/ExperimentSegmentInsightVariant.md
@@ -0,0 +1,15 @@
+
+
+# ExperimentSegmentInsightVariant
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**variantId** | **Long** | The ID of the experiment variant. |
+**variantName** | **String** | The name of the experiment variant. |
+**sessionsCount** | **Long** | The number of sessions in this segment for this variant. |
+**value** | **Double** | The metric value for this variant in the segment. |
+
+
+
diff --git a/docs/ExperimentSegmentInsights.md b/docs/ExperimentSegmentInsights.md
new file mode 100644
index 00000000..616538cc
--- /dev/null
+++ b/docs/ExperimentSegmentInsights.md
@@ -0,0 +1,15 @@
+
+
+# ExperimentSegmentInsights
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**metrics** | [**List<ExperimentSegmentInsightMetric>**](ExperimentSegmentInsightMetric.md) | Segment insights grouped by metric. This array always contains exactly three metric objects. Each metric includes a segments array, which is empty if no significant results were found. The metrics array itself is empty if the `reason` property is populated. |
+**totalSegmentsTested** | **Long** | Total number of segment-metric combinations that were tested for statistical significance. |
+**dimensionsTested** | **Long** | Number of segmentation dimensions that had sufficient data variance to test. Dimensions where all sessions fall into a single bucket are excluded. |
+**reason** | **String** | Empty string when segment insights are available. Contains a reason code when insights could not be computed (e.g., \"insufficient_data\" when the experiment has fewer than 100 sessions per variant). |
+
+
+
diff --git a/docs/ExperimentVariantResult.md b/docs/ExperimentVariantResult.md
index 093984b5..a4522d09 100644
--- a/docs/ExperimentVariantResult.md
+++ b/docs/ExperimentVariantResult.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
**variantId** | **Long** | The ID of the variant. | [optional]
**variantName** | **String** | The name of the variant. | [optional]
**variantWeight** | **Long** | The weight of the variant. | [optional]
+**isWinner** | **Boolean** | Calculated flag if the variant is the winner. | [optional]
**totalRevenue** | [**BigDecimal**](BigDecimal.md) | The total, pre-discount value of all items purchased in a customer session. | [optional]
**sessionsCount** | [**BigDecimal**](BigDecimal.md) | The number of all closed sessions. | [optional]
**avgItemsPerSession** | [**BigDecimal**](BigDecimal.md) | The number of items from sessions divided by the number of sessions. | [optional]
diff --git a/docs/ExperimentVerdict.md b/docs/ExperimentVerdict.md
new file mode 100644
index 00000000..bf309580
--- /dev/null
+++ b/docs/ExperimentVerdict.md
@@ -0,0 +1,16 @@
+
+
+# ExperimentVerdict
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**winnerVariantName** | **String** | The name of the winning variant. If no variant shows a statistically significant advantage on key business metrics, return 'Inconclusive'. |
+**verdictSummary** | **String** | A one-sentence summary of the outcome, including the key metric and confidence level that led to the decision. |
+**keyFindings** | **List<String>** | A bullet point stating the most important finding, including the metric, the percentage change, and the confidence. |
+**aiConfidenceLevel** | **String** | Your confidence in this overall verdict, from 0 to 100. |
+**recommendation** | **String** | A short, actionable recommendation based on the findings. If inconclusive, suggest running the test longer. If there is a clear winner, recommend promoting it. |
+
+
+
diff --git a/docs/ExperimentVerdictResponse.md b/docs/ExperimentVerdictResponse.md
new file mode 100644
index 00000000..3bef09e4
--- /dev/null
+++ b/docs/ExperimentVerdictResponse.md
@@ -0,0 +1,13 @@
+
+
+# ExperimentVerdictResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**verdict** | [**ExperimentVerdict**](ExperimentVerdict.md) | |
+**generated** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the moment when the verdict was generated. |
+
+
+
diff --git a/docs/ExpiringCardPointsData.md b/docs/ExpiringCardPointsData.md
index e699fad4..e388ed36 100644
--- a/docs/ExpiringCardPointsData.md
+++ b/docs/ExpiringCardPointsData.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**loyaltyProgramID** | **Long** | The ID of the loyalty program. |
**amountOfExpiringPoints** | [**BigDecimal**](BigDecimal.md) | The amount of loyalty points that will be expired soon. |
**subledgerID** | **String** | The ID of the subledger within the loyalty program where these points were added. |
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. |
+**cardIdentifier** | **String** | The identifier of the loyalty card, `which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. |
**usersPerCardLimit** | **Long** | The maximum number of customer profiles with which a card can be shared. This can be set to `0` for no limit. |
**profiles** | **List<String>** | The integration IDs of the customer profiles linked to the card. |
diff --git a/docs/GenerateLoyaltyCard.md b/docs/GenerateLoyaltyCard.md
index 7d961a50..f6c696d5 100644
--- a/docs/GenerateLoyaltyCard.md
+++ b/docs/GenerateLoyaltyCard.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | [**StatusEnum**](#StatusEnum) | Status of the loyalty card. | [optional]
**customerProfileIds** | **List<String>** | Integration IDs of the customer profiles linked to the card. | [optional]
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
diff --git a/docs/GiveawayPoolNotification.md b/docs/GiveawayPoolNotification.md
new file mode 100644
index 00000000..84e6b5ed
--- /dev/null
+++ b/docs/GiveawayPoolNotification.md
@@ -0,0 +1,22 @@
+
+
+# GiveawayPoolNotification
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**totalResultSize** | **Long** | |
+**data** | [**List<GiveawayPoolNotificationData>**](GiveawayPoolNotificationData.md) | The array of giveaway pool notifications. |
+**notificationType** | [**NotificationTypeEnum**](#NotificationTypeEnum) | The type of notification. |
+
+
+
+## Enum: NotificationTypeEnum
+
+Name | Value
+---- | -----
+GIVEAWAYPOOLNOTIFICATION | "GiveawayPoolNotification"
+
+
+
diff --git a/docs/GiveawayPoolNotificationData.md b/docs/GiveawayPoolNotificationData.md
new file mode 100644
index 00000000..e84090ef
--- /dev/null
+++ b/docs/GiveawayPoolNotificationData.md
@@ -0,0 +1,21 @@
+
+
+# GiveawayPoolNotificationData
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**event** | **String** | The event type of the notification. |
+**poolId** | **Long** | The ID of the giveaway pool. |
+**poolName** | **String** | The name of the giveaway pool. |
+**poolDescription** | **String** | The description of the giveaway pool. |
+**accountId** | **Long** | The ID of the account that owns the giveaway pool. |
+**applicationId** | **Long** | The ID of the Application connected to the giveaway pool. |
+**totalCodes** | **Long** | The total number of codes in the giveaway pool. |
+**usedCodes** | **Long** | The number of codes that have been used. |
+**remainingCodes** | **Long** | The number of codes remaining in the giveaway pool. |
+**thresholdPercent** | **Long** | The percentage threshold for the notification. The notification is triggered when the number of codes drops below this threshold. |
+
+
+
diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md
index b91a6717..40126e18 100644
--- a/docs/InlineResponse200.md
+++ b/docs/InlineResponse200.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<IntegrationCampaign>**](IntegrationCampaign.md) | |
diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md
index 63fd5662..175a4156 100644
--- a/docs/InlineResponse2001.md
+++ b/docs/InlineResponse2001.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<AchievementStatusEntry>**](AchievementStatusEntry.md) | |
+**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse20010.md b/docs/InlineResponse20010.md
index e3f25d69..875ea24c 100644
--- a/docs/InlineResponse20010.md
+++ b/docs/InlineResponse20010.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<Coupon>**](Coupon.md) | |
+**data** | [**List<Ruleset>**](Ruleset.md) | |
diff --git a/docs/InlineResponse20011.md b/docs/InlineResponse20011.md
index a93a9791..9550abae 100644
--- a/docs/InlineResponse20011.md
+++ b/docs/InlineResponse20011.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
+**totalResultSize** | **Long** | |
**data** | [**List<Coupon>**](Coupon.md) | |
diff --git a/docs/InlineResponse20012.md b/docs/InlineResponse20012.md
index ecac812d..ddec40e0 100644
--- a/docs/InlineResponse20012.md
+++ b/docs/InlineResponse20012.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<Referral>**](Referral.md) | |
+**data** | [**List<Coupon>**](Coupon.md) | |
diff --git a/docs/InlineResponse20013.md b/docs/InlineResponse20013.md
index 69a43ac4..fa95bcc6 100644
--- a/docs/InlineResponse20013.md
+++ b/docs/InlineResponse20013.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<CampaignGroup>**](CampaignGroup.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<Referral>**](Referral.md) | |
diff --git a/docs/InlineResponse20014.md b/docs/InlineResponse20014.md
index 2ea5821f..b6922625 100644
--- a/docs/InlineResponse20014.md
+++ b/docs/InlineResponse20014.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<CampaignTemplate>**](CampaignTemplate.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<CampaignGroup>**](CampaignGroup.md) | |
diff --git a/docs/InlineResponse20015.md b/docs/InlineResponse20015.md
index 960e31d7..4768f0b4 100644
--- a/docs/InlineResponse20015.md
+++ b/docs/InlineResponse20015.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<Experiment>**](Experiment.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<CampaignTemplate>**](CampaignTemplate.md) | |
diff --git a/docs/InlineResponse20016.md b/docs/InlineResponse20016.md
index f3b0a751..c99cc4fa 100644
--- a/docs/InlineResponse20016.md
+++ b/docs/InlineResponse20016.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<LoyaltyProgram>**](LoyaltyProgram.md) | |
+**data** | [**List<Experiment>**](Experiment.md) | |
diff --git a/docs/InlineResponse20017.md b/docs/InlineResponse20017.md
index b19e9371..ad1f9867 100644
--- a/docs/InlineResponse20017.md
+++ b/docs/InlineResponse20017.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<LoyaltyDashboardData>**](LoyaltyDashboardData.md) | |
+**data** | [**List<LoyaltyProgram>**](LoyaltyProgram.md) | |
diff --git a/docs/InlineResponse20018.md b/docs/InlineResponse20018.md
index 91823d2f..20479481 100644
--- a/docs/InlineResponse20018.md
+++ b/docs/InlineResponse20018.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<LoyaltyProgramTransaction>**](LoyaltyProgramTransaction.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<LoyaltyDashboardData>**](LoyaltyDashboardData.md) | |
diff --git a/docs/InlineResponse20019.md b/docs/InlineResponse20019.md
index 3475c34b..53e5e481 100644
--- a/docs/InlineResponse20019.md
+++ b/docs/InlineResponse20019.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<LoyaltyCard>**](LoyaltyCard.md) | |
+**data** | [**List<LoyaltyProgramTransaction>**](LoyaltyProgramTransaction.md) | |
diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md
index e6049688..d228eca0 100644
--- a/docs/InlineResponse2002.md
+++ b/docs/InlineResponse2002.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<AchievementProgress>**](AchievementProgress.md) | |
+**data** | [**List<AchievementStatusEntry>**](AchievementStatusEntry.md) | |
diff --git a/docs/InlineResponse20020.md b/docs/InlineResponse20020.md
index 2d08622b..2d296787 100644
--- a/docs/InlineResponse20020.md
+++ b/docs/InlineResponse20020.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | true means there is more data in the source collection to request.. |
-**data** | [**List<CardLedgerTransactionLogEntry>**](CardLedgerTransactionLogEntry.md) | List of loyalty card transaction logs. |
+**hasMore** | **Boolean** | |
+**data** | [**List<LoyaltyCard>**](LoyaltyCard.md) | |
diff --git a/docs/InlineResponse20021.md b/docs/InlineResponse20021.md
index e57c161b..ff2dfa77 100644
--- a/docs/InlineResponse20021.md
+++ b/docs/InlineResponse20021.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
-**data** | [**List<CollectionWithoutPayload>**](CollectionWithoutPayload.md) | |
+**hasMore** | **Boolean** | true means there is more data in the source collection to request.. |
+**data** | [**List<CardLedgerTransactionLogEntry>**](CardLedgerTransactionLogEntry.md) | List of loyalty card transaction logs. |
diff --git a/docs/InlineResponse20022.md b/docs/InlineResponse20022.md
index 15dce971..877022f9 100644
--- a/docs/InlineResponse20022.md
+++ b/docs/InlineResponse20022.md
@@ -6,8 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<CollectionItem>**](CollectionItem.md) | |
+**hasMore** | **Boolean** | | [optional]
+**totalResultSize** | **Long** | | [optional]
+**data** | [**List<CollectionWithoutPayload>**](CollectionWithoutPayload.md) | |
diff --git a/docs/InlineResponse20023.md b/docs/InlineResponse20023.md
index 261cc611..4e1bab9e 100644
--- a/docs/InlineResponse20023.md
+++ b/docs/InlineResponse20023.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<AccessLogEntry>**](AccessLogEntry.md) | |
+**data** | [**List<CollectionItem>**](CollectionItem.md) | |
diff --git a/docs/InlineResponse20024.md b/docs/InlineResponse20024.md
index 6a613160..855ca11b 100644
--- a/docs/InlineResponse20024.md
+++ b/docs/InlineResponse20024.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<AccessLogEntry>**](AccessLogEntry.md) | |
diff --git a/docs/InlineResponse20025.md b/docs/InlineResponse20025.md
index a6d83a27..573a444f 100644
--- a/docs/InlineResponse20025.md
+++ b/docs/InlineResponse20025.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | | [optional]
-**hasMore** | **Boolean** | | [optional]
-**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<CampaignAnalytics>**](CampaignAnalytics.md) | |
diff --git a/docs/InlineResponse20026.md b/docs/InlineResponse20026.md
index 3a665412..5716618e 100644
--- a/docs/InlineResponse20026.md
+++ b/docs/InlineResponse20026.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Long** | | [optional]
+**hasMore** | **Boolean** | | [optional]
**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
diff --git a/docs/InlineResponse20027.md b/docs/InlineResponse20027.md
index 4392c5e6..185c5e04 100644
--- a/docs/InlineResponse20027.md
+++ b/docs/InlineResponse20027.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
**totalResultSize** | **Long** | | [optional]
-**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
+**data** | [**List<ApplicationCustomer>**](ApplicationCustomer.md) | |
diff --git a/docs/InlineResponse20028.md b/docs/InlineResponse20028.md
index 65d2bcc5..22321584 100644
--- a/docs/InlineResponse20028.md
+++ b/docs/InlineResponse20028.md
@@ -6,7 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
+**hasMore** | **Boolean** | | [optional]
+**totalResultSize** | **Long** | | [optional]
**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse20029.md b/docs/InlineResponse20029.md
index 02decbdc..486edf0a 100644
--- a/docs/InlineResponse20029.md
+++ b/docs/InlineResponse20029.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | |
+**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md
index dabf05fc..0dab5330 100644
--- a/docs/InlineResponse2003.md
+++ b/docs/InlineResponse2003.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<CardLedgerTransactionLogEntryIntegrationAPI>**](CardLedgerTransactionLogEntryIntegrationAPI.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<AchievementProgress>**](AchievementProgress.md) | |
diff --git a/docs/InlineResponse20030.md b/docs/InlineResponse20030.md
index d9837029..5d66c3a6 100644
--- a/docs/InlineResponse20030.md
+++ b/docs/InlineResponse20030.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**data** | [**List<ApplicationSession>**](ApplicationSession.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<CustomerActivityReport>**](CustomerActivityReport.md) | |
diff --git a/docs/InlineResponse20031.md b/docs/InlineResponse20031.md
index 71aa35ae..41cd5f67 100644
--- a/docs/InlineResponse20031.md
+++ b/docs/InlineResponse20031.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | |
+**hasMore** | **Boolean** | | [optional]
+**data** | [**List<ApplicationSession>**](ApplicationSession.md) | |
diff --git a/docs/InlineResponse20032.md b/docs/InlineResponse20032.md
index 8fbb8d88..c27b86d7 100644
--- a/docs/InlineResponse20032.md
+++ b/docs/InlineResponse20032.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | **List<String>** | |
+**hasMore** | **Boolean** | |
+**data** | [**List<ApplicationEvent>**](ApplicationEvent.md) | |
diff --git a/docs/InlineResponse20033.md b/docs/InlineResponse20033.md
index e821ab71..07a2a78f 100644
--- a/docs/InlineResponse20033.md
+++ b/docs/InlineResponse20033.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
-**data** | [**List<Audience>**](Audience.md) | |
+**totalResultSize** | **Long** | |
+**data** | **List<String>** | |
diff --git a/docs/InlineResponse20034.md b/docs/InlineResponse20034.md
index f19d7eea..020200ae 100644
--- a/docs/InlineResponse20034.md
+++ b/docs/InlineResponse20034.md
@@ -7,7 +7,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | |
+**totalResultSize** | **Long** | | [optional]
+**data** | [**List<Audience>**](Audience.md) | |
diff --git a/docs/InlineResponse20035.md b/docs/InlineResponse20035.md
index 13c902b4..553f5b62 100644
--- a/docs/InlineResponse20035.md
+++ b/docs/InlineResponse20035.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
+**data** | [**List<AudienceAnalytics>**](AudienceAnalytics.md) | |
diff --git a/docs/InlineResponse20036.md b/docs/InlineResponse20036.md
index 938917db..78da0954 100644
--- a/docs/InlineResponse20036.md
+++ b/docs/InlineResponse20036.md
@@ -7,8 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
-**data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | |
+**data** | [**List<CustomerProfile>**](CustomerProfile.md) | |
diff --git a/docs/InlineResponse20037.md b/docs/InlineResponse20037.md
index dd0447f5..24e0274a 100644
--- a/docs/InlineResponse20037.md
+++ b/docs/InlineResponse20037.md
@@ -6,8 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<Attribute>**](Attribute.md) | |
+**hasMore** | **Boolean** | | [optional]
+**totalResultSize** | **Long** | | [optional]
+**data** | [**List<ApplicationReferee>**](ApplicationReferee.md) | |
diff --git a/docs/InlineResponse20038.md b/docs/InlineResponse20038.md
index 6aa5de01..f902d82b 100644
--- a/docs/InlineResponse20038.md
+++ b/docs/InlineResponse20038.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
-**data** | [**List<CatalogItem>**](CatalogItem.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<Attribute>**](Attribute.md) | |
diff --git a/docs/InlineResponse20039.md b/docs/InlineResponse20039.md
index ae3075c0..650f4b84 100644
--- a/docs/InlineResponse20039.md
+++ b/docs/InlineResponse20039.md
@@ -6,8 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | |
+**hasMore** | **Boolean** | | [optional]
+**totalResultSize** | **Long** | | [optional]
+**data** | [**List<CatalogItem>**](CatalogItem.md) | |
diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md
index 83b0d4fe..523a1aed 100644
--- a/docs/InlineResponse2004.md
+++ b/docs/InlineResponse2004.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<LedgerTransactionLogEntryIntegrationAPI>**](LedgerTransactionLogEntryIntegrationAPI.md) | |
+**data** | [**List<CardLedgerTransactionLogEntryIntegrationAPI>**](CardLedgerTransactionLogEntryIntegrationAPI.md) | |
diff --git a/docs/InlineResponse20040.md b/docs/InlineResponse20040.md
index d9c48934..8750ef6d 100644
--- a/docs/InlineResponse20040.md
+++ b/docs/InlineResponse20040.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | |
+**data** | [**List<AccountAdditionalCost>**](AccountAdditionalCost.md) | |
diff --git a/docs/InlineResponse20041.md b/docs/InlineResponse20041.md
index 3e586b7d..0dc5db38 100644
--- a/docs/InlineResponse20041.md
+++ b/docs/InlineResponse20041.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<EventType>**](EventType.md) | |
+**data** | [**List<WebhookWithOutgoingIntegrationDetails>**](WebhookWithOutgoingIntegrationDetails.md) | |
diff --git a/docs/InlineResponse20042.md b/docs/InlineResponse20042.md
index dc662709..56ff961a 100644
--- a/docs/InlineResponse20042.md
+++ b/docs/InlineResponse20042.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<User>**](User.md) | |
+**data** | [**List<EventType>**](EventType.md) | |
diff --git a/docs/InlineResponse20043.md b/docs/InlineResponse20043.md
index c752a397..4d69f414 100644
--- a/docs/InlineResponse20043.md
+++ b/docs/InlineResponse20043.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | | [optional]
-**hasMore** | **Boolean** | | [optional]
-**data** | [**List<Change>**](Change.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<User>**](User.md) | |
diff --git a/docs/InlineResponse20044.md b/docs/InlineResponse20044.md
index 04f34f4e..5af1b6d0 100644
--- a/docs/InlineResponse20044.md
+++ b/docs/InlineResponse20044.md
@@ -6,8 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<Export>**](Export.md) | |
+**totalResultSize** | **Long** | | [optional]
+**hasMore** | **Boolean** | | [optional]
+**data** | [**List<Change>**](Change.md) | |
diff --git a/docs/InlineResponse20045.md b/docs/InlineResponse20045.md
index dac85eea..3712756c 100644
--- a/docs/InlineResponse20045.md
+++ b/docs/InlineResponse20045.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<RoleV2>**](RoleV2.md) | |
+**data** | [**List<Export>**](Export.md) | |
diff --git a/docs/InlineResponse20046.md b/docs/InlineResponse20046.md
index 5e727797..20110f99 100644
--- a/docs/InlineResponse20046.md
+++ b/docs/InlineResponse20046.md
@@ -6,9 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**totalResultSize** | **Long** | | [optional]
-**data** | [**List<Store>**](Store.md) | |
+**totalResultSize** | **Long** | |
+**data** | [**List<RoleV2>**](RoleV2.md) | |
diff --git a/docs/InlineResponse20047.md b/docs/InlineResponse20047.md
index 69c9be85..c994c7d7 100644
--- a/docs/InlineResponse20047.md
+++ b/docs/InlineResponse20047.md
@@ -6,7 +6,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**data** | [**List<ListCampaignStoreBudgets>**](ListCampaignStoreBudgets.md) | | [optional]
+**hasMore** | **Boolean** | | [optional]
+**totalResultSize** | **Long** | | [optional]
+**data** | [**List<Store>**](Store.md) | |
diff --git a/docs/InlineResponse20048.md b/docs/InlineResponse20048.md
index ec8b1243..3dbf56d2 100644
--- a/docs/InlineResponse20048.md
+++ b/docs/InlineResponse20048.md
@@ -6,7 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**data** | [**List<SummaryCampaignStoreBudget>**](SummaryCampaignStoreBudget.md) | | [optional]
+**hasMore** | **Boolean** | | [optional]
+**data** | [**List<ApplicationCIF>**](ApplicationCIF.md) | |
diff --git a/docs/InlineResponse20049.md b/docs/InlineResponse20049.md
index 4d12524e..8b156d17 100644
--- a/docs/InlineResponse20049.md
+++ b/docs/InlineResponse20049.md
@@ -6,8 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | | [optional]
-**data** | [**List<Achievement>**](Achievement.md) | |
+**data** | [**List<ListCampaignStoreBudgets>**](ListCampaignStoreBudgets.md) | | [optional]
diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md
index a1446321..463154c2 100644
--- a/docs/InlineResponse2005.md
+++ b/docs/InlineResponse2005.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<CardLedgerPointsEntryIntegrationAPI>**](CardLedgerPointsEntryIntegrationAPI.md) | |
+**data** | [**List<LedgerTransactionLogEntryIntegrationAPI>**](LedgerTransactionLogEntryIntegrationAPI.md) | |
diff --git a/docs/InlineResponse20050.md b/docs/InlineResponse20050.md
index 0674b132..395c4f9e 100644
--- a/docs/InlineResponse20050.md
+++ b/docs/InlineResponse20050.md
@@ -6,8 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**hasMore** | **Boolean** | |
-**data** | [**List<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | |
+**data** | [**List<SummaryCampaignStoreBudget>**](SummaryCampaignStoreBudget.md) | | [optional]
diff --git a/docs/InlineResponse20051.md b/docs/InlineResponse20051.md
index a7defda4..e5ed265b 100644
--- a/docs/InlineResponse20051.md
+++ b/docs/InlineResponse20051.md
@@ -6,7 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**data** | [**List<CouponFailureSummary>**](CouponFailureSummary.md) | |
+**hasMore** | **Boolean** | | [optional]
+**data** | [**List<Achievement>**](Achievement.md) | |
diff --git a/docs/InlineResponse20052.md b/docs/InlineResponse20052.md
new file mode 100644
index 00000000..d8275356
--- /dev/null
+++ b/docs/InlineResponse20052.md
@@ -0,0 +1,13 @@
+
+
+# InlineResponse20052
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**hasMore** | **Boolean** | |
+**data** | [**List<AchievementProgressWithDefinition>**](AchievementProgressWithDefinition.md) | |
+
+
+
diff --git a/docs/InlineResponse20053.md b/docs/InlineResponse20053.md
new file mode 100644
index 00000000..6974901d
--- /dev/null
+++ b/docs/InlineResponse20053.md
@@ -0,0 +1,12 @@
+
+
+# InlineResponse20053
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**data** | [**List<CouponFailureSummary>**](CouponFailureSummary.md) | |
+
+
+
diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md
index d8ce8562..46301357 100644
--- a/docs/InlineResponse2006.md
+++ b/docs/InlineResponse2006.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hasMore** | **Boolean** | |
-**data** | [**List<LedgerPointsEntryIntegrationAPI>**](LedgerPointsEntryIntegrationAPI.md) | |
+**data** | [**List<CardLedgerPointsEntryIntegrationAPI>**](CardLedgerPointsEntryIntegrationAPI.md) | |
diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md
index 9eb0b785..6184172a 100644
--- a/docs/InlineResponse2007.md
+++ b/docs/InlineResponse2007.md
@@ -6,8 +6,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**totalResultSize** | **Long** | |
-**data** | [**List<Application>**](Application.md) | |
+**hasMore** | **Boolean** | |
+**data** | [**List<LedgerPointsEntryIntegrationAPI>**](LedgerPointsEntryIntegrationAPI.md) | |
diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md
index ad294e9b..e8800edf 100644
--- a/docs/InlineResponse2008.md
+++ b/docs/InlineResponse2008.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<Campaign>**](Campaign.md) | |
+**data** | [**List<Application>**](Application.md) | |
diff --git a/docs/InlineResponse2009.md b/docs/InlineResponse2009.md
index 9f44a248..6826a821 100644
--- a/docs/InlineResponse2009.md
+++ b/docs/InlineResponse2009.md
@@ -7,7 +7,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**totalResultSize** | **Long** | |
-**data** | [**List<Ruleset>**](Ruleset.md) | |
+**data** | [**List<Campaign>**](Campaign.md) | |
diff --git a/docs/IntegrationApi.md b/docs/IntegrationApi.md
index 654b33cb..11b434c0 100644
--- a/docs/IntegrationApi.md
+++ b/docs/IntegrationApi.md
@@ -27,8 +27,8 @@ Method | HTTP request | Description
[**getLoyaltyProgramProfilePoints**](IntegrationApi.md#getLoyaltyProgramProfilePoints) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/points | List customer's unused loyalty points
[**getLoyaltyProgramProfileTransactions**](IntegrationApi.md#getLoyaltyProgramProfileTransactions) | **GET** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/transactions | List customer's loyalty transactions
[**getReservedCustomers**](IntegrationApi.md#getReservedCustomers) | **GET** /v1/coupon_reservations/customerprofiles/{couponValue} | List customers that have this coupon reserved
+[**integrationGetAllCampaigns**](IntegrationApi.md#integrationGetAllCampaigns) | **GET** /v1/integration/campaigns | List all running campaigns
[**linkLoyaltyCardToProfile**](IntegrationApi.md#linkLoyaltyCardToProfile) | **POST** /v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/link_profile | Link customer profile to card
-[**priceHistory**](IntegrationApi.md#priceHistory) | **POST** /v1/best_prior_price_history | Get summary of price history
[**reopenCustomerSession**](IntegrationApi.md#reopenCustomerSession) | **PUT** /v2/customer_sessions/{customerSessionId}/reopen | Reopen customer session
[**returnCartItems**](IntegrationApi.md#returnCartItems) | **POST** /v2/customer_sessions/{customerSessionId}/returns | Return cart items
[**syncCatalog**](IntegrationApi.md#syncCatalog) | **PUT** /v1/catalogs/{catalogId}/sync | Sync cart item catalog
@@ -210,7 +210,7 @@ Name | Type | Description | Notes
Create audience
-Create an audience. The audience can be created directly from scratch or can come from third party platforms. **Note:** Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch: 1. Only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
+Create an audience. The audience can be created directly from scratch or can come from third party platforms. > [!note] Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch, only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
### Example
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
Create coupon reservation
-Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint.
+Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. > [!note] **Note** > - If the **Reservation mandatory** option was selected when creating the > specified coupon, the endpoint creates a **hard** reservation, meaning only users who have > this coupon code reserved can redeem it. > > Otherwise, the endpoint creates a **soft** reservation, meaning the coupon > is associated with the specified customer profiles (they show up when using > the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) > endpoint), but any user can redeem it. > > This can be useful, for example, to display a _coupon wallet_ for customers > when they visit your store. > - If the **Coupon visibility** option was selected when creating the > specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code > will be returned for all customer profiles in the [List customer > data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) endpoint. > - This endpoint overrides the coupon reservation limit set when > [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint.
### Example
@@ -310,7 +310,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String couponValue = "couponValue_example"; // String | The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
+ String couponValue = "couponValue_example"; // String | The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
CouponReservations body = new CouponReservations(); // CouponReservations | body
try {
Coupon result = apiInstance.createCouponReservation(couponValue, body);
@@ -331,7 +331,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **couponValue** | **String**| The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. |
+ **couponValue** | **String**| The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. |
**body** | [**CouponReservations**](CouponReservations.md)| body |
### Return type cool
@@ -362,7 +362,7 @@ Name | Type | Description | Notes
Create referral code for an advocate
-Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
### Example
@@ -436,7 +436,7 @@ Name | Type | Description | Notes
Create referral codes for multiple advocates
-Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
### Example
@@ -586,7 +586,7 @@ null (empty response body)
Delete audience
-Delete an audience created by a third-party integration. **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience. **Note:** Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
+Delete an audience created by a third-party integration. > [!warning] This endpoint also removes any associations recorded between a customer profile and this audience. > [!note] Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
### Example
@@ -685,7 +685,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String couponValue = "couponValue_example"; // String | The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
+ String couponValue = "couponValue_example"; // String | The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
CouponReservations body = new CouponReservations(); // CouponReservations | body
try {
apiInstance.deleteCouponReservation(couponValue, body);
@@ -705,7 +705,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **couponValue** | **String**| The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. |
+ **couponValue** | **String**| The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. |
**body** | [**CouponReservations**](CouponReservations.md)| body |
### Return type cool
@@ -736,7 +736,7 @@ null (empty response body)
Delete customer's personal data
-Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours.
+Delete all attributes on the customer profile and on entities that reference this customer profile. > [!warning] **Warning** > - Customer data is deleted from all Applications in the > [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) > that the API key belongs to. For example, if you use this endpoint with an API key that belongs > to a sandbox Application, customer data will be deleted from all sandbox Applications. > This is because customer data is shared between Applications from the same environment. > - To preserve performance, we recommend avoiding deleting customer data > during peak-traffic hours.
### Example
@@ -761,7 +761,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
try {
apiInstance.deleteCustomerData(integrationId);
} catch (ApiException e) {
@@ -780,7 +780,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
### Return type cool
@@ -809,7 +809,7 @@ null (empty response body)
Delete customer's transactions from loyalty ledgers
-Delete a customer's transactions in all loyalty ledgers or a specified ledger. **Note:** To retrieve loyalty transaction logs for a specific customer in a given loyalty program, use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) endpoint.
+Delete a customer's transactions in all loyalty ledgers or a specified ledger. > [!note] To retrieve loyalty transaction logs for a specific customer in a given loyalty program, > use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) > endpoint.
### Example
@@ -835,7 +835,7 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
DeleteLoyaltyTransactionsRequest body = new DeleteLoyaltyTransactionsRequest(); // DeleteLoyaltyTransactionsRequest |
try {
apiInstance.deleteLoyaltyTransactionsFromLedgers(loyaltyProgramId, integrationId, body);
@@ -856,7 +856,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
**body** | [**DeleteLoyaltyTransactionsRequest**](DeleteLoyaltyTransactionsRequest.md)| |
### Return type cool
@@ -887,7 +887,7 @@ null (empty response body)
Generate loyalty card
-Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. **Note:** - The number of customer profiles linked to the loyalty card cannot exceed the loyalty program's `usersPerCardLimit`. To find the program's limit, use the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) endpoint. - If the loyalty program has a defined code format, it will be used for the loyalty card identifier.
+Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. > [!note] **Note** > - The number of customer profiles linked to the loyalty card cannot exceed > the loyalty program's `usersPerCardLimit`. To find the program's limit, use > the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) > endpoint. > - If the loyalty program has a defined code format, it will be used for the > loyalty card identifier.
### Example
@@ -959,7 +959,7 @@ Name | Type | Description | Notes
## getCustomerAchievementHistory
-> InlineResponse2002 getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip)
+> InlineResponse2003 getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip)
List customer's achievement history
@@ -996,7 +996,7 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
try {
- InlineResponse2002 result = apiInstance.getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip);
+ InlineResponse2003 result = apiInstance.getCustomerAchievementHistory(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getCustomerAchievementHistory");
@@ -1024,7 +1024,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2002**](InlineResponse2002.md)
+[**InlineResponse2003**](InlineResponse2003.md)
### Authorization
@@ -1046,7 +1046,7 @@ Name | Type | Description | Notes
## getCustomerAchievements
-> InlineResponse2001 getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip)
+> InlineResponse2002 getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip)
List customer's available achievements
@@ -1083,7 +1083,7 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
try {
- InlineResponse2001 result = apiInstance.getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip);
+ InlineResponse2002 result = apiInstance.getCustomerAchievements(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getCustomerAchievements");
@@ -1111,7 +1111,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2001**](InlineResponse2001.md)
+[**InlineResponse2002**](InlineResponse2002.md)
### Authorization
@@ -1162,7 +1162,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ String integrationId = "integrationId_example"; // String | The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
Boolean profile = true; // Boolean | Set to `true` to include customer profile information in the response.
Boolean referrals = true; // Boolean | Set to `true` to include referral information in the response.
Boolean coupons = true; // Boolean | Set to `true` to include coupon information in the response.
@@ -1188,7 +1188,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **integrationId** | **String**| The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
**profile** | **Boolean**| Set to `true` to include customer profile information in the response. | [optional]
**referrals** | **Boolean**| Set to `true` to include referral information in the response. | [optional]
**coupons** | **Boolean**| Set to `true` to include coupon information in the response. | [optional]
@@ -1248,7 +1248,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
try {
IntegrationCustomerSessionResponse result = apiInstance.getCustomerSession(customerSessionId);
System.out.println(result);
@@ -1268,7 +1268,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. |
+ **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. |
### Return type cool
@@ -1297,7 +1297,7 @@ Name | Type | Description | Notes
Get customer's loyalty balances
-Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. > [!note] If no filtering options are applied, you retrieve all loyalty > balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
### Example
@@ -1324,7 +1324,7 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data.
Boolean includeTiers = false; // Boolean | Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier.
Boolean includeProjectedTier = false; // Boolean | Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance.
@@ -1349,7 +1349,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
**includeTiers** | **Boolean**| Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. | [optional] [default to false]
**includeProjectedTier** | **Boolean**| Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. | [optional] [default to false]
@@ -1408,8 +1408,8 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match.
try {
LoyaltyCardBalances result = apiInstance.getLoyaltyCardBalances(loyaltyProgramId, loyaltyCardId, endDate, subledgerId);
@@ -1431,8 +1431,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional]
### Return type cool
@@ -1459,7 +1459,7 @@ Name | Type | Description | Notes
## getLoyaltyCardPoints
-> InlineResponse2005 getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort)
+> InlineResponse2006 getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort)
List card's unused loyalty points
@@ -1489,16 +1489,16 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
String status = "active"; // String | Filter points based on their status.
List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
Long pageSize = 50lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
- String sort = "sort_example"; // String | The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time.
+ String sort = "sort_example"; // String | The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time.
try {
- InlineResponse2005 result = apiInstance.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
+ InlineResponse2006 result = apiInstance.getLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getLoyaltyCardPoints");
@@ -1517,18 +1517,18 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**status** | **String**| Filter points based on their status. | [optional] [default to active] [enum: active, pending, expired]
**subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional]
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
- **sort** | **String**| The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. | [optional] [enum: startDate, expiryDate]
+ **sort** | **String**| The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. | [optional] [enum: startDate, expiryDate]
### Return type cool
-[**InlineResponse2005**](InlineResponse2005.md)
+[**InlineResponse2006**](InlineResponse2006.md)
### Authorization
@@ -1550,7 +1550,7 @@ Name | Type | Description | Notes
## getLoyaltyCardTransactions
-> InlineResponse2003 getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation)
+> InlineResponse2004 getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation)
List card's transactions
@@ -1580,18 +1580,18 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
List subledgerId = Arrays.asList(); // List | Filter results by one or more subledger IDs. Must be exact match.
String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file.
- OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
Long pageSize = 50lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean awaitsActivation = true; // Boolean | If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response.
try {
- InlineResponse2003 result = apiInstance.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation);
+ InlineResponse2004 result = apiInstance.getLoyaltyCardTransactions(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getLoyaltyCardTransactions");
@@ -1610,20 +1610,20 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**subledgerId** | [**List<String>**](String.md)| Filter results by one or more subledger IDs. Must be exact match. | [optional]
**loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import]
- **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**awaitsActivation** | **Boolean**| If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. | [optional]
### Return type cool
-[**InlineResponse2003**](InlineResponse2003.md)
+[**InlineResponse2004**](InlineResponse2004.md)
### Authorization
@@ -1645,7 +1645,7 @@ Name | Type | Description | Notes
## getLoyaltyProgramProfilePoints
-> InlineResponse2006 getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort)
+> InlineResponse2007 getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort)
List customer's unused loyalty points
@@ -1684,7 +1684,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time.
try {
- InlineResponse2006 result = apiInstance.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
+ InlineResponse2007 result = apiInstance.getLoyaltyProgramProfilePoints(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getLoyaltyProgramProfilePoints");
@@ -1714,7 +1714,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2006**](InlineResponse2006.md)
+[**InlineResponse2007**](InlineResponse2007.md)
### Authorization
@@ -1736,11 +1736,11 @@ Name | Type | Description | Notes
## getLoyaltyProgramProfileTransactions
-> InlineResponse2004 getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation)
+> InlineResponse2005 getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation)
List customer's loyalty transactions
-Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. > [!note] To retrieve all loyalty program transaction logs in a given > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) > endpoint.
### Example
@@ -1767,17 +1767,17 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data.
String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file.
- OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long pageSize = 50lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean awaitsActivation = true; // Boolean | If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response.
try {
- InlineResponse2004 result = apiInstance.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
+ InlineResponse2005 result = apiInstance.getLoyaltyProgramProfileTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getLoyaltyProgramProfileTransactions");
@@ -1797,19 +1797,19 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. |
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
**loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import]
- **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**awaitsActivation** | **Boolean**| If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. | [optional]
### Return type cool
-[**InlineResponse2004**](InlineResponse2004.md)
+[**InlineResponse2005**](InlineResponse2005.md)
### Authorization
@@ -1831,7 +1831,7 @@ Name | Type | Description | Notes
## getReservedCustomers
-> InlineResponse200 getReservedCustomers(couponValue)
+> InlineResponse2001 getReservedCustomers(couponValue)
List customers that have this coupon reserved
@@ -1862,7 +1862,7 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
String couponValue = "couponValue_example"; // String | The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`.
try {
- InlineResponse200 result = apiInstance.getReservedCustomers(couponValue);
+ InlineResponse2001 result = apiInstance.getReservedCustomers(couponValue);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#getReservedCustomers");
@@ -1884,7 +1884,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse200**](InlineResponse200.md)
+[**InlineResponse2001**](InlineResponse2001.md)
### Authorization
@@ -1904,13 +1904,13 @@ Name | Type | Description | Notes
| **404** | Not found | - |
-## linkLoyaltyCardToProfile
+## integrationGetAllCampaigns
-> LoyaltyCard linkLoyaltyCardToProfile(loyaltyProgramId, loyaltyCardId, body)
+> InlineResponse200 integrationGetAllCampaigns(pageSize, skip, campaignIds, startAfter, startBefore, endAfter, endBefore)
-Link customer profile to card
+List all running campaigns
-[Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) allow customers to collect and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them. Link a customer profile to a given loyalty card for the card to be set as **Registered**. This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card). **Note:** You can link as many customer profiles to a given loyalty card as the [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs) allows.
+Retrieve all running campaigns for the specified Application. You can filter the results by providing specific campaign IDs or a range of start and end dates.
### Example
@@ -1935,14 +1935,18 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
- LoyaltyCardRegistration body = new LoyaltyCardRegistration(); // LoyaltyCardRegistration | body
+ Long pageSize = 50lL; // Long | The number of items in the response.
+ Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
+ List campaignIds = Arrays.asList(); // List | Filter by one or more campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned.
+ OffsetDateTime startAfter = new OffsetDateTime(); // OffsetDateTime | Filter results to only include campaigns that start on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime startBefore = new OffsetDateTime(); // OffsetDateTime | Filter results to only include campaigns that start on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endAfter = new OffsetDateTime(); // OffsetDateTime | Filter results to only include campaigns that end on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endBefore = new OffsetDateTime(); // OffsetDateTime | Filter results to only include campaigns that end on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
try {
- LoyaltyCard result = apiInstance.linkLoyaltyCardToProfile(loyaltyProgramId, loyaltyCardId, body);
+ InlineResponse200 result = apiInstance.integrationGetAllCampaigns(pageSize, skip, campaignIds, startAfter, startBefore, endAfter, endBefore);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling IntegrationApi#linkLoyaltyCardToProfile");
+ System.err.println("Exception when calling IntegrationApi#integrationGetAllCampaigns");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -1957,13 +1961,17 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
- **body** | [**LoyaltyCardRegistration**](LoyaltyCardRegistration.md)| body |
+ **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
+ **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
+ **campaignIds** | [**List<String>**](String.md)| Filter by one or more campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned. | [optional]
+ **startAfter** | **OffsetDateTime**| Filter results to only include campaigns that start on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **startBefore** | **OffsetDateTime**| Filter results to only include campaigns that start on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endAfter** | **OffsetDateTime**| Filter results to only include campaigns that end on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endBefore** | **OffsetDateTime**| Filter results to only include campaigns that end on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
### Return type cool
-[**LoyaltyCard**](LoyaltyCard.md)
+[**InlineResponse200**](InlineResponse200.md)
### Authorization
@@ -1971,7 +1979,7 @@ Name | Type | Description | Notes
### HTTP request headers
-- **Content-Type**: application/json
+- **Content-Type**: Not defined
- **Accept**: application/json
### HTTP response details
@@ -1983,13 +1991,13 @@ Name | Type | Description | Notes
| **404** | Not found | - |
-## priceHistory
+## linkLoyaltyCardToProfile
-> PriceHistoryResponse priceHistory(body)
+> LoyaltyCard linkLoyaltyCardToProfile(loyaltyProgramId, loyaltyCardId, body)
-Get summary of price history
+Link customer profile to card
-Fetch the historical price data for a given SKU within a defined timeframe.
+[Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) allow customers to collect and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them. Link a customer profile to a given loyalty card for the card to be set as **Registered**. This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card). > [!note] You can link as many customer profiles to a given loyalty card as the > [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs) > allows.
### Example
@@ -2013,25 +2021,15 @@ public class Example {
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key_v1.setApiKeyPrefix("Token");
- // Configure API key authorization: management_key
- ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
- management_key.setApiKey("YOUR API KEY");
- // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
- //management_key.setApiKeyPrefix("Token");
-
- // Configure API key authorization: manager_auth
- ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
- manager_auth.setApiKey("YOUR API KEY");
- // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
- //manager_auth.setApiKeyPrefix("Token");
-
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- PriceHistoryRequest body = new PriceHistoryRequest(); // PriceHistoryRequest | body
+ Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
+ LoyaltyCardRegistration body = new LoyaltyCardRegistration(); // LoyaltyCardRegistration | body
try {
- PriceHistoryResponse result = apiInstance.priceHistory(body);
+ LoyaltyCard result = apiInstance.linkLoyaltyCardToProfile(loyaltyProgramId, loyaltyCardId, body);
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling IntegrationApi#priceHistory");
+ System.err.println("Exception when calling IntegrationApi#linkLoyaltyCardToProfile");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2046,15 +2044,17 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**PriceHistoryRequest**](PriceHistoryRequest.md)| body |
+ **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
+ **body** | [**LoyaltyCardRegistration**](LoyaltyCardRegistration.md)| body |
### Return type cool
-[**PriceHistoryResponse**](PriceHistoryResponse.md)
+[**LoyaltyCard**](LoyaltyCard.md)
### Authorization
-[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+[api_key_v1](../README.md#api_key_v1)
### HTTP request headers
@@ -2064,7 +2064,10 @@ Name | Type | Description | Notes
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
-| **200** | Ok | - |
+| **200** | OK | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized | - |
+| **404** | Not found | - |
## reopenCustomerSession
@@ -2073,7 +2076,7 @@ Name | Type | Description | Notes
Reopen customer session
-Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> <p>To see an example of a rollback, see the <a href=\"https://docs.talon.one/docs/dev/tutorials/rolling-back-effects\">Cancelling a session with campaign budgets</a> tutorial.</p> **Note:** If your order workflow requires you to create a new session instead of reopening a session, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint to cancel a closed session and create a new one.
+Reopen a closed [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). For example, if a session has been completed but still needs to be edited, you can reopen it with this endpoint. A reopen session is treated like a standard open session. When reopening a session: - The `talon_session_reopened` event is triggered. You can see it in the **Events** view in the Campaign Manager. - The session state is updated to `open`. - Any modified budgets and triggered effects are rolled back when the session closes. - Depending on the [return policy](https://docs.talon.one/docs/product/loyalty-programs/managing-loyalty-programs#return-policy) in your loyalty programs, points are rolled back in the following ways: - Pending points are rolled back automatically. - If **Active points deduction** setting is enabled, any points that were earned and activated when the session closed are rolled back. - If **Negative balance** is enabled, the rollback can create a negative points balance. <details> <summary><strong>Effects and budgets unimpacted by a session reopening</strong></summary> <div> <p>The following effects and budgets remain in the state they were in when the session closed:</p> <ul> <li>Add free item effect</li> <li>Award giveaway</li> <li>Coupon and referral creation</li> <li>Coupon reservation</li> <li>Custom effect</li> <li>Update attribute value</li> <li>Update cart item attribute value</li> </ul> </div> </details> To see an example of a rollback, see the [Cancelling a session with campaign budgets](https://docs.talon.one/docs/dev/tutorials/rolling-back-effects) tutorial. > [!note] If your order workflow requires you to create a new session > instead of reopening a session, use the > [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) > endpoint to cancel a closed session and create a new one.
### Example
@@ -2098,7 +2101,7 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
try {
ReopenSessionResponse result = apiInstance.reopenCustomerSession(customerSessionId);
System.out.println(result);
@@ -2118,7 +2121,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. |
+ **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. |
### Return type cool
@@ -2143,11 +2146,11 @@ Name | Type | Description | Notes
## returnCartItems
-> IntegrationStateV2 returnCartItems(customerSessionId, body, dry)
+> IntegrationStateV2 returnCartItems(customerSessionId, body, dry, runRuleEngine)
Return cart items
-Create a new return request for the specified cart items. This endpoint automatically changes the session state from `closed` to `partially_returned`. **Note:** This will roll back any effects associated with these cart items. For more information, see [our documentation on session states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) and [this tutorial](https://docs.talon.one/docs/dev/tutorials/partially-returning-a-session).
+Create a new return request for the specified cart items. This endpoint automatically changes the session state from `closed` to `partially_returned`. > [!note] This will roll back any effects associated with these cart items. > For more information, see [our documentation on session > states](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) > and [this tutorial](https://docs.talon.one/docs/dev/tutorials/partially-returning-a-session). > [!note] To make request processing idempotent for this endpoint, include the `Idempotency-Key` header with an idempotency key in requests. Also: > - Requests with the `Idempotency-Key` header are logged in the Talon.One access logs. > - Responses for idempotent requests are stored in the database and expire 24 hours after the request is sent. > - Idempotency keys are typically UUID keys and should not exceed 255 characters in length.
### Example
@@ -2172,11 +2175,12 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
ReturnIntegrationRequest body = new ReturnIntegrationRequest(); // ReturnIntegrationRequest | body
Boolean dry = true; // Boolean | Indicates whether to persist the changes. Changes are ignored when `dry=true`.
+ Boolean runRuleEngine = true; // Boolean | When set to `true`, reevaluates the updated session after items are returned. Only reevaluates campaigns where `reevaluateOnReturn` is set to `true` and which produced an effect when the session was closed.
try {
- IntegrationStateV2 result = apiInstance.returnCartItems(customerSessionId, body, dry);
+ IntegrationStateV2 result = apiInstance.returnCartItems(customerSessionId, body, dry, runRuleEngine);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IntegrationApi#returnCartItems");
@@ -2194,9 +2198,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. |
+ **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. |
**body** | [**ReturnIntegrationRequest**](ReturnIntegrationRequest.md)| body |
**dry** | **Boolean**| Indicates whether to persist the changes. Changes are ignored when `dry=true`. | [optional]
+ **runRuleEngine** | **Boolean**| When set to `true`, reevaluates the updated session after items are returned. Only reevaluates campaigns where `reevaluateOnReturn` is set to `true` and which produced an effect when the session was closed. | [optional]
### Return type cool
@@ -2225,7 +2230,7 @@ Name | Type | Description | Notes
Sync cart item catalog
-Perform the following actions for a given cart item catalog: - Add an item to the catalog. - Add multiple items to the catalog. - Update the attributes of an item in the catalog. - Update the attributes of multiple items in the catalog. - Remove an item from the catalog. - Remove multiple items from the catalog. You can either add, update, or delete up to 1000 cart items in a single request. Each item synced to a catalog must have a unique `SKU`. **Important**: You can perform only one type of action in a single sync request. Syncing items with duplicate `SKU` values in a single request returns an error message with a `400` status code. For more information, read [managing cart item catalogs](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs). ### Filtering cart items Use [cart item attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) to filter items and select the ones you want to edit or delete when editing or deleting more than one item at a time. The `filters` array contains an object with the following properties: - `attr`: A [cart item attribute](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) connected to the catalog. It is applied to all items in the catalog. - `op`: The filtering operator indicating the relationship between the value of each cart item in the catalog and the value of the `value` property for the attribute selected in `attr`. The value of `op` can be one of the following: - `EQ`: Equal to `value` - `LT`: Less than `value` - `LE`: Less than or equal to `value` - `GT`: Greater than `value` - `GE`: Greater than or equal to `value` - `IN`: One of the comma-separated values that `value` is set to. **Note:** `GE`, `LE`, `GT`, `LT` are for numeric values only. - `value`: The value of the attribute selected in `attr`. ### Payload examples Synchronization actions are sent as `PUT` requests. See the structure for each action: <details> <summary><strong>Adding an item to the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241028\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" } ] } ``` </div> </details> <details> <summary><strong>Adding multiple items to the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241027\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" }, { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241028\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" } ] } ``` </div> </details> <details> <summary><strong>Updating the attributes of an item in the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"age\": 11, \"origin\": \"germany\" }, \"createIfNotExists\": false, \"sku\": \"SKU1241028\", \"product\": { \"name\": \"sneakers\" } }, \"type\": \"PATCH\" } ] } ``` </div> </details> <details> <summary><strong>Updating the attributes of multiple items in the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"red\" }, \"filters\": [ { \"attr\": \"color\", \"op\": \"EQ\", \"value\": \"blue\" } ] }, \"type\": \"PATCH_MANY\" } ] } ``` </div> </details> <details> <summary><strong>Removing an item from the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"sku\": \"SKU1241028\" }, \"type\": \"REMOVE\" } ] } ``` </div> </details> <details> <summary><strong>Removing multiple items from the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"filters\": [ { \"attr\": \"color\", \"op\": \"EQ\", \"value\": \"blue\" } ] }, \"type\": \"REMOVE_MANY\" } ] } ``` </div> </details> <details> <summary><strong>Removing shoes of sizes above 45 from the catalog</strong></summary> <div> <p> Let's imagine that we have a shoe store and we have decided to stop selling shoes larger than size 45. We can remove from the catalog all the shoes of sizes above 45 with a single action:</p> ```json { \"actions\": [ { \"payload\": { \"filters\": [ { \"attr\": \"size\", \"op\": \"GT\", \"value\": \"45\" } ] }, \"type\": \"REMOVE_MANY\" } ] } ``` </div> </details>
+Perform the following actions for a given cart item catalog: - Add an item to the catalog. - Add multiple items to the catalog. - Update the attributes of an item in the catalog. - Update the attributes of multiple items in the catalog. - Remove an item from the catalog. - Remove multiple items from the catalog. You can either add, update, or delete up to 1000 cart items in a single request. Each item synced to a catalog must have a unique `SKU`. > [!important] You can perform only one type of action in a single sync request. Syncing items with duplicate `SKU` values in a single request returns an error message with a `400` status code. For more information, read [managing cart item catalogs](https://docs.talon.one/docs/product/account/dev-tools/managing-cart-item-catalogs). ### Filtering cart items Use [cart item attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) to filter items and select the ones you want to edit or delete when editing or deleting more than one item at a time. The `filters` array contains an object with the following properties: - `attr`: A [cart item attribute](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes) connected to the catalog. It is applied to all items in the catalog. - `op`: The filtering operator indicating the relationship between the value of each cart item in the catalog and the value of the `value` property for the attribute selected in `attr`. The value of `op` can be one of the following: - `EQ`: Equal to `value` - `LT`: Less than `value` - `LE`: Less than or equal to `value` - `GT`: Greater than `value` - `GE`: Greater than or equal to `value` - `IN`: One of the comma-separated values that `value` is set to. **Note:** `GE`, `LE`, `GT`, `LT` are for numeric values only. - `value`: The value of the attribute selected in `attr`. ### Payload examples Synchronization actions are sent as `PUT` requests. See the structure for each action: <details> <summary><strong>Adding an item to the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241028\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" } ] } ``` </div> </details> <details> <summary><strong>Adding multiple items to the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241027\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" }, { \"payload\": { \"attributes\": { \"color\": \"Navy blue\", \"type\": \"shoes\" }, \"replaceIfExists\": true, \"sku\": \"SKU1241028\", \"price\": 100, \"product\": { \"name\": \"sneakers\" } }, \"type\": \"ADD\" } ] } ``` </div> </details> <details> <summary><strong>Updating the attributes of an item in the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"age\": 11, \"origin\": \"germany\" }, \"createIfNotExists\": false, \"sku\": \"SKU1241028\", \"product\": { \"name\": \"sneakers\" } }, \"type\": \"PATCH\" } ] } ``` </div> </details> <details> <summary><strong>Updating the attributes of multiple items in the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"attributes\": { \"color\": \"red\" }, \"filters\": [ { \"attr\": \"color\", \"op\": \"EQ\", \"value\": \"blue\" } ] }, \"type\": \"PATCH_MANY\" } ] } ``` </div> </details> <details> <summary><strong>Removing an item from the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"sku\": \"SKU1241028\" }, \"type\": \"REMOVE\" } ] } ``` </div> </details> <details> <summary><strong>Removing multiple items from the catalog</strong></summary> <div> ```json { \"actions\": [ { \"payload\": { \"filters\": [ { \"attr\": \"color\", \"op\": \"EQ\", \"value\": \"blue\" } ] }, \"type\": \"REMOVE_MANY\" } ] } ``` </div> </details> <details> <summary><strong>Removing shoes of sizes above 45 from the catalog</strong></summary> <div> <p> Let's imagine that we have a shoe store and we have decided to stop selling shoes larger than size 45. We can remove from the catalog all the shoes of sizes above 45 with a single action:</p> ```json { \"actions\": [ { \"payload\": { \"filters\": [ { \"attr\": \"size\", \"op\": \"GT\", \"value\": \"45\" } ] }, \"type\": \"REMOVE_MANY\" } ] } ``` </div> </details>
### Example
@@ -2302,7 +2307,7 @@ Name | Type | Description | Notes
Track event
-Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). <div class=\"redoc-section\"> <p class=\"title\">Important</p> 1. `profileId` is required even though the schema does not specify it. 1. If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. 1. We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). 1. [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation. </div>
+Triggers a custom event. To use this endpoint: 1. Define a [custom event](https://docs.talon.one/docs/dev/concepts/entities/events#creating-a-custom-event) in the Campaign Manager. 1. Update or create a rule to check for this event. 1. Trigger the event with this endpoint. After you have successfully sent an event to Talon.One, you can list the received events in the **Events** view in the Campaign Manager. Talon.One also offers a set of [built-in events](https://docs.talon.one/docs/dev/concepts/entities/events). Ensure you do not create a custom event when you can use a built-in event. For example, use this endpoint to trigger an event when a customer shares a link to a product. See the [tutorial](https://docs.talon.one/docs/product/tutorials/referrals/incentivizing-product-link-sharing). > [!note] **Note** > - `profileId` is required even though the schema does not specify it. > - If the customer profile ID is new, a new profile is automatically created but the `customer_profile_created` [built-in event ](https://docs.talon.one/docs/dev/concepts/entities/events) is **not** triggered. > - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation.
### Example
@@ -2383,7 +2388,7 @@ Name | Type | Description | Notes
Unlink customer profile from a loyalty card
-Unlink a customer profile from a [registered](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card) loyalty card. To get the `integrationId` of a customer profile, you can use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+Unlink a customer profile from a [registered](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card) loyalty card. To get the `integrationId` of a customer profile, you can use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
### Example
@@ -2409,7 +2414,7 @@ public class Example {
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | The identifier of the card-based loyalty program containing the loyalty card. You can get this ID using the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | The identifier of the loyalty card. You can get this ID using the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | The identifier of the loyalty card. You can get this ID using the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
LoyaltyCardRegistration body = new LoyaltyCardRegistration(); // LoyaltyCardRegistration | body
try {
LoyaltyCard result = apiInstance.unlinkLoyaltyCardFromProfile(loyaltyProgramId, loyaltyCardId, body);
@@ -2431,7 +2436,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| The identifier of the card-based loyalty program containing the loyalty card. You can get this ID using the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| The identifier of the loyalty card. You can get this ID using the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| The identifier of the loyalty card. You can get this ID using the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**body** | [**LoyaltyCardRegistration**](LoyaltyCardRegistration.md)| body |
### Return type cool
@@ -2613,7 +2618,7 @@ Name | Type | Description | Notes
Update multiple customer profiles' audiences
-Add customer profiles to or remove them from an audience. The endpoint supports 1000 audience actions (`add` or `remove`) per request. **Note:** You can also do this using the [Update audience](https://docs.talon.one/docs/product/rules/effects/using-effects#updating-an-audience) effect.
+Add customer profiles to or remove them from an audience. The endpoint supports 1000 audience actions (`add` or `remove`) per request. > [!note] You can also do this using the > [Update audience](https://docs.talon.one/docs/product/rules/effects/using-effects#updating-an-audience) > effect.
### Example
@@ -2687,7 +2692,7 @@ null (empty response body)
Update customer profile
-Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. **Note:** [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer profile returns a response with the requested integration state. - You can use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div>
+Update or create a [Customer Profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles). This endpoint triggers the Rule Builder. You can use this endpoint to: - Set attributes on the given customer profile. Ensure you create the attributes in the Campaign Manager, first. - Modify the audience the customer profile is a member of. > [!note] **Note** > - Updating a customer profile returns a response with the requested integration state. > - You can use the `responseContent` property to save yourself extra API calls. For example, you can get > the customer profile details directly without extra requests. > - We recommend sending requests sequentially. > See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered in rule evaluation when `runRuleEngine` is `true`.
### Example
@@ -2768,7 +2773,7 @@ Name | Type | Description | Notes
Update multiple customer profiles
-Update (or create) up to 1000 [customer profiles](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) in 1 request. The `integrationId` must be any identifier that remains stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. A customer profile [can be linked to one or more sessions](https://docs.talon.one/integration-api#tag/Customer-sessions). **Note:** This endpoint does not trigger the Rule Engine. To trigger the Rule Engine for customer profile updates, use the [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint.
+Update (or create) up to 1000 [customer profiles](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) in 1 request. The `integrationId` must be any identifier that remains stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. A customer profile [can be linked to one or more sessions](https://docs.talon.one/integration-api#tag/Customer-sessions). > [!note] This endpoint does not trigger the Rule Engine. > To trigger the Rule Engine for customer profile updates, > use the [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint.
### Example
@@ -2844,7 +2849,7 @@ Name | Type | Description | Notes
Update customer session
-Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. **Note:** - The currency for the session and the cart items in it is the currency set for the Application linked to this session. - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. **Note:** If the specified profile does not exist, an empty profile is **created automatically**. You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. For example, you can get the customer profile details directly without extra requests. - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). </div> For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
+Update or create a [customer session](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions). The endpoint responds with the potential promotion rule [effects](https://docs.talon.one/docs/dev/integration-api/api-effects) that match the current cart. For example, use this endpoint to share the contents of a customer's cart with Talon.One. > [!note] **Note** > - The currency for the session and the cart items in it is the currency set for the Application linked to this session. > - [Archived campaigns](https://docs.talon.one/docs/product/campaigns/managing-campaigns#archiving-a-campaign) are not considered for rule evaluation. ### Session management To use this endpoint, start by learning about [customer sessions](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions) and their states and refer to the `state` parameter documentation the request body schema docs below. ### Sessions and customer profiles - To link a session to a customer profile, set the `profileId` parameter in the request body to a customer profile's `integrationId`. - While you can create an anonymous session with `profileId=\"\"`, we recommend you use a guest ID instead. - A profile can be linked to simultaneous sessions in different Applications. Either: - Use unique session integration IDs or, - Use the same session integration ID across all of the Applications. > [!note] **Note** > - If the specified profile does not exist, an empty profile is **created automatically**. > You can update it with [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2). > - Updating a customer session returns a response with the new integration state. Use the `responseContent` property to save yourself extra API calls. > For example, you can get the customer profile details directly without extra requests. > - We recommend sending requests sequentially. See [Managing parallel requests](https://docs.talon.one/docs/dev/getting-started/integration-tutorial#managing-parallel-requests). For more information, see: - The introductory video in [Getting started](https://docs.talon.one/docs/dev/getting-started/overview). - The [integration tutorial](https://docs.talon.one/docs/dev/tutorials/integrating-talon-one).
### Example
@@ -2869,10 +2874,10 @@ public class Example {
//api_key_v1.setApiKeyPrefix("Token");
IntegrationApi apiInstance = new IntegrationApi(defaultClient);
- String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint.
+ String customerSessionId = "customerSessionId_example"; // String | The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint.
IntegrationRequest body = new IntegrationRequest(); // IntegrationRequest | body
Boolean dry = true; // Boolean | Indicates whether to persist the changes. Changes are ignored when `dry=true`. When set to `true`: - The endpoint considers **only** the payload that you pass when **closing** the session. When you do not use the `dry` parameter, the endpoint behaves as a typical PUT endpoint. Each update builds upon the previous ones. - You can use the `evaluableCampaignIds` body property to select specific campaigns to run. [See the docs](https://docs.talon.one/docs/dev/integration-api/dry-requests).
- OffsetDateTime now = new OffsetDateTime(); // OffsetDateTime | A timestamp value of a future date that acts as a current date when included in the query. Use this parameter, for example, to test campaigns that would be evaluated for this customer session in the future (say, [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)). **Note:** - It must be an RFC3339 timestamp string. - It can **only** be a date in the future. - It can **only** be used if the `dry` parameter in the query is set to `true`.
+ OffsetDateTime now = new OffsetDateTime(); // OffsetDateTime | A timestamp value of a future date that acts as a current date when included in the query. Use this parameter, for example, to test campaigns that would be evaluated for this customer session in the future (say, [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)). > [!note] **Note** > - It must be an RFC3339 timestamp string. > - It can **only** be a date in the future. > - It can **only** be used if the `dry` parameter in the query is set to `true`.
try {
IntegrationStateV2 result = apiInstance.updateCustomerSessionV2(customerSessionId, body, dry, now);
System.out.println(result);
@@ -2892,10 +2897,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. |
+ **customerSessionId** | **String**| The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. |
**body** | [**IntegrationRequest**](IntegrationRequest.md)| body |
**dry** | **Boolean**| Indicates whether to persist the changes. Changes are ignored when `dry=true`. When set to `true`: - The endpoint considers **only** the payload that you pass when **closing** the session. When you do not use the `dry` parameter, the endpoint behaves as a typical PUT endpoint. Each update builds upon the previous ones. - You can use the `evaluableCampaignIds` body property to select specific campaigns to run. [See the docs](https://docs.talon.one/docs/dev/integration-api/dry-requests). | [optional]
- **now** | **OffsetDateTime**| A timestamp value of a future date that acts as a current date when included in the query. Use this parameter, for example, to test campaigns that would be evaluated for this customer session in the future (say, [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)). **Note:** - It must be an RFC3339 timestamp string. - It can **only** be a date in the future. - It can **only** be used if the `dry` parameter in the query is set to `true`. | [optional]
+ **now** | **OffsetDateTime**| A timestamp value of a future date that acts as a current date when included in the query. Use this parameter, for example, to test campaigns that would be evaluated for this customer session in the future (say, [scheduled campaigns](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-schedule)). > [!note] **Note** > - It must be an RFC3339 timestamp string. > - It can **only** be a date in the future. > - It can **only** be used if the `dry` parameter in the query is set to `true`. | [optional]
### Return type cool
diff --git a/docs/IntegrationCampaign.md b/docs/IntegrationCampaign.md
new file mode 100644
index 00000000..e376a6c3
--- /dev/null
+++ b/docs/IntegrationCampaign.md
@@ -0,0 +1,42 @@
+
+
+# IntegrationCampaign
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | Unique ID of Campaign. |
+**applicationId** | **Long** | The ID of the Application that owns this entity. |
+**name** | **String** | A user-facing name for this campaign. |
+**description** | **String** | A detailed description of the campaign. | [optional]
+**startTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become active. | [optional]
+**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
+**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
+**state** | [**StateEnum**](#StateEnum) | The state of the campaign. |
+**tags** | **List<String>** | A list of tags for the campaign. |
+**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
+
+
+
+## Enum: StateEnum
+
+Name | Value
+---- | -----
+ENABLED | "enabled"
+
+
+
+## Enum: List<FeaturesEnum>
+
+Name | Value
+---- | -----
+COUPONS | "coupons"
+REFERRALS | "referrals"
+LOYALTY | "loyalty"
+GIVEAWAYS | "giveaways"
+STRIKETHROUGH | "strikethrough"
+ACHIEVEMENTS | "achievements"
+
+
+
diff --git a/docs/IntegrationHubConfig.md b/docs/IntegrationHubConfig.md
new file mode 100644
index 00000000..a474ea43
--- /dev/null
+++ b/docs/IntegrationHubConfig.md
@@ -0,0 +1,14 @@
+
+
+# IntegrationHubConfig
+
+Config used for accessing integrations in IntegrationHub
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**integrationHubUrl** | **String** | The url used to integrate the IntegrationHub Marketplace. |
+**accessToken** | **String** | Access token used to authenticate a user in Talon.One. |
+
+
+
diff --git a/docs/IntegrationHubEventPayloadCouponBasedNotifications.md b/docs/IntegrationHubEventPayloadCouponBasedNotifications.md
new file mode 100644
index 00000000..de62cedf
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadCouponBasedNotifications.md
@@ -0,0 +1,32 @@
+
+
+# IntegrationHubEventPayloadCouponBasedNotifications
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | |
+**campaignId** | **Long** | |
+**value** | **String** | |
+**usageLimit** | **Long** | |
+**discountLimit** | **Float** | | [optional]
+**reservationLimit** | **Long** | | [optional]
+**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**usageCounter** | **Long** | |
+**discountCounter** | **Float** | | [optional]
+**discountRemainder** | **Float** | | [optional]
+**referralId** | **Long** | | [optional]
+**recipientIntegrationId** | **String** | | [optional]
+**importId** | **Long** | | [optional]
+**batchId** | **String** | | [optional]
+**attributes** | [**Object**](.md) | | [optional]
+**limits** | [**List<IntegrationHubEventPayloadCouponBasedNotificationsLimits>**](IntegrationHubEventPayloadCouponBasedNotificationsLimits.md) | | [optional]
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the event was published. |
+**sourceOfEvent** | **String** | |
+**employeeName** | **String** | |
+
+
+
diff --git a/docs/IntegrationHubEventPayloadCouponBasedNotificationsLimits.md b/docs/IntegrationHubEventPayloadCouponBasedNotificationsLimits.md
new file mode 100644
index 00000000..398af9be
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadCouponBasedNotificationsLimits.md
@@ -0,0 +1,15 @@
+
+
+# IntegrationHubEventPayloadCouponBasedNotificationsLimits
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**action** | **String** | |
+**limit** | **Float** | |
+**period** | **String** | | [optional]
+**entities** | **List<String>** | |
+
+
+
diff --git a/docs/IntegrationHubEventPayloadLoyaltyProfileBasedNotification.md b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedNotification.md
new file mode 100644
index 00000000..12a3d996
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedNotification.md
@@ -0,0 +1,26 @@
+
+
+# IntegrationHubEventPayloadLoyaltyProfileBasedNotification
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**profileIntegrationID** | **String** | |
+**loyaltyProgramID** | **Long** | |
+**subledgerID** | **String** | |
+**sourceOfEvent** | **String** | |
+**employeeName** | **String** | | [optional]
+**userID** | **Long** | | [optional]
+**currentPoints** | **Float** | |
+**actions** | [**List<IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction>**](IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md) | | [optional]
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the event was published. |
+**currentTier** | **String** | | [optional]
+**oldTier** | **String** | | [optional]
+**tierExpirationDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**timestampOfTierChange** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**pointsRequiredToTheNextTier** | **Float** | | [optional]
+**nextTier** | **String** | | [optional]
+
+
+
diff --git a/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification.md b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification.md
new file mode 100644
index 00000000..45b9322d
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification.md
@@ -0,0 +1,20 @@
+
+
+# IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotification
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**profileIntegrationID** | **String** | |
+**loyaltyProgramID** | **Long** | |
+**subledgerID** | **String** | |
+**sourceOfEvent** | **String** | |
+**employeeName** | **String** | | [optional]
+**userID** | **Long** | | [optional]
+**currentPoints** | **Float** | |
+**actions** | [**List<IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction>**](IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md) | | [optional]
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the event was published. |
+
+
+
diff --git a/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md
new file mode 100644
index 00000000..207ee2c3
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction.md
@@ -0,0 +1,26 @@
+
+
+# IntegrationHubEventPayloadLoyaltyProfileBasedPointsChangedNotificationAction
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**amount** | **Float** | |
+**reason** | **String** | | [optional]
+**operation** | [**OperationEnum**](#OperationEnum) | |
+**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**transactionUUID** | [**UUID**](UUID.md) | The identifier of the transaction in the loyalty ledger. |
+
+
+
+## Enum: OperationEnum
+
+Name | Value
+---- | -----
+ADDITION | "addition"
+SUBTRACTION | "subtraction"
+
+
+
diff --git a/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification.md b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification.md
new file mode 100644
index 00000000..46772660
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification.md
@@ -0,0 +1,21 @@
+
+
+# IntegrationHubEventPayloadLoyaltyProfileBasedTierDowngradeNotification
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**profileIntegrationID** | **String** | |
+**loyaltyProgramID** | **Long** | |
+**subledgerID** | **String** | |
+**sourceOfEvent** | **String** | |
+**currentTier** | **String** | | [optional]
+**currentPoints** | **Float** | |
+**oldTier** | **String** | | [optional]
+**tierExpirationDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**timestampOfTierChange** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the event was published. |
+
+
+
diff --git a/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification.md b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification.md
new file mode 100644
index 00000000..dbda7e6f
--- /dev/null
+++ b/docs/IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification.md
@@ -0,0 +1,23 @@
+
+
+# IntegrationHubEventPayloadLoyaltyProfileBasedTierUpgradeNotification
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**profileIntegrationID** | **String** | |
+**loyaltyProgramID** | **Long** | |
+**subledgerID** | **String** | |
+**sourceOfEvent** | **String** | |
+**currentTier** | **String** | | [optional]
+**currentPoints** | **Float** | |
+**oldTier** | **String** | | [optional]
+**pointsRequiredToTheNextTier** | **Float** | | [optional]
+**nextTier** | **String** | | [optional]
+**tierExpirationDate** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**timestampOfTierChange** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the event was published. |
+
+
+
diff --git a/docs/IntegrationHubEventRecord.md b/docs/IntegrationHubEventRecord.md
new file mode 100644
index 00000000..f9ccd850
--- /dev/null
+++ b/docs/IntegrationHubEventRecord.md
@@ -0,0 +1,19 @@
+
+
+# IntegrationHubEventRecord
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | |
+**flowId** | **Long** | |
+**eventType** | **String** | |
+**eventData** | [**Object**](.md) | |
+**publishedAt** | [**OffsetDateTime**](OffsetDateTime.md) | |
+**processedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional]
+**processAfter** | [**OffsetDateTime**](OffsetDateTime.md) | |
+**retry** | **Long** | |
+
+
+
diff --git a/docs/IntegrationHubFlow.md b/docs/IntegrationHubFlow.md
new file mode 100644
index 00000000..57035e01
--- /dev/null
+++ b/docs/IntegrationHubFlow.md
@@ -0,0 +1,14 @@
+
+
+# IntegrationHubFlow
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**applicationID** | **Long** | ID of application the flow is registered for. | [optional]
+**eventType** | **String** | The event type we want to register a flow for. |
+**integrationHubFlowUrl** | **String** | The URL of the integration hub flow that we want to trigger for the event. |
+
+
+
diff --git a/docs/IntegrationHubFlowConfig.md b/docs/IntegrationHubFlowConfig.md
new file mode 100644
index 00000000..74f5a01b
--- /dev/null
+++ b/docs/IntegrationHubFlowConfig.md
@@ -0,0 +1,15 @@
+
+
+# IntegrationHubFlowConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**apiKey** | **String** | |
+**workerCount** | **Long** | Number of IntegrationHub workers to run in parallel for this flow (maximum 500). | [optional]
+**maxEventsPerMessage** | **Long** | Maximum number of events to send in a single message to IntegrationHub. | [optional]
+**maxRetries** | **Long** | Maximum number of retries for a IntegrationHub event before it is ignored. | [optional]
+
+
+
diff --git a/docs/IntegrationHubFlowConfigResponse.md b/docs/IntegrationHubFlowConfigResponse.md
new file mode 100644
index 00000000..d8c632c0
--- /dev/null
+++ b/docs/IntegrationHubFlowConfigResponse.md
@@ -0,0 +1,14 @@
+
+
+# IntegrationHubFlowConfigResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**workerCount** | **Long** | Number of IntegrationHub workers to run in parallel for this flow (maximum 500). | [optional]
+**maxEventsPerMessage** | **Long** | Maximum number of events to send in a single message to IntegrationHub. | [optional]
+**maxRetries** | **Long** | Maximum number of retries for a IntegrationHub event before it is ignored. | [optional]
+
+
+
diff --git a/docs/IntegrationHubFlowResponse.md b/docs/IntegrationHubFlowResponse.md
new file mode 100644
index 00000000..22a1f955
--- /dev/null
+++ b/docs/IntegrationHubFlowResponse.md
@@ -0,0 +1,16 @@
+
+
+# IntegrationHubFlowResponse
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | ID of the integration hub flow. |
+**applicationID** | **Long** | ID of application the flow is registered for. | [optional]
+**eventType** | **String** | The event type we want to register a flow for. |
+**integrationHubFlowUrl** | **String** | The URL of the integration hub flow that we want to trigger for the event. |
+**config** | [**IntegrationHubFlowConfigResponse**](IntegrationHubFlowConfigResponse.md) | |
+
+
+
diff --git a/docs/IntegrationHubFlowWithConfig.md b/docs/IntegrationHubFlowWithConfig.md
new file mode 100644
index 00000000..ad09ebf2
--- /dev/null
+++ b/docs/IntegrationHubFlowWithConfig.md
@@ -0,0 +1,15 @@
+
+
+# IntegrationHubFlowWithConfig
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**applicationID** | **Long** | ID of application the flow is registered for. | [optional]
+**eventType** | **String** | The event type we want to register a flow for. |
+**integrationHubFlowUrl** | **String** | The URL of the integration hub flow that we want to trigger for the event. |
+**config** | [**IntegrationHubFlowConfig**](IntegrationHubFlowConfig.md) | |
+
+
+
diff --git a/docs/IntegrationHubPaginatedEventPayload.md b/docs/IntegrationHubPaginatedEventPayload.md
new file mode 100644
index 00000000..b5c2e3b4
--- /dev/null
+++ b/docs/IntegrationHubPaginatedEventPayload.md
@@ -0,0 +1,28 @@
+
+
+# IntegrationHubPaginatedEventPayload
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**totalResultSize** | **Long** | |
+**batchedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the batch was created. | [optional]
+**eventType** | [**EventTypeEnum**](#EventTypeEnum) | |
+**data** | **List<Object>** | |
+
+
+
+## Enum: EventTypeEnum
+
+Name | Value
+---- | -----
+LOYALTYPOINTSCHANGED | "LoyaltyPointsChanged"
+LOYALTYTIERDOWNGRADE | "LoyaltyTierDowngrade"
+LOYALTYTIERUPGRADE | "LoyaltyTierUpgrade"
+COUPONCREATED | "CouponCreated"
+COUPONUPDATED | "CouponUpdated"
+COUPONDELETED | "CouponDeleted"
+
+
+
diff --git a/docs/LedgerInfo.md b/docs/LedgerInfo.md
index 95edb3d5..34b4501d 100644
--- a/docs/LedgerInfo.md
+++ b/docs/LedgerInfo.md
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
**tentativeNegativeBalance** | [**BigDecimal**](BigDecimal.md) | The tentative negative balance after all additions and deductions from the current customer session are applied to `negativeBalance`. When the session is closed, the tentative effects are applied and `negativeBalance` is updated to this value. **Note:** Tentative balances are specific to the current session and do not take into account other open sessions for the given customer. | [optional]
**currentTier** | [**Tier**](Tier.md) | | [optional]
**pointsToNextTier** | [**BigDecimal**](BigDecimal.md) | Points required to move up a tier. | [optional]
+**nextTierName** | **String** | The name of the next higher tier level in the loyalty program. **Note**: - Returns `null` if the customer has reached the highest available tier. - Returns the lowest level tier name if the customer is not currently assigned to any tier. | [optional]
diff --git a/docs/LoyaltyBalanceWithTier.md b/docs/LoyaltyBalanceWithTier.md
index bc85a021..8b99148b 100644
--- a/docs/LoyaltyBalanceWithTier.md
+++ b/docs/LoyaltyBalanceWithTier.md
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
**currentTier** | [**Tier**](Tier.md) | | [optional]
**projectedTier** | [**ProjectedTier**](ProjectedTier.md) | | [optional]
**pointsToNextTier** | [**BigDecimal**](BigDecimal.md) | The number of points required to move up a tier. | [optional]
-**nextTierName** | **String** | The name of the tier consecutive to the current tier. | [optional]
+**nextTierName** | **String** | The name of the next higher tier level in the loyalty program. **Note**: - Returns `null` if the customer has reached the highest available tier. - Returns the lowest level tier name if the customer is not currently assigned to any tier. | [optional]
diff --git a/docs/LoyaltyCard.md b/docs/LoyaltyCard.md
index b69737ff..509b0fe1 100644
--- a/docs/LoyaltyCard.md
+++ b/docs/LoyaltyCard.md
@@ -13,14 +13,14 @@ Name | Type | Description | Notes
**programTitle** | **String** | The Campaign Manager-displayed name of the loyalty program that owns this entity. | [optional]
**status** | **String** | Status of the loyalty card. Can be `active` or `inactive`. |
**blockReason** | **String** | Reason for transferring and blocking the loyalty card. | [optional]
-**identifier** | **String** | The alphanumeric identifier of the loyalty card. |
+**identifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. |
**usersPerCardLimit** | **Long** | The max amount of customer profiles that can be linked to the card. 0 means unlimited. |
**profiles** | [**List<LoyaltyCardProfileRegistration>**](LoyaltyCardProfileRegistration.md) | Integration IDs of the customers profiles linked to the card. | [optional]
**ledger** | [**LedgerInfo**](LedgerInfo.md) | | [optional]
**subledgers** | [**Map<String, LedgerInfo>**](LedgerInfo.md) | Displays point balances of the card in the subledgers of the loyalty program. | [optional]
**modified** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp of the most recent update of the loyalty card. | [optional]
-**oldCardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
-**newCardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**oldCardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
+**newCardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
**batchId** | **String** | The ID of the batch in which the loyalty card was created. | [optional]
diff --git a/docs/LoyaltyProgramTransaction.md b/docs/LoyaltyProgramTransaction.md
index b84cdb1a..cfd0bb30 100644
--- a/docs/LoyaltyProgramTransaction.md
+++ b/docs/LoyaltyProgramTransaction.md
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
**startDate** | **String** | When points become active. Possible values: - `immediate`: Points are immediately active. - `on_action`: Points become active based on the customer's action. - a timestamp value: Points become active at a given date and time. |
**expiryDate** | **String** | When points expire. Possible values: - `unlimited`: Points have no expiration date. - a timestamp value: Points expire at a given date and time. |
**customerProfileId** | **String** | Customer profile integration ID used in the loyalty program. | [optional]
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
**subledgerId** | **String** | ID of the subledger. |
**customerSessionId** | **String** | ID of the customer session where the transaction occurred. | [optional]
**importId** | **Long** | ID of the import where the transaction occurred. | [optional]
diff --git a/docs/MCPKey.md b/docs/MCPKey.md
new file mode 100644
index 00000000..1ec5a03d
--- /dev/null
+++ b/docs/MCPKey.md
@@ -0,0 +1,19 @@
+
+
+# MCPKey
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Name for the MCP key. |
+**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the MCP key expires. |
+**id** | **Long** | ID of the MCP key. |
+**createdBy** | **Long** | ID of the user who created it. |
+**accountID** | **Long** | ID of account the key is used for. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the MCP key was created. |
+**disabled** | **Boolean** | The MCP key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. | [optional]
+**lastUsed** | [**OffsetDateTime**](OffsetDateTime.md) | The last time the MCP key was used. | [optional]
+
+
+
diff --git a/docs/ManagementApi.md b/docs/ManagementApi.md
index 3c6f79d5..6e6680ec 100644
--- a/docs/ManagementApi.md
+++ b/docs/ManagementApi.md
@@ -43,9 +43,11 @@ Method | HTTP request | Description
[**disconnectCampaignStores**](ManagementApi.md#disconnectCampaignStores) | **DELETE** /v1/applications/{applicationId}/campaigns/{campaignId}/stores | Disconnect stores
[**exportAccountCollectionItems**](ManagementApi.md#exportAccountCollectionItems) | **GET** /v1/collections/{collectionId}/export | Export account-level collection's items
[**exportAchievements**](ManagementApi.md#exportAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements/{achievementId}/export | Export achievement customer data
+[**exportApplicationCampaignAnalytics**](ManagementApi.md#exportApplicationCampaignAnalytics) | **GET** /v1/applications/{applicationId}/campaign_analytics/export | Export Application analytics aggregated by campaign
[**exportAudiencesMemberships**](ManagementApi.md#exportAudiencesMemberships) | **GET** /v1/audiences/{audienceId}/memberships/export | Export audience members
[**exportCampaignStoreBudgets**](ManagementApi.md#exportCampaignStoreBudgets) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets/export | Export campaign store budgets
[**exportCampaignStores**](ManagementApi.md#exportCampaignStores) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/export | Export stores
+[**exportCampaignValueMap**](ManagementApi.md#exportCampaignValueMap) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/value_maps/{valueMapId}/export | Export campaign value map
[**exportCollectionItems**](ManagementApi.md#exportCollectionItems) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections/{collectionId}/export | Export campaign-level collection's items
[**exportCoupons**](ManagementApi.md#exportCoupons) | **GET** /v1/applications/{applicationId}/export_coupons | Export coupons
[**exportCustomerSessions**](ManagementApi.md#exportCustomerSessions) | **GET** /v1/applications/{applicationId}/export_customer_sessions | Export customer sessions
@@ -70,6 +72,7 @@ Method | HTTP request | Description
[**getAdditionalCosts**](ManagementApi.md#getAdditionalCosts) | **GET** /v1/additional_costs | List additional costs
[**getApplication**](ManagementApi.md#getApplication) | **GET** /v1/applications/{applicationId} | Get Application
[**getApplicationApiHealth**](ManagementApi.md#getApplicationApiHealth) | **GET** /v1/applications/{applicationId}/health_report | Get Application health
+[**getApplicationCartItemFilterExpression**](ManagementApi.md#getApplicationCartItemFilterExpression) | **GET** /v1/applications/{applicationId}/cart_item_filters/{cartItemFilterId}/expressions/{expressionId} | Get Application cart item filter expression
[**getApplicationCustomer**](ManagementApi.md#getApplicationCustomer) | **GET** /v1/applications/{applicationId}/customers/{customerId} | Get application's customer
[**getApplicationCustomerFriends**](ManagementApi.md#getApplicationCustomerFriends) | **GET** /v1/applications/{applicationId}/profile/{integrationId}/friends | List friends referred by customer profile
[**getApplicationCustomers**](ManagementApi.md#getApplicationCustomers) | **GET** /v1/applications/{applicationId}/customers | List application's customers
@@ -142,6 +145,7 @@ Method | HTTP request | Description
[**listAccountCollections**](ManagementApi.md#listAccountCollections) | **GET** /v1/collections | List collections in account
[**listAchievements**](ManagementApi.md#listAchievements) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/achievements | List achievements
[**listAllRolesV2**](ManagementApi.md#listAllRolesV2) | **GET** /v2/roles | List roles
+[**listApplicationCartItemFilters**](ManagementApi.md#listApplicationCartItemFilters) | **GET** /v1/applications/{applicationId}/cart_item_filters | List Application cart item filters
[**listCampaignStoreBudgetLimits**](ManagementApi.md#listCampaignStoreBudgetLimits) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/stores/budgets | List campaign store budget limits
[**listCatalogItems**](ManagementApi.md#listCatalogItems) | **GET** /v1/catalogs/{catalogId}/items | List items in a catalog
[**listCollections**](ManagementApi.md#listCollections) | **GET** /v1/applications/{applicationId}/campaigns/{campaignId}/collections | List collections in campaign
@@ -149,6 +153,7 @@ Method | HTTP request | Description
[**listExperiments**](ManagementApi.md#listExperiments) | **GET** /v1/applications/{applicationId}/experiments | List experiments
[**listStores**](ManagementApi.md#listStores) | **GET** /v1/applications/{applicationId}/stores | List stores
[**oktaEventHandlerChallenge**](ManagementApi.md#oktaEventHandlerChallenge) | **GET** /v1/provisioning/okta | Validate Okta API ownership
+[**priceHistory**](ManagementApi.md#priceHistory) | **POST** /v1/applications/{applicationId}/price_history | Get summary of price history
[**removeLoyaltyPoints**](ManagementApi.md#removeLoyaltyPoints) | **PUT** /v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/deduct_points | Deduct points from customer profile
[**resetPassword**](ManagementApi.md#resetPassword) | **POST** /v1/reset_password | Reset password
[**scimCreateGroup**](ManagementApi.md#scimCreateGroup) | **POST** /v1/provisioning/scim/Groups | Create SCIM group
@@ -312,7 +317,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
+ Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
AddLoyaltyPoints body = new AddLoyaltyPoints(); // AddLoyaltyPoints | body
try {
@@ -333,7 +338,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
+ **loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
**body** | [**AddLoyaltyPoints**](AddLoyaltyPoints.md)| body |
@@ -365,7 +370,7 @@ null (empty response body)
Add points to customer profile
-Add points in the specified loyalty program for the given customer. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+Add points in the specified loyalty program for the given customer. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
### Example
@@ -451,7 +456,7 @@ null (empty response body)
## copyCampaignToApplications
-> InlineResponse2008 copyCampaignToApplications(applicationId, campaignId, body)
+> InlineResponse2009 copyCampaignToApplications(applicationId, campaignId, body)
Copy the campaign into the specified Application
@@ -496,7 +501,7 @@ public class Example {
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
CampaignCopy body = new CampaignCopy(); // CampaignCopy | body
try {
- InlineResponse2008 result = apiInstance.copyCampaignToApplications(applicationId, campaignId, body);
+ InlineResponse2009 result = apiInstance.copyCampaignToApplications(applicationId, campaignId, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#copyCampaignToApplications");
@@ -520,7 +525,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2008**](InlineResponse2008.md)
+[**InlineResponse2009**](InlineResponse2009.md)
### Authorization
@@ -889,7 +894,7 @@ Name | Type | Description | Notes
Create loyalty cards
-Create a batch of loyalty cards in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). Customers can use loyalty cards to collect and spend loyalty points. **Important:** - The specified card-based loyalty program must have a defined card code format that is used to generate the loyalty card codes. - Trying to create more than 20,000 loyalty cards in a single request returns an error message with a `400` status code.
+Create a batch of loyalty cards in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). Customers can use loyalty cards to collect and spend loyalty points. > [!important] **Note** > - The specified card-based loyalty program must have a defined card code > format that is used to generate the loyalty card codes. > - Trying to create more than 20,000 loyalty cards in a single request > returns an error message with a `400` status code.
### Example
@@ -1237,7 +1242,7 @@ Name | Type | Description | Notes
## createCoupons
-> InlineResponse20010 createCoupons(applicationId, campaignId, body, silent)
+> InlineResponse20011 createCoupons(applicationId, campaignId, body, silent)
Create coupons
@@ -1283,7 +1288,7 @@ public class Example {
NewCoupons body = new NewCoupons(); // NewCoupons | body
String silent = "\"yes\""; // String | Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
try {
- InlineResponse20010 result = apiInstance.createCoupons(applicationId, campaignId, body, silent);
+ InlineResponse20011 result = apiInstance.createCoupons(applicationId, campaignId, body, silent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#createCoupons");
@@ -1308,7 +1313,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20010**](InlineResponse20010.md)
+[**InlineResponse20011**](InlineResponse20011.md)
### Authorization
@@ -1504,7 +1509,7 @@ Name | Type | Description | Notes
## createCouponsForMultipleRecipients
-> InlineResponse20010 createCouponsForMultipleRecipients(applicationId, campaignId, body, silent)
+> InlineResponse20011 createCouponsForMultipleRecipients(applicationId, campaignId, body, silent)
Create coupons for multiple recipients
@@ -1550,7 +1555,7 @@ public class Example {
NewCouponsForMultipleRecipients body = new NewCouponsForMultipleRecipients(); // NewCouponsForMultipleRecipients | body
String silent = "\"yes\""; // String | Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles.
try {
- InlineResponse20010 result = apiInstance.createCouponsForMultipleRecipients(applicationId, campaignId, body, silent);
+ InlineResponse20011 result = apiInstance.createCouponsForMultipleRecipients(applicationId, campaignId, body, silent);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#createCouponsForMultipleRecipients");
@@ -1575,7 +1580,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20010**](InlineResponse20010.md)
+[**InlineResponse20011**](InlineResponse20011.md)
### Authorization
@@ -1599,7 +1604,7 @@ Name | Type | Description | Notes
Resend invitation email
-Resend an email invitation to an existing user. **Note:** The invitation token is valid for 24 hours after the email has been sent.
+Resend an email invitation to an existing user. > [!note] The invitation token is valid for 24 hours after the email has been sent.
### Example
@@ -1683,7 +1688,7 @@ Name | Type | Description | Notes
Invite user
-Create a new user in the account and send an invitation to their email address. **Note**: The invitation token is valid for 24 hours after the email has been sent. You can resend an invitation to a user with the [Resend invitation email](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/createInviteEmail) endpoint.
+Create a new user in the account and send an invitation to their email address. > [!note] The invitation token is valid for 24 hours after the email has > been sent. You can resend an invitation to a user with the [Resend > invitation email](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/createInviteEmail) > endpoint.
### Example
@@ -1767,7 +1772,7 @@ Name | Type | Description | Notes
Request a password reset
-Send an email with a password recovery link to the email address of an existing account. **Note:** The password recovery link expires 30 minutes after this endpoint is triggered.
+Send an email with a password recovery link to the email address of an existing account. > [!note] The password recovery link expires 30 minutes after this endpoint is triggered.
### Example
@@ -1851,7 +1856,7 @@ Name | Type | Description | Notes
Create session
-Create a session to use the Management API endpoints. Use the value of the `token` property provided in the response as bearer token in other API calls. A token is valid for 3 months. In accordance with best pratices, use your generated token for all your API requests. Do **not** regenerate a token for each request. This endpoint has a rate limit of 3 to 6 requests per second per account, depending on your setup. <div class=\"redoc-section\"> <p class=\"title\">Granular API key</p> Instead of using a session, you can also use the <a href=\"https://docs.talon.one/docs/product/account/dev-tools/managing-mapi-keys\">Management API key feature</a> in the Campaign Manager to decide which endpoints can be used with a given key. </div>
+Create a session to use the Management API endpoints. Use the value of the `token` property provided in the response as bearer token in other API calls. A token is valid for 3 months. In accordance with best pratices, use your generated token for all your API requests. Do **not** regenerate a token for each request. This endpoint has a rate limit of 3 to 6 requests per second per account, depending on your setup. > [!note] > Instead of using a session, you can also use the <a href=\"https://docs.talon.one/docs/product/account/dev-tools/managing-mapi-keys\">Management API key feature</a> > in the Campaign Manager to decide which endpoints can be used with a given key.
### Example
@@ -2144,7 +2149,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
DeductLoyaltyPoints body = new DeductLoyaltyPoints(); // DeductLoyaltyPoints | body
try {
apiInstance.deductLoyaltyCardPoints(loyaltyProgramId, loyaltyCardId, body);
@@ -2165,7 +2170,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**body** | [**DeductLoyaltyPoints**](DeductLoyaltyPoints.md)| body |
### Return type cool
@@ -2233,7 +2238,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
try {
apiInstance.deleteAccountCollection(collectionId);
} catch (ApiException e) {
@@ -2252,7 +2257,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
### Return type cool
@@ -2583,7 +2588,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint.
try {
apiInstance.deleteCollection(applicationId, campaignId, collectionId);
} catch (ApiException e) {
@@ -2604,7 +2609,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint. |
### Return type cool
@@ -2868,7 +2873,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
try {
apiInstance.deleteLoyaltyCard(loyaltyProgramId, loyaltyCardId);
} catch (ApiException e) {
@@ -2888,7 +2893,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
### Return type cool
@@ -3423,7 +3428,7 @@ null (empty response body)
Export account-level collection's items
-Download a CSV file containing items from a given account-level collection. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+Download a CSV file containing items from a given account-level collection. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
### Example
@@ -3460,7 +3465,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
try {
String result = apiInstance.exportAccountCollectionItems(collectionId);
System.out.println(result);
@@ -3480,7 +3485,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
### Return type cool
@@ -3594,13 +3599,103 @@ Name | Type | Description | Notes
| **404** | Not found | - |
+## exportApplicationCampaignAnalytics
+
+> String exportApplicationCampaignAnalytics(applicationId, rangeStart, rangeEnd, campaignIds)
+
+Export Application analytics aggregated by campaign
+
+Download a CSV file containing analytics data aggregated by campaign for the campaigns of an Application. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `campaign_id`: The ID of the campaign. This column also contains labels for the [total and influenced values](https://docs.talon.one/docs/product/campaigns/analytics/application-dashboard#display-the-analytics-data). - `start_date`: The start of the aggregation time frame in UTC. - `end_date`: The end of the aggregation time frame in UTC. - `revenue`: The total, pre-discount value of all items purchased in a customer session. - `sessions`: The number of all closed sessions. - `average_session_value`: The average customer session value, calculated by dividing the revenue value by the number of sessions. - `average_items_per_session`: The number of items from sessions divided by the number of sessions. - `coupons`: The number of times a coupon was successfully redeemed in sessions. - `discounts`: The total value of discounts given for cart items in sessions.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: api_key_v1
+ ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1");
+ api_key_v1.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_v1.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ List campaignIds = Arrays.asList(); // List | Filter by one or more Campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned.
+ try {
+ String result = apiInstance.exportApplicationCampaignAnalytics(applicationId, rangeStart, rangeEnd, campaignIds);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#exportApplicationCampaignAnalytics");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **campaignIds** | [**List<String>**](String.md)| Filter by one or more Campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned. | [optional]
+
+### Return type cool
+
+**String**
+
+### Authorization
+
+[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/csv
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+
+
## exportAudiencesMemberships
> String exportAudiencesMemberships(audienceId)
Export audience members
-Download a CSV file containing the integration IDs of the members of an audience. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The file contains the following column: - `profileintegrationid`: The integration ID of the customer profile.
+Download a CSV file containing the integration IDs of the members of an audience. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The file contains the following column: - `profileintegrationid`: The integration ID of the customer profile.
### Example
@@ -3687,7 +3782,7 @@ Name | Type | Description | Notes
Export campaign store budgets
-Download a CSV file containing the store budgets for a given campaign. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store.
+Download a CSV file containing the store budgets for a given campaign. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `store_integration_id`: The identifier of the store. - `limit`: The budget limit for the store.
### Example
@@ -3780,7 +3875,7 @@ Name | Type | Description | Notes
Export stores
-Download a CSV file containing the stores linked to a specific campaign. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following column: - `store_integration_id`: The identifier of the store.
+Download a CSV file containing the stores linked to a specific campaign. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following column: - `store_integration_id`: The identifier of the store.
### Example
@@ -3863,13 +3958,104 @@ Name | Type | Description | Notes
| **404** | Not found | - |
+## exportCampaignValueMap
+
+> String exportCampaignValueMap(applicationId, campaignId, valueMapId)
+
+Export campaign value map
+
+Download a CSV file containing all the value map items in a campaign. If there are multiple versions of the value map, only the items of the current version are exported. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The generated file can contain the following columns: - `identifier`: The value of the attribute in the targeted item, for example, an item's SKU. - `value`: The value that is associated with the identifier, for example, the item's price.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: api_key_v1
+ ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1");
+ api_key_v1.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_v1.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
+ Long valueMapId = 56L; // Long | The ID of the value map.
+ try {
+ String result = apiInstance.exportCampaignValueMap(applicationId, campaignId, valueMapId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#exportCampaignValueMap");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
+ **valueMapId** | **Long**| The ID of the value map. |
+
+### Return type cool
+
+**String**
+
+### Authorization
+
+[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/csv, application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+| **400** | Bad request | - |
+| **401** | Unauthorized | - |
+| **404** | Not found | - |
+
+
## exportCollectionItems
> String exportCollectionItems(applicationId, campaignId, collectionId)
Export campaign-level collection's items
-Download a CSV file containing items from a given campaign-level collection. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+Download a CSV file containing items from a given campaign-level collection. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
### Example
@@ -3908,7 +4094,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint.
try {
String result = apiInstance.exportCollectionItems(applicationId, campaignId, collectionId);
System.out.println(result);
@@ -3930,7 +4116,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint. |
### Return type cool
@@ -3959,7 +4145,7 @@ Name | Type | Description | Notes
Export coupons
-Download a CSV file containing the coupons that match the given properties. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file can contain the following columns: - `accountid`: The ID of your deployment. - `applicationid`: The ID of the Application this coupon is related to. - `attributes`: A json object describing _custom_ referral attribute names and their values. - `batchid`: The ID of the batch this coupon is part of. - `campaignid`: The ID of the campaign this coupon is related to. - `counter`: The number of times this coupon has been redeemed. - `created`: The creation date in RFC3339 of the coupon code. - `deleted`: Whether the coupon code is deleted. - `deleted_changelogid`: The ID of the delete event in the logs. - `discount_counter`: The amount of discount given by this coupon. - `discount_limitval`: The maximum discount amount that can be given be this coupon. - `expirydate`: The end date in RFC3339 of the code redemption period. - `id`: The internal ID of the coupon code. - `importid`: The ID of the import job that created this coupon. - `is_reservation_mandatory`: Whether this coupon requires a reservation to be redeemed. - `limits`: The limits set on this coupon. - `limitval`: The maximum number of redemptions of this code. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `referralid`: The ID of the referral code that triggered the creation of this coupon (create coupon effect). - `reservation`: Whether the coupon can be reserved for multiple customers. - `reservation_counter`: How many times this coupon has been reserved. - `reservation_limitval`: The maximum of number of reservations this coupon can have. - `startdate`: The start date in RFC3339 of the code redemption period. - `value`: The coupon code.
+Download a CSV file containing the coupons that match the given properties. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file can contain the following columns: - `accountid`: The ID of your deployment. - `applicationid`: The ID of the Application this coupon is related to. - `attributes`: A json object describing _custom_ referral attribute names and their values. - `batchid`: The ID of the batch this coupon is part of. - `campaignid`: The ID of the campaign this coupon is related to. - `counter`: The number of times this coupon has been redeemed. - `created`: The creation date in RFC3339 of the coupon code. - `deleted`: Whether the coupon code is deleted. - `deleted_changelogid`: The ID of the delete event in the logs. - `discount_counter`: The amount of discount given by this coupon. - `discount_limitval`: The maximum discount amount that can be given be this coupon. - `expirydate`: The end date in RFC3339 of the code redemption period. - `id`: The internal ID of the coupon code. - `importid`: The ID of the import job that created this coupon. - `is_reservation_mandatory`: Whether this coupon requires a reservation to be redeemed. - `limits`: The limits set on this coupon. - `limitval`: The maximum number of redemptions of this code. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `referralid`: The ID of the referral code that triggered the creation of this coupon (create coupon effect). - `reservation`: Whether the coupon can be reserved for multiple customers. - `reservation_counter`: How many times this coupon has been reserved. - `reservation_limitval`: The maximum of number of reservations this coupon can have. - `startdate`: The start date in RFC3339 of the code redemption period. - `value`: The coupon code.
### Example
@@ -4071,7 +4257,7 @@ Name | Type | Description | Notes
Export customer sessions
-Download a CSV file containing the customer sessions that match the request. **Important:** Archived sessions cannot be exported. See the [retention policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention). **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). - `id`: The internal ID of the session. - `firstsession`: Whether this is a first session. - `integrationid`: The integration ID of the session. - `applicationid`: The ID of the Application. - `profileid`: The internal ID of the customer profile. - `profileintegrationid`: The integration ID of the customer profile. - `created`: The timestamp when the session was created. - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session. - `cartitems`: The cart items in the session. - `discounts`: The discounts in the session. - `total`: The total value of cart items and additional costs in the session, before any discounts are applied. - `attributes`: The attributes set in the session. - `closedat`: Timestamp when the session was closed. - `cancelledat`: Timestamp when the session was cancelled. - `referral`: The referral code in the session. - `identifiers`: The identifiers in the session. - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session. - `updated`: Timestamp of the last session update. - `store_integration_id`: The integration ID of the store. - `coupons`: Coupon codes in the session.
+Download a CSV file containing the customer sessions that match the request. > [!important] Archived sessions cannot be exported. See the [retention > policy](https://docs.talon.one/docs/dev/server-infrastructure-and-data-retention). > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). - `id`: The internal ID of the session. - `firstsession`: Whether this is a first session. - `integrationid`: The integration ID of the session. - `applicationid`: The ID of the Application. - `profileid`: The internal ID of the customer profile. - `profileintegrationid`: The integration ID of the customer profile. - `created`: The timestamp when the session was created. - `state`: The [state](https://docs.talon.one/docs/dev/concepts/entities/customer-sessions#customer-session-states) of the session. - `cartitems`: The cart items in the session. - `discounts`: The discounts in the session. - `total`: The total value of cart items and additional costs in the session, before any discounts are applied. - `attributes`: The attributes set in the session. - `closedat`: Timestamp when the session was closed. - `cancelledat`: Timestamp when the session was cancelled. - `referral`: The referral code in the session. - `identifiers`: The identifiers in the session. - `additional_costs`: The [additional costs](https://docs.talon.one/docs/product/account/dev-tools/managing-additional-costs) in the session. - `updated`: Timestamp of the last session update. - `store_integration_id`: The integration ID of the store. - `coupons`: Coupon codes in the session.
### Example
@@ -4253,7 +4439,7 @@ Name | Type | Description | Notes
Export triggered effects
-Download a CSV file containing the triggered effects that match the given attributes. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `applicationid`: The ID of the Application. - `campaignid`: The ID of the campaign. - `couponid`: The ID of the coupon, when applicable to the effect. - `created`: The timestamp of the effect. - `event_type`: The name of the event. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/events). - `eventid`: The internal ID of the effect. - `name`: The effect name. See the [docs](https://docs.talon.one/docs/dev/integration-api/api-effects). - `profileintegrationid`: The ID of the customer profile, when applicable. - `props`: The [properties](https://docs.talon.one/docs/dev/integration-api/api-effects) of the effect. - `ruleindex`: The index of the rule. - `rulesetid`: The ID of the rule set. - `sessionid`: The internal ID of the session that triggered the effect. - `profileid`: The internal ID of the customer profile. - `sessionintegrationid`: The integration ID of the session. - `total_revenue`: The total revenue. - `store_integration_id`: The integration ID of the store. You choose this ID when you create a store.
+Download a CSV file containing the triggered effects that match the given attributes. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The generated file can contain the following columns: - `applicationid`: The ID of the Application. - `campaignid`: The ID of the campaign. - `couponid`: The ID of the coupon, when applicable to the effect. - `created`: The timestamp of the effect. - `event_type`: The name of the event. See the [docs](https://docs.talon.one/docs/dev/concepts/entities/events). - `eventid`: The internal ID of the effect. - `name`: The effect name. See the [docs](https://docs.talon.one/docs/dev/integration-api/api-effects). - `profileintegrationid`: The ID of the customer profile, when applicable. - `props`: The [properties](https://docs.talon.one/docs/dev/integration-api/api-effects) of the effect. - `ruleindex`: The index of the rule. - `rulesetid`: The ID of the rule set. - `sessionid`: The internal ID of the session that triggered the effect. - `profileid`: The internal ID of the customer profile. - `sessionintegrationid`: The integration ID of the session. - `total_revenue`: The total revenue. - `store_integration_id`: The integration ID of the store. You choose this ID when you create a store.
### Example
@@ -4345,7 +4531,7 @@ Name | Type | Description | Notes
Export customer loyalty balance to CSV
-⚠️ Deprecation notice: Support for requests to this endpoint will end soon. To export customer loyalty balances to CSV, use the [Export customer loyalty balances to CSV](/management-api#tag/Loyalty/operation/exportLoyaltyBalances) endpoint. Download a CSV file containing the balance of each customer in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+To export customer loyalty balances to CSV, use the [Export customer loyalty balances to CSV](/management-api#tag/Loyalty/operation/exportLoyaltyBalances) endpoint. Download a CSV file containing the balance of each customer in the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
### Example
@@ -4383,7 +4569,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
String loyaltyProgramId = "loyaltyProgramId_example"; // String | The identifier for the loyalty program.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
try {
String result = apiInstance.exportLoyaltyBalance(loyaltyProgramId, endDate);
System.out.println(result);
@@ -4404,7 +4590,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **String**| The identifier for the loyalty program. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
### Return type cool
@@ -4433,7 +4619,7 @@ Name | Type | Description | Notes
Export customer loyalty balances
-Download a CSV file containing the balance of each customer in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `profileIntegrationID`: The integration ID of the customer profile. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points. - `currentTier`: The tier that the customer is in at the time of the export.
+Download a CSV file containing the balance of each customer in the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The generated file can contain the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subledger, when applicable. - `profileIntegrationID`: The integration ID of the customer profile. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points. - `currentTier`: The tier that the customer is in at the time of the export.
### Example
@@ -4471,7 +4657,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
String loyaltyProgramId = "loyaltyProgramId_example"; // String | The identifier for the loyalty program.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - This parameter does not affect the `currentTier` field in the CSV file, which shows the customer's tier at the time of export.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. > - This parameter does not affect the `currentTier` field in the CSV file, which shows the customer's tier at the time of export.
try {
String result = apiInstance.exportLoyaltyBalances(loyaltyProgramId, endDate);
System.out.println(result);
@@ -4492,7 +4678,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **String**| The identifier for the loyalty program. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. - This parameter does not affect the `currentTier` field in the CSV file, which shows the customer's tier at the time of export. | [optional]
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. > - This parameter does not affect the `currentTier` field in the CSV file, which shows the customer's tier at the time of export. | [optional]
### Return type cool
@@ -4521,7 +4707,7 @@ Name | Type | Description | Notes
Export all card transaction logs
-Download a CSV file containing the balances of all cards in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `cardIdentifier`: The alphanumeric identifier of the loyalty card. - `cardState`:The state of the loyalty card. It can be `active` or `inactive`. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points.
+Download a CSV file containing the balances of all cards in the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `loyaltySubledger`: The name of the subdleger, when applicatble. - `cardIdentifier`: The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. - `cardState`:The state of the loyalty card. It can be `active` or `inactive`. - `currentBalance`: The current point balance. - `pendingBalance`: The number of pending points. - `expiredBalance`: The number of expired points. - `spentBalance`: The number of spent points.
### Example
@@ -4559,7 +4745,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
try {
String result = apiInstance.exportLoyaltyCardBalances(loyaltyProgramId, endDate);
System.out.println(result);
@@ -4580,7 +4766,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
### Return type cool
@@ -4609,7 +4795,7 @@ Name | Type | Description | Notes
Export card's ledger log
-Download a CSV file containing a loyalty card ledger log of the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/).
+Download a CSV file containing a loyalty card ledger log of the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files).
### Example
@@ -4647,9 +4833,9 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String dateFormat = "dateFormat_example"; // String | Determines the format of dates in the export document.
try {
String result = apiInstance.exportLoyaltyCardLedger(loyaltyProgramId, loyaltyCardId, rangeStart, rangeEnd, dateFormat);
@@ -4671,9 +4857,9 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**dateFormat** | **String**| Determines the format of dates in the export document. | [optional] [enum: excel, ISO8601]
### Return type cool
@@ -4703,7 +4889,7 @@ Name | Type | Description | Notes
Export loyalty cards
-Download a CSV file containing the loyalty cards from a specified loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `identifier`: The unique identifier of the loyalty card. - `created`: The date and time the loyalty card was created. - `status`: The status of the loyalty card. - `userpercardlimit`: The maximum number of customer profiles that can be linked to the card. - `customerprofileids`: Integration IDs of the customer profiles linked to the card. - `blockreason`: The reason for transferring and blocking the loyalty card. - `generated`: An indicator of whether the loyalty card was generated. - `batchid`: The ID of the batch the loyalty card is in.
+Download a CSV file containing the loyalty cards from a specified loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `identifier`: The unique identifier of the loyalty card. - `created`: The date and time the loyalty card was created. - `status`: The status of the loyalty card. - `userpercardlimit`: The maximum number of customer profiles that can be linked to the card. - `customerprofileids`: Integration IDs of the customer profiles linked to the card. - `blockreason`: The reason for transferring and blocking the loyalty card. - `generated`: An indicator of whether the loyalty card was generated. - `batchid`: The ID of the batch the loyalty card is in. - `attributes`: The custom attributes of this loyalty card. Currently, this feature is only available upon request.
### Example
@@ -4742,8 +4928,8 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String batchId = "batchId_example"; // String | Filter results by loyalty card batch ID.
- OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Only return loyalty cards created before this timestamp. **Note:** - This must be an RFC3339 timestamp string.
- OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Only return loyalty cards created after this timestamp. **Note:** - This must be an RFC3339 timestamp string.
+ OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Only return loyalty cards created before this timestamp. **Note:** This must be an RFC3339 timestamp string.
+ OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Only return loyalty cards created after this timestamp. **Note:** This must be an RFC3339 timestamp string.
String dateFormat = "dateFormat_example"; // String | Determines the format of dates in the export document.
try {
String result = apiInstance.exportLoyaltyCards(loyaltyProgramId, batchId, createdBefore, createdAfter, dateFormat);
@@ -4766,8 +4952,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**batchId** | **String**| Filter results by loyalty card batch ID. | [optional]
- **createdBefore** | **OffsetDateTime**| Only return loyalty cards created before this timestamp. **Note:** - This must be an RFC3339 timestamp string. | [optional]
- **createdAfter** | **OffsetDateTime**| Only return loyalty cards created after this timestamp. **Note:** - This must be an RFC3339 timestamp string. | [optional]
+ **createdBefore** | **OffsetDateTime**| Only return loyalty cards created before this timestamp. **Note:** This must be an RFC3339 timestamp string. | [optional]
+ **createdAfter** | **OffsetDateTime**| Only return loyalty cards created after this timestamp. **Note:** This must be an RFC3339 timestamp string. | [optional]
**dateFormat** | **String**| Determines the format of dates in the export document. | [optional] [enum: excel, ISO8601]
### Return type cool
@@ -4797,7 +4983,7 @@ Name | Type | Description | Notes
Export customers' loyalty program join dates
-Download a CSV file containing the join dates of all customers in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `profileIntegrationID`: The integration ID of the customer profile. - `joinDate`: The customer's loyalty program join date in RFC3339 format.
+Download a CSV file containing the join dates of all customers in the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The generated file can contain the following columns: - `loyaltyProgramID`: The ID of the loyalty program. - `profileIntegrationID`: The integration ID of the customer profile. - `joinDate`: The customer's loyalty program join date in RFC3339 format.
### Example
@@ -4883,7 +5069,7 @@ Name | Type | Description | Notes
Export customer's transaction logs
-Download a CSV file containing a customer's transaction logs in the loyalty program. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format.
+Download a CSV file containing a customer's transaction logs in the loyalty program. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The generated file can contain the following columns: - `customerprofileid`: The ID of the profile. - `customersessionid`: The ID of the customer session. - `rulesetid`: The ID of the rule set. - `rulename`: The name of the rule. - `programid`: The ID of the loyalty program. - `type`: The transaction type, such as `addition` or `subtraction`. - `name`: The reason for the transaction. - `subledgerid`: The ID of the subledger, when applicable. - `startdate`: The start date of the program. - `expirydate`: The expiration date of the program. - `id`: The ID of the transaction. - `created`: The timestamp of the creation of the loyalty program. - `amount`: The number of points in that transaction. - `archived`: Whether the session related to the transaction is archived. - `campaignid`: The ID of the campaign. - `flags`: The flags of the transaction, when applicable. The `createsNegativeBalance` flag indicates whether the transaction results in a negative balance. - `transactionUUID`: Unique identifier of the transaction in the UUID format.
### Example
@@ -4920,8 +5106,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String loyaltyProgramId = "loyaltyProgramId_example"; // String | The identifier for the loyalty program.
String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
String dateFormat = "dateFormat_example"; // String | Determines the format of dates in the export document.
@@ -4944,8 +5130,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**loyaltyProgramId** | **String**| The identifier for the loyalty program. |
**integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. |
**dateFormat** | **String**| Determines the format of dates in the export document. | [optional] [enum: excel, ISO8601]
@@ -4975,7 +5161,7 @@ Name | Type | Description | Notes
Export giveaway codes of a giveaway pool
-Download a CSV file containing the giveaway codes of a specific giveaway pool. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `id`: The internal ID of the giveaway. - `poolid`: The internal ID of the giveaway pool. - `code`: The giveaway code. - `startdate`: The validity start date in RFC3339 of the giveaway (can be empty). - `enddate`: The validity end date in RFC3339 of the giveaway (can be empty). - `attributes`: Any custom attributes associated with the giveaway code (can be empty). - `used`: An indication of whether the giveaway is already awarded. - `importid`: The ID of the import which created the giveaway. - `created`: The creation time of the giveaway code. - `profileintegrationid`: The third-party integration ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded. - `profileid`: The internal ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded or an internal ID does not exist.
+Download a CSV file containing the giveaway codes of a specific giveaway pool. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `id`: The internal ID of the giveaway. - `poolid`: The internal ID of the giveaway pool. - `code`: The giveaway code. - `startdate`: The validity start date in RFC3339 of the giveaway (can be empty). - `enddate`: The validity end date in RFC3339 of the giveaway (can be empty). - `attributes`: Any custom attributes associated with the giveaway code (can be empty). - `used`: An indication of whether the giveaway is already awarded. - `importid`: The ID of the import which created the giveaway. - `created`: The creation time of the giveaway code. - `profileintegrationid`: The third-party integration ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded. - `profileid`: The internal ID of the customer profile that was awarded the giveaway. Can be empty if the giveaway was not awarded or an internal ID does not exist.
### Example
@@ -5064,7 +5250,7 @@ Name | Type | Description | Notes
Export referrals
-Download a CSV file containing the referrals that match the given parameters. **Tip:** If the exported CSV file is too large to view, you can [split it into multiple files](https://www.makeuseof.com/tag/how-to-split-a-huge-csv-excel-workbook-into-seperate-files/). The CSV file contains the following columns: - `code`: The referral code. - `advocateprofileintegrationid`: The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A json object describing _custom_ referral attribute names and their values.
+Download a CSV file containing the referrals that match the given parameters. > [!tip] If the exported CSV file is too large to view, you can > [split it into multiple files](https://www.google.com/search?q=split+CSV+into+multiple+files). The CSV file contains the following columns: - `code`: The referral code. - `advocateprofileintegrationid`: The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A json object describing _custom_ referral attribute names and their values.
### Example
@@ -5158,7 +5344,7 @@ Name | Type | Description | Notes
## generateCouponRejections
-> InlineResponse20051 generateCouponRejections(sessionIntegrationId, applicationId, language, couponCode)
+> InlineResponse20053 generateCouponRejections(sessionIntegrationId, applicationId, language, couponCode)
Summarize coupon redemption failures in session
@@ -5204,7 +5390,7 @@ public class Example {
String language = "language_example"; // String | The [ISO-639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) code of the language in which the summary will be generated.
String couponCode = "couponCode_example"; // String | The coupon code for which to get the rejection reason.
try {
- InlineResponse20051 result = apiInstance.generateCouponRejections(sessionIntegrationId, applicationId, language, couponCode);
+ InlineResponse20053 result = apiInstance.generateCouponRejections(sessionIntegrationId, applicationId, language, couponCode);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#generateCouponRejections");
@@ -5229,7 +5415,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20051**](InlineResponse20051.md)
+[**InlineResponse20053**](InlineResponse20053.md)
### Authorization
@@ -5248,7 +5434,7 @@ Name | Type | Description | Notes
## getAccessLogsWithoutTotalCount
-> InlineResponse20023 getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort)
+> InlineResponse20024 getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort)
Get access logs for Application
@@ -5290,8 +5476,8 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String path = "path_example"; // String | Only return results where the request path matches the given regular expression.
String method = "method_example"; // String | Only return results where the request method matches the given regular expression.
String status = "status_example"; // String | Filter results by HTTP status codes.
@@ -5299,7 +5485,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20023 result = apiInstance.getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort);
+ InlineResponse20024 result = apiInstance.getAccessLogsWithoutTotalCount(applicationId, rangeStart, rangeEnd, path, method, status, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAccessLogsWithoutTotalCount");
@@ -5318,8 +5504,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**path** | **String**| Only return results where the request path matches the given regular expression. | [optional]
**method** | **String**| Only return results where the request method matches the given regular expression. | [optional] [enum: get, put, post, delete, patch]
**status** | **String**| Filter results by HTTP status codes. | [optional] [enum: success, error]
@@ -5329,7 +5515,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20023**](InlineResponse20023.md)
+[**InlineResponse20024**](InlineResponse20024.md)
### Authorization
@@ -5389,7 +5575,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property.
+ Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId` property.
try {
Account result = apiInstance.getAccount(accountId);
System.out.println(result);
@@ -5409,7 +5595,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. |
+ **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId` property. |
### Return type cool
@@ -5473,7 +5659,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property.
+ Long accountId = 56L; // Long | The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId` property.
try {
AccountAnalytics result = apiInstance.getAccountAnalytics(accountId);
System.out.println(result);
@@ -5493,7 +5679,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#operation/getUsers) endpoint in the `accountId` property. |
+ **accountId** | **Long**| The identifier of the account. Retrieve it via the [List users in account](https://docs.talon.one/management-api#tag/Accounts-and-users/operation/getUsers) endpoint in the `accountId` property. |
### Return type cool
@@ -5557,7 +5743,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
try {
Collection result = apiInstance.getAccountCollection(collectionId);
System.out.println(result);
@@ -5577,7 +5763,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
### Return type cool
@@ -5775,7 +5961,7 @@ Name | Type | Description | Notes
## getAdditionalCosts
-> InlineResponse20039 getAdditionalCosts(pageSize, skip, sort)
+> InlineResponse20040 getAdditionalCosts(pageSize, skip, sort)
List additional costs
@@ -5820,7 +6006,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20039 result = apiInstance.getAdditionalCosts(pageSize, skip, sort);
+ InlineResponse20040 result = apiInstance.getAdditionalCosts(pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAdditionalCosts");
@@ -5844,7 +6030,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20039**](InlineResponse20039.md)
+[**InlineResponse20040**](InlineResponse20040.md)
### Authorization
@@ -5867,7 +6053,7 @@ Name | Type | Description | Notes
Get Application
-Get the application specified by the ID.
+Get the Application specified by the ID.
### Example
@@ -6029,6 +6215,94 @@ Name | Type | Description | Notes
| **200** | OK | - |
+## getApplicationCartItemFilterExpression
+
+> ApplicationCIFExpression getApplicationCartItemFilterExpression(applicationId, cartItemFilterId, expressionId)
+
+Get Application cart item filter expression
+
+Get an Application cart item filter expression for a specific Application.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: api_key_v1
+ ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1");
+ api_key_v1.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_v1.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Long cartItemFilterId = 56L; // Long | The ID of the Application cart item filter. You can get this ID with the [List Application cart item filters](https://docs.talon.one/management-api#tag/Applications/operation/listApplicationCartItemFilters) endpoint.
+ Long expressionId = 56L; // Long | The ID of the Application cart item filter expression.
+ try {
+ ApplicationCIFExpression result = apiInstance.getApplicationCartItemFilterExpression(applicationId, cartItemFilterId, expressionId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#getApplicationCartItemFilterExpression");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **cartItemFilterId** | **Long**| The ID of the Application cart item filter. You can get this ID with the [List Application cart item filters](https://docs.talon.one/management-api#tag/Applications/operation/listApplicationCartItemFilters) endpoint. |
+ **expressionId** | **Long**| The ID of the Application cart item filter expression. |
+
+### Return type cool
+
+[**ApplicationCIFExpression**](ApplicationCIFExpression.md)
+
+### Authorization
+
+[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
## getApplicationCustomer
> ApplicationCustomer getApplicationCustomer(applicationId, customerId)
@@ -6073,7 +6347,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
- Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
try {
ApplicationCustomer result = apiInstance.getApplicationCustomer(applicationId, customerId);
System.out.println(result);
@@ -6094,7 +6368,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
- **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
### Return type cool
@@ -6117,7 +6391,7 @@ Name | Type | Description | Notes
## getApplicationCustomerFriends
-> InlineResponse20036 getApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize)
+> InlineResponse20037 getApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize)
List friends referred by customer profile
@@ -6163,9 +6437,9 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
try {
- InlineResponse20036 result = apiInstance.getApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize);
+ InlineResponse20037 result = apiInstance.getApplicationCustomerFriends(applicationId, integrationId, pageSize, skip, sort, withTotalResultSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationCustomerFriends");
@@ -6188,11 +6462,11 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
### Return type cool
-[**InlineResponse20036**](InlineResponse20036.md)
+[**InlineResponse20037**](InlineResponse20037.md)
### Authorization
@@ -6211,7 +6485,7 @@ Name | Type | Description | Notes
## getApplicationCustomers
-> InlineResponse20025 getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize)
+> InlineResponse20026 getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize)
List application's customers
@@ -6256,9 +6530,9 @@ public class Example {
String integrationId = "integrationId_example"; // String | Filter results performing an exact matching against the profile integration identifier.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
try {
- InlineResponse20025 result = apiInstance.getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize);
+ InlineResponse20026 result = apiInstance.getApplicationCustomers(applicationId, integrationId, pageSize, skip, withTotalResultSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationCustomers");
@@ -6280,11 +6554,11 @@ Name | Type | Description | Notes
**integrationId** | **String**| Filter results performing an exact matching against the profile integration identifier. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
### Return type cool
-[**InlineResponse20025**](InlineResponse20025.md)
+[**InlineResponse20026**](InlineResponse20026.md)
### Authorization
@@ -6303,7 +6577,7 @@ Name | Type | Description | Notes
## getApplicationCustomersByAttributes
-> InlineResponse20026 getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize)
+> InlineResponse20027 getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize)
List application customers matching the given attributes
@@ -6348,9 +6622,9 @@ public class Example {
CustomerProfileSearchQuery body = new CustomerProfileSearchQuery(); // CustomerProfileSearchQuery | body
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
try {
- InlineResponse20026 result = apiInstance.getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize);
+ InlineResponse20027 result = apiInstance.getApplicationCustomersByAttributes(applicationId, body, pageSize, skip, withTotalResultSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationCustomersByAttributes");
@@ -6372,11 +6646,11 @@ Name | Type | Description | Notes
**body** | [**CustomerProfileSearchQuery**](CustomerProfileSearchQuery.md)| body |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
### Return type cool
-[**InlineResponse20026**](InlineResponse20026.md)
+[**InlineResponse20027**](InlineResponse20027.md)
### Authorization
@@ -6395,7 +6669,7 @@ Name | Type | Description | Notes
## getApplicationEventTypes
-> InlineResponse20032 getApplicationEventTypes(applicationId, pageSize, skip, sort)
+> InlineResponse20033 getApplicationEventTypes(applicationId, pageSize, skip, sort)
List Applications event types
@@ -6441,7 +6715,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20032 result = apiInstance.getApplicationEventTypes(applicationId, pageSize, skip, sort);
+ InlineResponse20033 result = apiInstance.getApplicationEventTypes(applicationId, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationEventTypes");
@@ -6466,7 +6740,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20032**](InlineResponse20032.md)
+[**InlineResponse20033**](InlineResponse20033.md)
### Authorization
@@ -6485,7 +6759,7 @@ Name | Type | Description | Notes
## getApplicationEventsWithoutTotalCount
-> InlineResponse20031 getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType)
+> InlineResponse20032 getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType)
List Applications events
@@ -6543,7 +6817,7 @@ public class Example {
String campaignQuery = "campaignQuery_example"; // String | Campaign name filter for events
String effectType = "effectType_example"; // String | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects).
try {
- InlineResponse20031 result = apiInstance.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType);
+ InlineResponse20032 result = apiInstance.getApplicationEventsWithoutTotalCount(applicationId, pageSize, skip, sort, type, createdBefore, createdAfter, session, profile, customerName, customerEmail, couponCode, referralCode, ruleQuery, campaignQuery, effectType);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationEventsWithoutTotalCount");
@@ -6580,7 +6854,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20031**](InlineResponse20031.md)
+[**InlineResponse20032**](InlineResponse20032.md)
### Authorization
@@ -6685,7 +6959,7 @@ Name | Type | Description | Notes
## getApplicationSessions
-> InlineResponse20030 getApplicationSessions(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId)
+> InlineResponse20031 getApplicationSessions(applicationId, pageSize, skip, sort, partialMatch, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId)
List Application sessions
@@ -6730,16 +7004,17 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- String profile = "profile_example"; // String | Profile integration ID filter for sessions. Must be exact match.
+ Boolean partialMatch = false; // Boolean | Enables partial matching for a single text search field. When enabled, the search term matches anywhere within the field value (case-insensitive). Minimum 3 characters required for partial matches; shorter inputs automatically fall back to exact match. **Note:** Use with one of: `integrationId`, `profile`, `coupon`, `referral`, or `storeIntegrationId`.
+ String profile = "profile_example"; // String | Filter by sessions with this profile integration ID. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters).
String state = "state_example"; // String | Filter by sessions with this state. Must be exact match.
OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally.
OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally.
- String coupon = "coupon_example"; // String | Filter by sessions with this coupon. Must be exact match.
- String referral = "referral_example"; // String | Filter by sessions with this referral. Must be exact match.
- String integrationId = "integrationId_example"; // String | Filter by sessions with this integration ID. Must be exact match.
- String storeIntegrationId = "storeIntegrationId_example"; // String | The integration ID of the store. You choose this ID when you create a store.
+ String coupon = "coupon_example"; // String | Filter by sessions with this coupon. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters).
+ String referral = "referral_example"; // String | Filter by sessions with this referral. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters).
+ String integrationId = "integrationId_example"; // String | Filter by sessions with this integration ID. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters).
+ String storeIntegrationId = "storeIntegrationId_example"; // String | The integration ID of the store. You choose this ID when you create a store. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters).
try {
- InlineResponse20030 result = apiInstance.getApplicationSessions(applicationId, pageSize, skip, sort, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId);
+ InlineResponse20031 result = apiInstance.getApplicationSessions(applicationId, pageSize, skip, sort, partialMatch, profile, state, createdBefore, createdAfter, coupon, referral, integrationId, storeIntegrationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplicationSessions");
@@ -6761,18 +7036,19 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **profile** | **String**| Profile integration ID filter for sessions. Must be exact match. | [optional]
+ **partialMatch** | **Boolean**| Enables partial matching for a single text search field. When enabled, the search term matches anywhere within the field value (case-insensitive). Minimum 3 characters required for partial matches; shorter inputs automatically fall back to exact match. **Note:** Use with one of: `integrationId`, `profile`, `coupon`, `referral`, or `storeIntegrationId`. | [optional] [default to false]
+ **profile** | **String**| Filter by sessions with this profile integration ID. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters). | [optional]
**state** | **String**| Filter by sessions with this state. Must be exact match. | [optional] [enum: open, closed, partially_returned, cancelled]
**createdBefore** | **OffsetDateTime**| Only return events created before this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
**createdAfter** | **OffsetDateTime**| Only return events created after this date. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
- **coupon** | **String**| Filter by sessions with this coupon. Must be exact match. | [optional]
- **referral** | **String**| Filter by sessions with this referral. Must be exact match. | [optional]
- **integrationId** | **String**| Filter by sessions with this integration ID. Must be exact match. | [optional]
- **storeIntegrationId** | **String**| The integration ID of the store. You choose this ID when you create a store. | [optional]
+ **coupon** | **String**| Filter by sessions with this coupon. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters). | [optional]
+ **referral** | **String**| Filter by sessions with this referral. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters). | [optional]
+ **integrationId** | **String**| Filter by sessions with this integration ID. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters). | [optional]
+ **storeIntegrationId** | **String**| The integration ID of the store. You choose this ID when you create a store. By default, requires exact match. Use `partialMatch=true` to search for partial matches (minimum 3 characters). | [optional]
### Return type cool
-[**InlineResponse20030**](InlineResponse20030.md)
+[**InlineResponse20031**](InlineResponse20031.md)
### Authorization
@@ -6791,11 +7067,11 @@ Name | Type | Description | Notes
## getApplications
-> InlineResponse2007 getApplications(pageSize, skip, sort)
+> InlineResponse2008 getApplications(pageSize, skip, sort)
List Applications
-List all applications in the current account.
+List all the Applications in the current account.
### Example
@@ -6836,7 +7112,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse2007 result = apiInstance.getApplications(pageSize, skip, sort);
+ InlineResponse2008 result = apiInstance.getApplications(pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getApplications");
@@ -6860,7 +7136,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2007**](InlineResponse2007.md)
+[**InlineResponse2008**](InlineResponse2008.md)
### Authorization
@@ -6963,7 +7239,7 @@ Name | Type | Description | Notes
## getAttributes
-> InlineResponse20037 getAttributes(pageSize, skip, sort, entity, applicationIds, type, kind, search)
+> InlineResponse20038 getAttributes(pageSize, skip, sort, entity, applicationIds, type, kind, search)
List custom attributes
@@ -7013,7 +7289,7 @@ public class Example {
String kind = "kind_example"; // String | Returned attributes will be filtered by supplied kind (builtin or custom)
String search = "search_example"; // String | Returned attributes will be filtered by searching case insensitive through Attribute name, description and type
try {
- InlineResponse20037 result = apiInstance.getAttributes(pageSize, skip, sort, entity, applicationIds, type, kind, search);
+ InlineResponse20038 result = apiInstance.getAttributes(pageSize, skip, sort, entity, applicationIds, type, kind, search);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAttributes");
@@ -7042,7 +7318,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20037**](InlineResponse20037.md)
+[**InlineResponse20038**](InlineResponse20038.md)
### Authorization
@@ -7061,7 +7337,7 @@ Name | Type | Description | Notes
## getAudienceMemberships
-> InlineResponse20035 getAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery)
+> InlineResponse20036 getAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery)
List audience members
@@ -7108,7 +7384,7 @@ public class Example {
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
String profileQuery = "profileQuery_example"; // String | The filter to select a profile.
try {
- InlineResponse20035 result = apiInstance.getAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery);
+ InlineResponse20036 result = apiInstance.getAudienceMemberships(audienceId, pageSize, skip, sort, profileQuery);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAudienceMemberships");
@@ -7134,7 +7410,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20035**](InlineResponse20035.md)
+[**InlineResponse20036**](InlineResponse20036.md)
### Authorization
@@ -7154,7 +7430,7 @@ Name | Type | Description | Notes
## getAudiences
-> InlineResponse20033 getAudiences(pageSize, skip, sort, withTotalResultSize)
+> InlineResponse20034 getAudiences(pageSize, skip, sort, withTotalResultSize)
List audiences
@@ -7198,9 +7474,9 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
try {
- InlineResponse20033 result = apiInstance.getAudiences(pageSize, skip, sort, withTotalResultSize);
+ InlineResponse20034 result = apiInstance.getAudiences(pageSize, skip, sort, withTotalResultSize);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAudiences");
@@ -7221,11 +7497,11 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
### Return type cool
-[**InlineResponse20033**](InlineResponse20033.md)
+[**InlineResponse20034**](InlineResponse20034.md)
### Authorization
@@ -7244,7 +7520,7 @@ Name | Type | Description | Notes
## getAudiencesAnalytics
-> InlineResponse20034 getAudiencesAnalytics(audienceIds, sort)
+> InlineResponse20035 getAudiencesAnalytics(audienceIds, sort)
List audience analytics
@@ -7288,7 +7564,7 @@ public class Example {
String audienceIds = "audienceIds_example"; // String | The IDs of one or more audiences, separated by commas, by which to filter results.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20034 result = apiInstance.getAudiencesAnalytics(audienceIds, sort);
+ InlineResponse20035 result = apiInstance.getAudiencesAnalytics(audienceIds, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getAudiencesAnalytics");
@@ -7311,7 +7587,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20034**](InlineResponse20034.md)
+[**InlineResponse20035**](InlineResponse20035.md)
### Authorization
@@ -7416,7 +7692,7 @@ Name | Type | Description | Notes
## getCampaignAnalytics
-> InlineResponse20024 getCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity)
+> InlineResponse20025 getCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity)
Get analytics of campaigns
@@ -7459,11 +7735,11 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String granularity = "granularity_example"; // String | The time interval between the results in the returned time-series.
try {
- InlineResponse20024 result = apiInstance.getCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity);
+ InlineResponse20025 result = apiInstance.getCampaignAnalytics(applicationId, campaignId, rangeStart, rangeEnd, granularity);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCampaignAnalytics");
@@ -7483,13 +7759,13 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**granularity** | **String**| The time interval between the results in the returned time-series. | [optional] [enum: 1 hour, 1 day, 1 week, 1 month, 1 year]
### Return type cool
-[**InlineResponse20024**](InlineResponse20024.md)
+[**InlineResponse20025**](InlineResponse20025.md)
### Authorization
@@ -7508,7 +7784,7 @@ Name | Type | Description | Notes
## getCampaignByAttributes
-> InlineResponse2008 getCampaignByAttributes(applicationId, body, pageSize, skip, sort, campaignState)
+> InlineResponse2009 getCampaignByAttributes(applicationId, body, pageSize, skip, sort, campaignState)
List campaigns that match the given attributes
@@ -7556,7 +7832,7 @@ public class Example {
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
String campaignState = "campaignState_example"; // String | Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
try {
- InlineResponse2008 result = apiInstance.getCampaignByAttributes(applicationId, body, pageSize, skip, sort, campaignState);
+ InlineResponse2009 result = apiInstance.getCampaignByAttributes(applicationId, body, pageSize, skip, sort, campaignState);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCampaignByAttributes");
@@ -7583,7 +7859,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2008**](InlineResponse2008.md)
+[**InlineResponse2009**](InlineResponse2009.md)
### Authorization
@@ -7686,7 +7962,7 @@ Name | Type | Description | Notes
## getCampaignGroups
-> InlineResponse20013 getCampaignGroups(pageSize, skip, sort)
+> InlineResponse20014 getCampaignGroups(pageSize, skip, sort)
List campaign access groups
@@ -7731,7 +8007,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20013 result = apiInstance.getCampaignGroups(pageSize, skip, sort);
+ InlineResponse20014 result = apiInstance.getCampaignGroups(pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCampaignGroups");
@@ -7755,7 +8031,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20013**](InlineResponse20013.md)
+[**InlineResponse20014**](InlineResponse20014.md)
### Authorization
@@ -7774,7 +8050,7 @@ Name | Type | Description | Notes
## getCampaignTemplates
-> InlineResponse20014 getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId)
+> InlineResponse20015 getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId)
List campaign templates
@@ -7823,7 +8099,7 @@ public class Example {
String tags = "tags_example"; // String | Filter results performing case-insensitive matching against the tags of the campaign template. When used in conjunction with the \"name\" query parameter, a logical OR will be performed to search both tags and name for the provided values.
Long userId = 56L; // Long | Filter results by user ID.
try {
- InlineResponse20014 result = apiInstance.getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId);
+ InlineResponse20015 result = apiInstance.getCampaignTemplates(pageSize, skip, sort, state, name, tags, userId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCampaignTemplates");
@@ -7851,7 +8127,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20014**](InlineResponse20014.md)
+[**InlineResponse20015**](InlineResponse20015.md)
### Authorization
@@ -7870,7 +8146,7 @@ Name | Type | Description | Notes
## getCampaigns
-> InlineResponse2008 getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, startBefore, startAfter, endBefore, endAfter, campaignGroupId, templateId, storeId)
+> InlineResponse2009 getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, startBefore, startAfter, endBefore, endAfter, campaignGroupId, templateId, storeId)
List campaigns
@@ -7928,7 +8204,7 @@ public class Example {
Long templateId = 56L; // Long | The ID of the campaign template this campaign was created from.
Long storeId = 56L; // Long | Filter results to campaigns linked to the specified store ID.
try {
- InlineResponse2008 result = apiInstance.getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, startBefore, startAfter, endBefore, endAfter, campaignGroupId, templateId, storeId);
+ InlineResponse2009 result = apiInstance.getCampaigns(applicationId, pageSize, skip, sort, campaignState, name, tags, createdBefore, createdAfter, startBefore, startAfter, endBefore, endAfter, campaignGroupId, templateId, storeId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCampaigns");
@@ -7965,7 +8241,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2008**](InlineResponse2008.md)
+[**InlineResponse2009**](InlineResponse2009.md)
### Authorization
@@ -7985,7 +8261,7 @@ Name | Type | Description | Notes
## getChanges
-> InlineResponse20043 getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld)
+> InlineResponse20044 getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld)
Get audit logs for an account
@@ -8034,11 +8310,11 @@ public class Example {
Long userId = 56L; // Long | Filter results by user ID.
OffsetDateTime createdBefore = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
OffsetDateTime createdAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
Long managementKeyId = 56L; // Long | Filter results that match the given management key ID.
Boolean includeOld = true; // Boolean | When this flag is set to false, the state without the change will not be returned. The default value is true.
try {
- InlineResponse20043 result = apiInstance.getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld);
+ InlineResponse20044 result = apiInstance.getChanges(pageSize, skip, sort, applicationId, entityPath, userId, createdBefore, createdAfter, withTotalResultSize, managementKeyId, includeOld);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getChanges");
@@ -8064,13 +8340,13 @@ Name | Type | Description | Notes
**userId** | **Long**| Filter results by user ID. | [optional]
**createdBefore** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
**createdAfter** | **OffsetDateTime**| Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the change creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**managementKeyId** | **Long**| Filter results that match the given management key ID. | [optional]
**includeOld** | **Boolean**| When this flag is set to false, the state without the change will not be returned. The default value is true. | [optional]
### Return type cool
-[**InlineResponse20043**](InlineResponse20043.md)
+[**InlineResponse20044**](InlineResponse20044.md)
### Authorization
@@ -8132,7 +8408,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint.
try {
Collection result = apiInstance.getCollection(applicationId, campaignId, collectionId);
System.out.println(result);
@@ -8154,7 +8430,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint. |
### Return type cool
@@ -8178,7 +8454,7 @@ Name | Type | Description | Notes
## getCollectionItems
-> InlineResponse20022 getCollectionItems(collectionId, pageSize, skip)
+> InlineResponse20023 getCollectionItems(collectionId, pageSize, skip)
Get collection items
@@ -8219,11 +8495,11 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
try {
- InlineResponse20022 result = apiInstance.getCollectionItems(collectionId, pageSize, skip);
+ InlineResponse20023 result = apiInstance.getCollectionItems(collectionId, pageSize, skip);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCollectionItems");
@@ -8241,13 +8517,13 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
### Return type cool
-[**InlineResponse20022**](InlineResponse20022.md)
+[**InlineResponse20023**](InlineResponse20023.md)
### Authorization
@@ -8267,7 +8543,7 @@ Name | Type | Description | Notes
## getCouponsWithoutTotalCount
-> InlineResponse20011 getCouponsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly)
+> InlineResponse20012 getCouponsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly)
List coupons
@@ -8329,7 +8605,7 @@ public class Example {
OffsetDateTime startsAfter = new OffsetDateTime(); // OffsetDateTime | Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon start date timestamp. You can use any time zone setting. Talon.One will convert to UTC internally.
Boolean valuesOnly = false; // Boolean | Filter results to only return the coupon codes (`value` column) without the associated coupon data.
try {
- InlineResponse20011 result = apiInstance.getCouponsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly);
+ InlineResponse20012 result = apiInstance.getCouponsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, redeemed, referralId, recipientIntegrationId, batchId, exactMatch, expiresBefore, expiresAfter, startsBefore, startsAfter, valuesOnly);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCouponsWithoutTotalCount");
@@ -8370,7 +8646,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20011**](InlineResponse20011.md)
+[**InlineResponse20012**](InlineResponse20012.md)
### Authorization
@@ -8430,10 +8706,10 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
- Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
try {
@@ -8455,10 +8731,10 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
- **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
@@ -8483,7 +8759,7 @@ Name | Type | Description | Notes
## getCustomerActivityReportsWithoutTotalCount
-> InlineResponse20029 getCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName)
+> InlineResponse20030 getCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName)
Get Activity Reports for Application Customers
@@ -8524,8 +8800,8 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
@@ -8535,7 +8811,7 @@ public class Example {
String campaignName = "campaignName_example"; // String | Only return reports matching the campaign name.
String advocateName = "advocateName_example"; // String | Only return reports matching the current customer referrer name.
try {
- InlineResponse20029 result = apiInstance.getCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName);
+ InlineResponse20030 result = apiInstance.getCustomerActivityReportsWithoutTotalCount(rangeStart, rangeEnd, applicationId, pageSize, skip, sort, name, integrationId, campaignName, advocateName);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCustomerActivityReportsWithoutTotalCount");
@@ -8553,8 +8829,8 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
@@ -8566,7 +8842,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20029**](InlineResponse20029.md)
+[**InlineResponse20030**](InlineResponse20030.md)
### Authorization
@@ -8627,7 +8903,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
- Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
@@ -8651,7 +8927,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
- **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
@@ -8681,7 +8957,7 @@ Name | Type | Description | Notes
Get customer profile
-Return the details of the specified customer profile. <div class=\"redoc-section\"> <p class=\"title\">Performance tips</p> You can retrieve the same information via the Integration API, which can save you extra API requests. consider these options: - Request the customer profile to be part of the response content using [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`. </div>
+Return the details of the specified customer profile. > [!note] > You can retrieve the same information via the Integration API, which can save you extra API requests. Consider these options: > - Request the customer profile to be part of the response content using > [Update Customer Session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). > - Send an empty update with the [Update Customer Profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint with `runRuleEngine=false`.
### Example
@@ -8718,7 +8994,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint.
+ Long customerId = 56L; // Long | The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint.
try {
CustomerProfile result = apiInstance.getCustomerProfile(customerId);
System.out.println(result);
@@ -8738,7 +9014,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. |
+ **customerId** | **Long**| The value of the `id` property of a customer profile. Get it with the [List Application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. |
### Return type cool
@@ -8761,7 +9037,7 @@ Name | Type | Description | Notes
## getCustomerProfileAchievementProgress
-> InlineResponse20050 getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title)
+> InlineResponse20052 getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title)
List customer achievements
@@ -8809,7 +9085,7 @@ public class Example {
Long achievementId = 56L; // Long | The ID of the achievement. You can get this ID with the [List achievement](https://docs.talon.one/management-api#tag/Achievements/operation/listAchievements) endpoint.
String title = "title_example"; // String | Filter results by the `title` of an achievement.
try {
- InlineResponse20050 result = apiInstance.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title);
+ InlineResponse20052 result = apiInstance.getCustomerProfileAchievementProgress(applicationId, integrationId, pageSize, skip, achievementId, title);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCustomerProfileAchievementProgress");
@@ -8836,7 +9112,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20050**](InlineResponse20050.md)
+[**InlineResponse20052**](InlineResponse20052.md)
### Authorization
@@ -8857,7 +9133,7 @@ Name | Type | Description | Notes
## getCustomerProfiles
-> InlineResponse20028 getCustomerProfiles(pageSize, skip, sandbox)
+> InlineResponse20029 getCustomerProfiles(pageSize, skip, sandbox)
List customer profiles
@@ -8902,7 +9178,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean sandbox = false; // Boolean | Indicates whether you are pointing to a sandbox or live customer.
try {
- InlineResponse20028 result = apiInstance.getCustomerProfiles(pageSize, skip, sandbox);
+ InlineResponse20029 result = apiInstance.getCustomerProfiles(pageSize, skip, sandbox);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCustomerProfiles");
@@ -8926,7 +9202,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20028**](InlineResponse20028.md)
+[**InlineResponse20029**](InlineResponse20029.md)
### Authorization
@@ -8945,7 +9221,7 @@ Name | Type | Description | Notes
## getCustomersByAttributes
-> InlineResponse20027 getCustomersByAttributes(body, pageSize, skip, sandbox)
+> InlineResponse20028 getCustomersByAttributes(body, pageSize, skip, sandbox)
List customer profiles matching the given attributes
@@ -8991,7 +9267,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean sandbox = false; // Boolean | Indicates whether you are pointing to a sandbox or live customer.
try {
- InlineResponse20027 result = apiInstance.getCustomersByAttributes(body, pageSize, skip, sandbox);
+ InlineResponse20028 result = apiInstance.getCustomersByAttributes(body, pageSize, skip, sandbox);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getCustomersByAttributes");
@@ -9016,7 +9292,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20027**](InlineResponse20027.md)
+[**InlineResponse20028**](InlineResponse20028.md)
### Authorization
@@ -9035,11 +9311,11 @@ Name | Type | Description | Notes
## getDashboardStatistics
-> InlineResponse20017 getDashboardStatistics(loyaltyProgramId, rangeStart, rangeEnd, subledgerId)
+> InlineResponse20018 getDashboardStatistics(loyaltyProgramId, rangeStart, rangeEnd, subledgerId)
Get statistics for loyalty dashboard
-Retrieve the statistics displayed on the specified loyalty program's dashboard, such as the total active points, pending points, spent points, and expired points. **Important:** The returned data does not include the current day. All statistics are updated daily at 11:59 PM in the loyalty program time zone.
+Retrieve the statistics displayed on the specified loyalty program's dashboard, such as the total active points, pending points, spent points, and expired points. > [!important] The returned data does not include the current day. All statistics > are updated daily at 11:59 PM in the loyalty program time zone.
### Example
@@ -9077,11 +9353,11 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeStart = new OffsetDateTime(); // OffsetDateTime | Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime rangeEnd = new OffsetDateTime(); // OffsetDateTime | Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data.
try {
- InlineResponse20017 result = apiInstance.getDashboardStatistics(loyaltyProgramId, rangeStart, rangeEnd, subledgerId);
+ InlineResponse20018 result = apiInstance.getDashboardStatistics(loyaltyProgramId, rangeStart, rangeEnd, subledgerId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getDashboardStatistics");
@@ -9100,13 +9376,13 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
- **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. **Note:** - This must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeStart** | **OffsetDateTime**| Only return results from after this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
+ **rangeEnd** | **OffsetDateTime**| Only return results from before this timestamp. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. |
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
### Return type cool
-[**InlineResponse20017**](InlineResponse20017.md)
+[**InlineResponse20018**](InlineResponse20018.md)
### Authorization
@@ -9125,7 +9401,7 @@ Name | Type | Description | Notes
## getEventTypes
-> InlineResponse20041 getEventTypes(name, includeOldVersions, pageSize, skip, sort)
+> InlineResponse20042 getEventTypes(name, includeOldVersions, pageSize, skip, sort)
List event types
@@ -9172,7 +9448,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20041 result = apiInstance.getEventTypes(name, includeOldVersions, pageSize, skip, sort);
+ InlineResponse20042 result = apiInstance.getEventTypes(name, includeOldVersions, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getEventTypes");
@@ -9198,7 +9474,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20041**](InlineResponse20041.md)
+[**InlineResponse20042**](InlineResponse20042.md)
### Authorization
@@ -9221,7 +9497,7 @@ Name | Type | Description | Notes
Get experiment in Application
-Retrieve a given experiment associated with an Application.
+Retrieve the given experiment associated with the Application.
### Example
@@ -9303,7 +9579,7 @@ Name | Type | Description | Notes
## getExports
-> InlineResponse20044 getExports(pageSize, skip, applicationId, campaignId, entity)
+> InlineResponse20045 getExports(pageSize, skip, applicationId, campaignId, entity)
Get exports
@@ -9350,7 +9626,7 @@ public class Example {
Long campaignId = 56L; // Long | Filter by the campaign ID on which the limit counters are used.
String entity = "entity_example"; // String | The name of the entity type that was exported.
try {
- InlineResponse20044 result = apiInstance.getExports(pageSize, skip, applicationId, campaignId, entity);
+ InlineResponse20045 result = apiInstance.getExports(pageSize, skip, applicationId, campaignId, entity);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getExports");
@@ -9376,7 +9652,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20044**](InlineResponse20044.md)
+[**InlineResponse20045**](InlineResponse20045.md)
### Authorization
@@ -9437,7 +9713,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
try {
LoyaltyCard result = apiInstance.getLoyaltyCard(loyaltyProgramId, loyaltyCardId);
System.out.println(result);
@@ -9458,7 +9734,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
### Return type cool
@@ -9484,7 +9760,7 @@ Name | Type | Description | Notes
## getLoyaltyCardTransactionLogs
-> InlineResponse20020 getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs)
+> InlineResponse20021 getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs)
List card's transactions
@@ -9526,16 +9802,16 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
- OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
+ OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
try {
- InlineResponse20020 result = apiInstance.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs);
+ InlineResponse20021 result = apiInstance.getLoyaltyCardTransactionLogs(loyaltyProgramId, loyaltyCardId, startDate, endDate, pageSize, skip, subledgerId, customerSessionIDs, transactionUUIDs);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getLoyaltyCardTransactionLogs");
@@ -9554,18 +9830,18 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
- **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
+ **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
### Return type cool
-[**InlineResponse20020**](InlineResponse20020.md)
+[**InlineResponse20021**](InlineResponse20021.md)
### Authorization
@@ -9586,7 +9862,7 @@ Name | Type | Description | Notes
## getLoyaltyCards
-> InlineResponse20019 getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId)
+> InlineResponse20020 getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId)
List loyalty cards
@@ -9631,11 +9907,11 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- String identifier = "identifier_example"; // String | The card code by which to filter loyalty cards in the response.
+ String identifier = "identifier_example"; // String | The card code by which to filter loyalty cards in the response. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
Long profileId = 56L; // Long | Filter results by customer profile ID.
String batchId = "batchId_example"; // String | Filter results by loyalty card batch ID.
try {
- InlineResponse20019 result = apiInstance.getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId);
+ InlineResponse20020 result = apiInstance.getLoyaltyCards(loyaltyProgramId, pageSize, skip, sort, identifier, profileId, batchId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getLoyaltyCards");
@@ -9657,13 +9933,13 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **identifier** | **String**| The card code by which to filter loyalty cards in the response. | [optional]
+ **identifier** | **String**| The card code by which to filter loyalty cards in the response. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. | [optional]
**profileId** | **Long**| Filter results by customer profile ID. | [optional]
**batchId** | **String**| Filter results by loyalty card batch ID. | [optional]
### Return type cool
-[**InlineResponse20019**](InlineResponse20019.md)
+[**InlineResponse20020**](InlineResponse20020.md)
### Authorization
@@ -9688,7 +9964,7 @@ Name | Type | Description | Notes
Get customer's loyalty balances
-Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. > [!note] If no filtering options are applied, you retrieve all loyalty > balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
### Example
@@ -9727,7 +10003,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger used to filter the data. Leave this value empty (\"\") to query the main ledger.
Boolean includeTiers = false; // Boolean | Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier.
Boolean includeProjectedTier = false; // Boolean | Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance.
@@ -9752,7 +10028,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. |
- **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**subledgerId** | **String**| The ID of the subledger used to filter the data. Leave this value empty (\"\") to query the main ledger. | [optional]
**includeTiers** | **Boolean**| Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. | [optional] [default to false]
**includeProjectedTier** | **Boolean**| Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. | [optional] [default to false]
@@ -9785,7 +10061,7 @@ Name | Type | Description | Notes
Get customer's full loyalty ledger
-Get the loyalty ledger for this profile integration ID. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program, we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
+Get the loyalty ledger for this profile integration ID. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program, we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
### Example
@@ -9871,7 +10147,7 @@ Name | Type | Description | Notes
Get loyalty program
-Get the specified [loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview). To list all loyalty programs in your Application, use [List loyalty programs](#operation/getLoyaltyPrograms). To list the loyalty programs that a customer profile is part of, use the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory)
+Get the specified [loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview). To list all loyalty programs in your Application, use [List loyalty programs](#tag/Loyalty/operation/getLoyaltyPrograms). To list the loyalty programs that a customer profile is part of, use [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory).
### Example
@@ -9951,11 +10227,11 @@ Name | Type | Description | Notes
## getLoyaltyProgramProfileLedgerTransactions
-> InlineResponse2004 getLoyaltyProgramProfileLedgerTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation)
+> InlineResponse2005 getLoyaltyProgramProfileLedgerTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation)
List customer's loyalty transactions
-Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date or by ledger (subledger or main ledger). If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date or by ledger (subledger or main ledger). If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. > [!note] To retrieve all loyalty program transaction logs in a given > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) > endpoint.
### Example
@@ -9994,17 +10270,17 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String integrationId = "integrationId_example"; // String | The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger used to filter the data. Leave this value empty (\"\") to query the main ledger.
String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file.
- OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long pageSize = 50lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean awaitsActivation = true; // Boolean | If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response.
try {
- InlineResponse2004 result = apiInstance.getLoyaltyProgramProfileLedgerTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
+ InlineResponse2005 result = apiInstance.getLoyaltyProgramProfileLedgerTransactions(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getLoyaltyProgramProfileLedgerTransactions");
@@ -10024,19 +10300,19 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**integrationId** | **String**| The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. |
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
**subledgerId** | **String**| The ID of the subledger used to filter the data. Leave this value empty (\"\") to query the main ledger. | [optional]
**loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import]
- **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**awaitsActivation** | **Boolean**| If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. | [optional]
### Return type cool
-[**InlineResponse2004**](InlineResponse2004.md)
+[**InlineResponse2005**](InlineResponse2005.md)
### Authorization
@@ -10058,11 +10334,11 @@ Name | Type | Description | Notes
## getLoyaltyProgramTransactions
-> InlineResponse20018 getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, awaitsActivation)
+> InlineResponse20019 getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, awaitsActivation)
List loyalty program transactions
-Retrieve loyalty program transaction logs in a given loyalty program with filtering options applied. Manual and imported transactions are also included. **Note:** If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned. **Important:** To get loyalty transaction logs for a given Integration ID in a loyalty program, we recommend using the Integration API's [Get customer's loyalty logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
+Retrieve loyalty program transaction logs in a given loyalty program with filtering options applied. Manual and imported transactions are also included. > [!note] **Note** > - If no filters are applied, the last 50 loyalty transactions for the given loyalty program are returned. > - To get loyalty transaction logs for a given Integration ID in > a loyalty program, we recommend using the Integration API's [Get customer's loyalty > logs](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions).
### Example
@@ -10102,15 +10378,15 @@ public class Example {
Long loyaltyProgramId = 56L; // Long | Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
String loyaltyTransactionType = "loyaltyTransactionType_example"; // String | Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file.
String subledgerId = "subledgerId_example"; // String | The ID of the subledger by which we filter the data.
- List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
- List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
- OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
- OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ List customerSessionIDs = Arrays.asList(); // List | Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions.
+ List transactionUUIDs = Arrays.asList(); // List | Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions.
+ OffsetDateTime startDate = new OffsetDateTime(); // OffsetDateTime | Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
+ OffsetDateTime endDate = new OffsetDateTime(); // OffsetDateTime | Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered.
Long pageSize = 50lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
Boolean awaitsActivation = true; // Boolean | If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response.
try {
- InlineResponse20018 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, awaitsActivation);
+ InlineResponse20019 result = apiInstance.getLoyaltyProgramTransactions(loyaltyProgramId, loyaltyTransactionType, subledgerId, customerSessionIDs, transactionUUIDs, startDate, endDate, pageSize, skip, awaitsActivation);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getLoyaltyProgramTransactions");
@@ -10131,17 +10407,17 @@ Name | Type | Description | Notes
**loyaltyProgramId** | **Long**| Identifier of the loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
**loyaltyTransactionType** | **String**| Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. | [optional] [enum: manual, session, import]
**subledgerId** | **String**| The ID of the subledger by which we filter the data. | [optional]
- **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
- **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
- **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
- **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **customerSessionIDs** | [**List<String>**](String.md)| Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. | [optional]
+ **transactionUUIDs** | [**List<String>**](String.md)| Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. | [optional]
+ **startDate** | **OffsetDateTime**| Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
+ **endDate** | **OffsetDateTime**| Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. | [optional]
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**awaitsActivation** | **Boolean**| If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. | [optional]
### Return type cool
-[**InlineResponse20018**](InlineResponse20018.md)
+[**InlineResponse20019**](InlineResponse20019.md)
### Authorization
@@ -10163,7 +10439,7 @@ Name | Type | Description | Notes
## getLoyaltyPrograms
-> InlineResponse20016 getLoyaltyPrograms()
+> InlineResponse20017 getLoyaltyPrograms()
List loyalty programs
@@ -10205,7 +10481,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
try {
- InlineResponse20016 result = apiInstance.getLoyaltyPrograms();
+ InlineResponse20017 result = apiInstance.getLoyaltyPrograms();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getLoyaltyPrograms");
@@ -10224,7 +10500,7 @@ This endpoint does not need any parameter.
### Return type cool
-[**InlineResponse20016**](InlineResponse20016.md)
+[**InlineResponse20017**](InlineResponse20017.md)
### Authorization
@@ -10247,7 +10523,7 @@ This endpoint does not need any parameter.
Get loyalty program statistics
-⚠️ Deprecation notice: Support for requests to this endpoint will end soon. To retrieve statistics for a loyalty program, use the [Get statistics for loyalty dashboard](/management-api#tag/Loyalty/operation/getDashboardStatistics) endpoint. Retrieve the statistics of the specified loyalty program, such as the total active points, pending points, spent points, and expired points.
+> [warning] This endpoint is deprecated. To retrieve statistics for a loyalty program, use the [Get statistics for loyalty dashboard](/management-api#tag/Loyalty/operation/getDashboardStatistics) endpoint. Retrieve the statistics of the specified loyalty program, such as the total active points, pending points, spent points, and expired points.
### Example
@@ -10437,7 +10713,7 @@ Name | Type | Description | Notes
## getReferralsWithoutTotalCount
-> InlineResponse20012 getReferralsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate)
+> InlineResponse20013 getReferralsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate)
List referrals
@@ -10490,7 +10766,7 @@ public class Example {
String usable = "usable_example"; // String | Either \"true\" or \"false\". If \"true\", only referrals where `usageCounter < usageLimit` will be returned, \"false\" will return only referrals where `usageCounter >= usageLimit`.
String advocate = "advocate_example"; // String | Filter results by match with a profile ID specified in the referral's AdvocateProfileIntegrationId field.
try {
- InlineResponse20012 result = apiInstance.getReferralsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate);
+ InlineResponse20013 result = apiInstance.getReferralsWithoutTotalCount(applicationId, campaignId, pageSize, skip, sort, code, createdBefore, createdAfter, valid, usable, advocate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getReferralsWithoutTotalCount");
@@ -10522,7 +10798,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20012**](InlineResponse20012.md)
+[**InlineResponse20013**](InlineResponse20013.md)
### Authorization
@@ -10713,7 +10989,7 @@ Name | Type | Description | Notes
## getRulesets
-> InlineResponse2009 getRulesets(applicationId, campaignId, pageSize, skip, sort)
+> InlineResponse20010 getRulesets(applicationId, campaignId, pageSize, skip, sort)
List campaign rulesets
@@ -10760,7 +11036,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse2009 result = apiInstance.getRulesets(applicationId, campaignId, pageSize, skip, sort);
+ InlineResponse20010 result = apiInstance.getRulesets(applicationId, campaignId, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getRulesets");
@@ -10786,7 +11062,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse2009**](InlineResponse2009.md)
+[**InlineResponse20010**](InlineResponse20010.md)
### Authorization
@@ -10976,7 +11252,7 @@ Name | Type | Description | Notes
## getUsers
-> InlineResponse20042 getUsers(pageSize, skip, sort)
+> InlineResponse20043 getUsers(pageSize, skip, sort)
List users in account
@@ -11021,7 +11297,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20042 result = apiInstance.getUsers(pageSize, skip, sort);
+ InlineResponse20043 result = apiInstance.getUsers(pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getUsers");
@@ -11045,7 +11321,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20042**](InlineResponse20042.md)
+[**InlineResponse20043**](InlineResponse20043.md)
### Authorization
@@ -11148,7 +11424,7 @@ Name | Type | Description | Notes
## getWebhooks
-> InlineResponse20040 getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title)
+> InlineResponse20041 getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title)
List webhooks
@@ -11198,7 +11474,7 @@ public class Example {
Long outgoingIntegrationsTypeId = 56L; // Long | Filter results by outgoing integration type ID.
String title = "title_example"; // String | Filter results performing case-insensitive matching against the webhook title.
try {
- InlineResponse20040 result = apiInstance.getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title);
+ InlineResponse20041 result = apiInstance.getWebhooks(applicationIds, sort, pageSize, skip, creationType, visibility, outgoingIntegrationsTypeId, title);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#getWebhooks");
@@ -11227,7 +11503,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20040**](InlineResponse20040.md)
+[**InlineResponse20041**](InlineResponse20041.md)
### Authorization
@@ -11250,7 +11526,7 @@ Name | Type | Description | Notes
Import data into existing account-level collection
-Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
+Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. ## Example ``` item Adidas Nike Asics ``` > [!note] Before sending a request to this endpoint, ensure the data in the > CSV to import is different from the data currently stored in the collection.
### Example
@@ -11287,7 +11563,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importAccountCollection(collectionId, upFile);
@@ -11308,7 +11584,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -11338,7 +11614,7 @@ Name | Type | Description | Notes
Import allowed values for attribute
-Upload a CSV file containing a list of [picklist values](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#picklist-values) for the specified attribute. The file should be sent as multipart data. The import **replaces** the previous list of allowed values for this attribute, if any. The CSV file **must** only contain the following column: - `item` (required): the values in your allowed list, for example a list of SKU's. An allowed list is limited to 500,000 items. Example: ```text item CS-VG-04032021-UP-50D-10 CS-DV-04042021-UP-49D-12 CS-DG-02082021-UP-50G-07 ```
+Upload a CSV file containing a list of [picklist values](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes#picklist-values) for the specified attribute. The file should be sent as multipart data. The import **replaces** the previous list of allowed values for this attribute, if any. The CSV file **must** only contain the following column: - `item`: The values in your allowed list, for example a list of SKUs. An allowed list is limited to 500,000 items. ## Example ```text item CS-VG-04032021-UP-50D-10 CS-DV-04042021-UP-49D-12 CS-DG-02082021-UP-50G-07 ```
### Example
@@ -11427,7 +11703,7 @@ Name | Type | Description | Notes
Import audience members
-Upload a CSV file containing the integration IDs of the members you want to add to an audience. The file should be sent as multipart data and should contain only the following column (required): - `profileintegrationid`: The integration ID of the customer profile. The import **replaces** the previous list of audience members. **Note:** We recommend limiting your file size to 500MB. Example: ```text profileintegrationid charles alexa ```
+Upload a CSV file containing the integration IDs of the members you want to add to an audience. The file should be sent as multipart data and should contain only the following column (required): - `profileintegrationid`: The integration ID of the customer profile. The import **replaces** the previous list of audience members. > [!note] We recommend limiting your file size to 500 MB. ## Example ```text profileintegrationid charles alexa ```
### Example
@@ -11700,7 +11976,7 @@ Name | Type | Description | Notes
Import data into existing campaign-level collection
-Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. Example: ``` item Addidas Nike Asics ``` **Note:** Before sending a request to this endpoint, ensure the data in the CSV to import is different from the data currently stored in the collection.
+Upload a CSV file containing the collection of string values that should be attached as payload for collection. The file should be sent as multipart data. The import **replaces** the initial content of the collection. The CSV file **must** only contain the following column: - `item`: the values in your collection. A collection is limited to 500,000 items. ## Example ``` item Adidas Nike Asics ``` > [!note] Before sending a request to this endpoint, ensure the data in the > CSV to import is different from the data currently stored in the collection.
### Example
@@ -11739,7 +12015,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint.
String upFile = "upFile_example"; // String | The file containing the data that is being imported.
try {
ModelImport result = apiInstance.importCollection(applicationId, campaignId, collectionId, upFile);
@@ -11762,7 +12038,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint. |
**upFile** | **String**| The file containing the data that is being imported. | [optional]
### Return type cool
@@ -11791,7 +12067,7 @@ Name | Type | Description | Notes
Import coupons
-Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `value` (required): The coupon code. Must be at least 3 characters long. We recommend using alphanumeric characters. There is no maximum length but limiting the code to 30 characters ensures it is fully readable in the Campaign Manager. The code should be unique unless you set `skipDuplicates` to `true`. - `expirydate`: The end date in RFC3339 of the code redemption period. - `startdate`: The start date in RFC3339 of the code redemption period. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. - `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value. - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text \"value\",\"expirydate\",\"startdate\",\"recipientintegrationid\",\"limitval\",\"attributes\",\"discountlimit\" COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,\"{\"\"Category\"\": \"\"10_off\"\"}\",2.4 ``` Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
+Upload a CSV file containing the coupons that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `value` (required): The coupon code. Must be at least 3 characters long. We recommend using alphanumeric characters. There is no maximum length but limiting the code to 30 characters ensures it is fully readable in the Campaign Manager. The code should be unique unless you set `skipDuplicates` to `true`. - `expirydate`: The end date in RFC3339 of the code redemption period. - `startdate`: The start date in RFC3339 of the code redemption period. - `recipientintegrationid`: The integration ID of the recipient of the coupon. Only the customer with this integration ID can redeem this code. Available only for personal codes. - `limitval`: The maximum number of redemptions of this code. For unlimited redemptions, use `0`. Defaults to `1` when not provided. - `discountlimit`: The total discount value that the code can give. This is typically used to represent a gift card value. - `attributes`: A JSON object describing _custom_ coupon attribute names and their values, enclosed with double quotation marks.<br /> For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the coupon entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. > [!note] We recommend limiting your file size to 500 MB. ## Example ```text \"value\",\"expirydate\",\"startdate\",\"recipientintegrationid\",\"limitval\",\"attributes\",\"discountlimit\" COUP1,2018-07-01T04:00:00Z,2018-05-01T04:00:00Z,cust123,1,\"{\"\"Category\"\": \"\"10_off\"\"}\",2.4 ``` Once imported, you can find the `batchId` in the Campaign Manager or by using [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount).
### Example
@@ -11881,7 +12157,7 @@ Name | Type | Description | Notes
Import loyalty cards
-Upload a CSV file containing the loyalty cards that you want to use in your card-based loyalty program. Send the file as multipart data. It contains the following columns for each card: - `identifier` (required): The alphanumeric identifier of the loyalty card. - `state` (required): The state of the loyalty card. It can be `active` or `inactive`. - `customerprofileids` (optional): An array of strings representing the identifiers of the customer profiles linked to the loyalty card. The identifiers should be separated with a semicolon (;). - `attributes` (optional): A JSON object that contains the loyalty card's custom attributes and their values. These attributes must be created and connected to this loyalty program before they can be assigned to the cards through this endpoint. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv identifier,state,customerprofileids,attributes 123-456-789AT,active,Alexa001;UserA,\"{\"\"my_attribute\"\": \"\"10_off\"\"}\" ```
+Upload a CSV file containing the loyalty cards that you want to use in your card-based loyalty program. Send the file as multipart data. It contains the following columns for each card: - `identifier` (required): The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. - `state` (required): The state of the loyalty card. It can be `active` or `inactive`. - `customerprofileids` (optional): An array of strings representing the identifiers of the customer profiles linked to the loyalty card. The identifiers should be separated with a semicolon (;). > [!note] We recommend limiting your file size to 500MB. ## Example ```csv identifier,state,customerprofileids 123-456-789AT,active,Alexa001;UserA ```
### Example
@@ -11969,7 +12245,7 @@ Name | Type | Description | Notes
Import customers into loyalty tiers
-Upload a CSV file containing existing customers to be assigned to existing tiers. Send the file as multipart data. **Important:** This endpoint only works with loyalty programs with advanced tiers (with expiration and downgrade policy) feature enabled. The CSV file should contain the following columns: - `subledgerid` (optional): The ID of the subledger. If this field is empty, the main ledger will be used. - `customerprofileid`: The integration ID of the customer profile to whom the tier should be assigned. - `tiername`: The name of an existing tier to assign to the customer. - `expirydate`: The expiration date of the tier when the tier is reevaluated. It should be a future date. About customer assignment to a tier: - If the customer isn't already in a tier, the customer is assigned to the specified tier during the tier import. - If the customer is already in the tier that's specified in the CSV file, only the expiration date is updated. **Note:** We recommend not using this endpoint to update the tier of a customer. To update a customer's tier, you can [add](/management-api#tag/Loyalty/operation/addLoyaltyPoints) or [deduct](/management-api#tag/Loyalty/operation/removeLoyaltyPoints) their loyalty points. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** We recommend limiting your file size to 500MB. **Example:** ```csv subledgerid,customerprofileid,tiername,expirydate SUB1,alexa,Gold,2024-03-21T07:32:14Z ,george,Silver,2025-04-16T21:12:37Z SUB2,avocado,Bronze,2026-05-03T11:47:01Z ```
+Upload a CSV file containing existing customers to be assigned to existing tiers. Send the file as multipart data. > [!important] This endpoint only works with loyalty programs with advanced > tiers (with expiration and downgrade policy) feature enabled. The CSV file should contain the following columns: - `subledgerid` (optional): The ID of the subledger. If this field is empty, the main ledger will be used. - `customerprofileid`: The integration ID of the customer profile to whom the tier should be assigned. - `tiername`: The name of an existing tier to assign to the customer. - `expirydate`: The expiration date of the tier when the tier is reevaluated. It should be a future date. About customer assignment to a tier: - If the customer isn't already in a tier, the customer is assigned to the specified tier during the tier import. - If the customer is already in the tier that's specified in the CSV file, only the expiration date is updated. > [!note] We recommend not using this endpoint to update the tier of a customer. To update a customer's tier, you can [add](/management-api#tag/Loyalty/operation/addLoyaltyPoints) or [deduct](/management-api#tag/Loyalty/operation/removeLoyaltyPoints) their loyalty points. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. > [!note] We recommend limiting your file size to 500 MB. ## Example ```csv subledgerid,customerprofileid,tiername,expirydate SUB1,alexa,Gold,2024-03-21T07:32:14Z ,george,Silver,2025-04-16T21:12:37Z SUB2,avocado,Bronze,2026-05-03T11:47:01Z ```
### Example
@@ -12058,7 +12334,7 @@ Name | Type | Description | Notes
Import loyalty points
-Upload a CSV file containing the loyalty points you want to import into a given loyalty program. Send the file as multipart data. Depending on the type of loyalty program, you can import points into a given customer profile or loyalty card. The CSV file contains the following columns: - `customerprofileid` (optional): For profile-based loyalty programs, the integration ID of the customer profile where the loyalty points are imported. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `identifier` (optional): For card-based loyalty programs, the identifier of the loyalty card where the loyalty points are imported. - `amount`: The amount of points to award to the customer profile. - `startdate` (optional): The earliest date when the points can be redeemed. The points are `active` from this date until the expiration date. This parameter accepts one of the following values: - A timestamp string in RFC3339 format. - `immediate` - `on_action` **Note**: Empty or missing values default to `immediate`. - `expirydate` (optional): The latest date when the points can be redeemed. The points are `expired` after this date. **Note**: It must be an RFC3339 timestamp string or string `unlimited`. Empty or missing values are considered `unlimited`. If passed, `validityDuration` should be omitted. - `validityDuration` (optional): The duration for which the points remain active, relative to the activation date. The time format is an **integer** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. If passed, `expirydate` should be omitted. - `subledgerid` (optional): The ID of the subledger that should received the points. - `reason` (optional): The reason why these points are awarded. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Note:** For existing customer profiles and loyalty cards, the imported points are added to any previous active or pending points, depending on the value provided for `startdate`. If `startdate` matches the current date, the imported points are _active_. If it is later, the points are _pending_ until the date provided for `startdate` is reached. **Note:** We recommend limiting your file size to 500MB. **Example for profile-based programs:** ```text customerprofileid,amount,startdate,expirydate,subledgerid,reason URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ``` **Example for card-based programs:** ```text identifier,amount,startdate,expirydate,subledgerid,reason summer-loyalty-card-0543,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ```
+Upload a CSV file containing the loyalty points you want to import into a given loyalty program. Send the file as multipart data. Depending on the type of loyalty program, you can import points into a given customer profile or loyalty card. The CSV file contains the following columns: - `customerprofileid` (optional): For profile-based loyalty programs, the integration ID of the customer profile where the loyalty points are imported. **Note**: If the customer profile does not exist, it will be created. The profile will not be visible in any Application until a session or profile update is received for that profile. - `identifier` (optional): For card-based loyalty programs, the identifier of the loyalty card where the loyalty points are imported. - `amount`: The amount of points to award to the customer profile. - `startdate` (optional): The earliest date when the points can be redeemed. The points are `active` from this date until the expiration date. This parameter accepts one of the following values: - A timestamp string in RFC3339 format. - `immediate` - `on_action` **Note**: Empty or missing values default to `immediate`. - `expirydate` (optional): The latest date when the points can be redeemed. The points are `expired` after this date. **Note**: It must be an RFC3339 timestamp string or string `unlimited`. Empty or missing values are considered `unlimited`. If passed, `validityDuration` should be omitted. - `validityDuration` (optional): The duration for which the points remain active, relative to the activation date. The time format is an **integer** followed by one letter indicating the time unit.<br /> Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. If passed, `expirydate` should be omitted. - `subledgerid` (optional): The ID of the subledger that should received the points. - `reason` (optional): The reason why these points are awarded. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. > [!note] For existing customer profiles and loyalty cards, the imported > points are added to any previous active or pending points, depending on the > value provided for `startdate`. If `startdate` matches the current date, the > imported points are _active_. If it is later, the points are _pending_ until > the date provided for `startdate` is reached. > [!note] We recommend limiting your file size to 500 MB. ## Example for profile-based programs ```text customerprofileid,amount,startdate,expirydate,subledgerid,reason URNGV8294NV,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ``` ## Example for card-based programs ```text identifier,amount,startdate,expirydate,subledgerid,reason summer-loyalty-card-0543,100,2009-11-10T23:00:00Z,2009-11-11T23:00:00Z,subledger1,appeasement ```
### Example
@@ -12146,7 +12422,7 @@ Name | Type | Description | Notes
Import giveaway codes into a giveaway pool
-Upload a CSV file containing the giveaway codes that should be created. Send the file as multipart data. The CSV file contains the following columns: - `code` (required): The code of your giveaway, for instance, a gift card redemption code. - `startdate`: The start date in RFC3339 of the code redemption period. - `enddate`: The last date in RFC3339 of the code redemption period. - `attributes`: A JSON object describing _custom_ giveaway attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `provider` associated with the giveaway entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"provider\": \"myPartnerCompany\"}\"`. The `startdate` and `enddate` have nothing to do with the _validity_ of the codes. They are only used by the Rule Engine to award the codes or not. You can use the time zone setting of your choice. The values are converted to UTC internally by Talon.One. **Note:** - We recommend limiting your file size to 500MB. - You can import the same code multiple times. Duplicate codes are treated and distributed to customers as unique codes. **Example:** ```text code,startdate,enddate,attributes GIVEAWAY1,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Aliexpress\"\"}\" ```
+Upload a CSV file containing the giveaway codes that should be created. Send the file as multipart data. The CSV file contains the following columns: - `code` (required): The code of your giveaway, for instance, a gift card redemption code. - `startdate`: The start date in RFC3339 of the code redemption period. - `enddate`: The last date in RFC3339 of the code redemption period. - `attributes`: A JSON object describing _custom_ giveaway attribute names and their values, enclosed with double quotation marks.<br /> For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `provider` associated with the giveaway entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"provider\": \"myPartnerCompany\"}\"`. The `startdate` and `enddate` have nothing to do with the _validity_ of the codes. They are only used by the Rule Engine to award the codes or not. You can use the time zone setting of your choice. The values are converted to UTC internally by Talon.One. > [!note] **Note** > - We recommend limiting your file size to 500MB. > - You can import the same code multiple times. Duplicate codes are treated and distributed to customers as unique codes. ## Example ```text code,startdate,enddate,attributes GIVEAWAY1,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY2,2020-11-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Amazon\"\"}\" GIVEAWAY3,2021-01-10T23:00:00Z,2022-11-11T23:00:00Z,\"{\"\"provider\"\": \"\"Aliexpress\"\"}\" ```
### Example
@@ -12232,7 +12508,7 @@ Name | Type | Description | Notes
Import referrals
-Upload a CSV file containing the referrals that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `code` (required): The referral code. - `advocateprofileintegrationid` (required): The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A JSON object describing _custom_ referral attribute names and their values, enclosed with double quotation marks. For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the referral entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. **Important:** When you import a CSV file with referrals, a [customer profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) is **not** automatically created for each `advocateprofileintegrationid` column value. Use the [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) endpoint or the [Update multiple customer profiles](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfilesV2) endpoint to create the customer profiles. **Note:** We recommend limiting your file size to 500MB. **Example:** ```text code,startdate,expirydate,advocateprofileintegrationid,limitval,attributes REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,\"{\"\"my_attribute\"\": \"\"10_off\"\"}\" REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,\"{\"\"my_attribute\"\": \"\"20_off\"\"}\" ```
+Upload a CSV file containing the referrals that should be created. The file should be sent as multipart data. The CSV file contains the following columns: - `code` (required): The referral code. - `advocateprofileintegrationid` (required): The profile ID of the advocate. - `startdate`: The start date in RFC3339 of the code redemption period. - `expirydate`: The end date in RFC3339 of the code redemption period. - `limitval`: The maximum number of redemptions of this code. Defaults to `1` when left blank. - `attributes`: A JSON object describing _custom_ referral attribute names and their values, enclosed with double quotation marks.<br /> For example, if you created a [custom attribute](https://docs.talon.one/docs/dev/concepts/attributes#custom-attributes) called `category` associated with the referral entity, the object in the CSV file, when opened in a text editor, must be: `\"{\"category\": \"10_off\"}\"`. You can use the time zone of your choice. It is converted to UTC internally by Talon.One. > [!important] When you import a CSV file with referrals, > a [customer profile](https://docs.talon.one/docs/dev/concepts/entities/customer-profiles) > is **not** automatically created for each `advocateprofileintegrationid` > column value. Use the [Update customer profile](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfileV2) > endpoint or the [Update multiple customer profiles](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/updateCustomerProfilesV2) > endpoint to create the customer profiles. > [!note] We recommend limiting your file size to 500 MB. ## Example ```text code,startdate,expirydate,advocateprofileintegrationid,limitval,attributes REFERRAL_CODE1,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid_4,1,\"{\"\"my_attribute\"\": \"\"10_off\"\"}\" REFERRAL_CODE2,2020-11-10T23:00:00Z,2021-11-11T23:00:00Z,integid1,1,\"{\"\"my_attribute\"\": \"\"20_off\"\"}\" ```
### Example
@@ -12399,7 +12675,7 @@ null (empty response body)
## listAccountCollections
-> InlineResponse20021 listAccountCollections(pageSize, skip, sort, withTotalResultSize, name)
+> InlineResponse20022 listAccountCollections(pageSize, skip, sort, withTotalResultSize, name)
List collections in account
@@ -12443,10 +12719,10 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
String name = "name_example"; // String | Filter by collection name.
try {
- InlineResponse20021 result = apiInstance.listAccountCollections(pageSize, skip, sort, withTotalResultSize, name);
+ InlineResponse20022 result = apiInstance.listAccountCollections(pageSize, skip, sort, withTotalResultSize, name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listAccountCollections");
@@ -12467,12 +12743,12 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**name** | **String**| Filter by collection name. | [optional]
### Return type cool
-[**InlineResponse20021**](InlineResponse20021.md)
+[**InlineResponse20022**](InlineResponse20022.md)
### Authorization
@@ -12494,7 +12770,7 @@ Name | Type | Description | Notes
## listAchievements
-> InlineResponse20049 listAchievements(applicationId, campaignId, pageSize, skip, title)
+> InlineResponse20051 listAchievements(applicationId, campaignId, pageSize, skip, title)
List achievements
@@ -12541,7 +12817,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String title = "title_example"; // String | Filter by the display name for the achievement in the campaign manager. **Note**: If no `title` is provided, all the achievements from the campaign are returned.
try {
- InlineResponse20049 result = apiInstance.listAchievements(applicationId, campaignId, pageSize, skip, title);
+ InlineResponse20051 result = apiInstance.listAchievements(applicationId, campaignId, pageSize, skip, title);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listAchievements");
@@ -12567,7 +12843,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20049**](InlineResponse20049.md)
+[**InlineResponse20051**](InlineResponse20051.md)
### Authorization
@@ -12586,7 +12862,7 @@ Name | Type | Description | Notes
## listAllRolesV2
-> InlineResponse20045 listAllRolesV2()
+> InlineResponse20046 listAllRolesV2()
List roles
@@ -12628,7 +12904,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
try {
- InlineResponse20045 result = apiInstance.listAllRolesV2();
+ InlineResponse20046 result = apiInstance.listAllRolesV2();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listAllRolesV2");
@@ -12647,7 +12923,97 @@ This endpoint does not need any parameter.
### Return type cool
-[**InlineResponse20045**](InlineResponse20045.md)
+[**InlineResponse20046**](InlineResponse20046.md)
+
+### Authorization
+
+[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | OK | - |
+
+
+## listApplicationCartItemFilters
+
+> InlineResponse20048 listApplicationCartItemFilters(applicationId, pageSize, skip, title)
+
+List Application cart item filters
+
+Return all the Application cart item filters for a specific Application.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: api_key_v1
+ ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1");
+ api_key_v1.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_v1.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ Long pageSize = 50lL; // Long | The number of items in the response.
+ Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
+ String title = "title_example"; // String | Filter by the display name of the Application cart item filter in the Application. **Note**: If no `title` is provided, all the Application cart item filters in the Application are returned.
+ try {
+ InlineResponse20048 result = apiInstance.listApplicationCartItemFilters(applicationId, pageSize, skip, title);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#listApplicationCartItemFilters");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **pageSize** | **Long**| The number of items in the response. | [optional] [default to 50l]
+ **skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
+ **title** | **String**| Filter by the display name of the Application cart item filter in the Application. **Note**: If no `title` is provided, all the Application cart item filters in the Application are returned. | [optional]
+
+### Return type cool
+
+[**InlineResponse20048**](InlineResponse20048.md)
### Authorization
@@ -12666,7 +13032,7 @@ This endpoint does not need any parameter.
## listCampaignStoreBudgetLimits
-> InlineResponse20047 listCampaignStoreBudgetLimits(applicationId, campaignId, action, period)
+> InlineResponse20049 listCampaignStoreBudgetLimits(applicationId, campaignId, action, period)
List campaign store budget limits
@@ -12712,7 +13078,7 @@ public class Example {
String action = "action_example"; // String | The action that this budget is limiting.
String period = "period_example"; // String | The period to which the limit applies. **Note**: For budgets with no period, set this to `overall`.
try {
- InlineResponse20047 result = apiInstance.listCampaignStoreBudgetLimits(applicationId, campaignId, action, period);
+ InlineResponse20049 result = apiInstance.listCampaignStoreBudgetLimits(applicationId, campaignId, action, period);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listCampaignStoreBudgetLimits");
@@ -12737,7 +13103,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20047**](InlineResponse20047.md)
+[**InlineResponse20049**](InlineResponse20049.md)
### Authorization
@@ -12759,7 +13125,7 @@ Name | Type | Description | Notes
## listCatalogItems
-> InlineResponse20038 listCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames)
+> InlineResponse20039 listCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames)
List items in a catalog
@@ -12803,11 +13169,11 @@ public class Example {
Long catalogId = 56L; // Long | The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**.
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
List sku = Arrays.asList(); // List | Filter results by one or more SKUs. Must be exact match.
List productNames = Arrays.asList(); // List | Filter results by one or more product names. Must be exact match.
try {
- InlineResponse20038 result = apiInstance.listCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames);
+ InlineResponse20039 result = apiInstance.listCatalogItems(catalogId, pageSize, skip, withTotalResultSize, sku, productNames);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listCatalogItems");
@@ -12828,13 +13194,13 @@ Name | Type | Description | Notes
**catalogId** | **Long**| The ID of the catalog. You can find the ID in the Campaign Manager in **Account** > **Tools** > **Cart item catalogs**. |
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**sku** | [**List<String>**](String.md)| Filter results by one or more SKUs. Must be exact match. | [optional]
**productNames** | [**List<String>**](String.md)| Filter results by one or more product names. Must be exact match. | [optional]
### Return type cool
-[**InlineResponse20038**](InlineResponse20038.md)
+[**InlineResponse20039**](InlineResponse20039.md)
### Authorization
@@ -12853,7 +13219,7 @@ Name | Type | Description | Notes
## listCollections
-> InlineResponse20021 listCollections(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name)
+> InlineResponse20022 listCollections(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name)
List collections in campaign
@@ -12899,10 +13265,10 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
String name = "name_example"; // String | Filter by collection name.
try {
- InlineResponse20021 result = apiInstance.listCollections(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name);
+ InlineResponse20022 result = apiInstance.listCollections(applicationId, campaignId, pageSize, skip, sort, withTotalResultSize, name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listCollections");
@@ -12925,12 +13291,12 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**name** | **String**| Filter by collection name. | [optional]
### Return type cool
-[**InlineResponse20021**](InlineResponse20021.md)
+[**InlineResponse20022**](InlineResponse20022.md)
### Authorization
@@ -12950,7 +13316,7 @@ Name | Type | Description | Notes
## listCollectionsInApplication
-> InlineResponse20021 listCollectionsInApplication(applicationId, pageSize, skip, sort, withTotalResultSize, name)
+> InlineResponse20022 listCollectionsInApplication(applicationId, pageSize, skip, sort, withTotalResultSize, name)
List collections in Application
@@ -12995,10 +13361,10 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
String name = "name_example"; // String | Filter by collection name.
try {
- InlineResponse20021 result = apiInstance.listCollectionsInApplication(applicationId, pageSize, skip, sort, withTotalResultSize, name);
+ InlineResponse20022 result = apiInstance.listCollectionsInApplication(applicationId, pageSize, skip, sort, withTotalResultSize, name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listCollectionsInApplication");
@@ -13020,12 +13386,12 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**name** | **String**| Filter by collection name. | [optional]
### Return type cool
-[**InlineResponse20021**](InlineResponse20021.md)
+[**InlineResponse20022**](InlineResponse20022.md)
### Authorization
@@ -13045,11 +13411,11 @@ Name | Type | Description | Notes
## listExperiments
-> InlineResponse20015 listExperiments(applicationId, pageSize, skip, sort)
+> InlineResponse20016 listExperiments(applicationId, pageSize, skip, sort)
List experiments
-Get a list of experiments per application.
+List all experiments of the specified Application that match your filter criteria.
### Example
@@ -13091,7 +13457,7 @@ public class Example {
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
try {
- InlineResponse20015 result = apiInstance.listExperiments(applicationId, pageSize, skip, sort);
+ InlineResponse20016 result = apiInstance.listExperiments(applicationId, pageSize, skip, sort);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listExperiments");
@@ -13116,7 +13482,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20015**](InlineResponse20015.md)
+[**InlineResponse20016**](InlineResponse20016.md)
### Authorization
@@ -13135,7 +13501,7 @@ Name | Type | Description | Notes
## listStores
-> InlineResponse20046 listStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query)
+> InlineResponse20047 listStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query)
List stores
@@ -13180,13 +13546,13 @@ public class Example {
Long pageSize = 1000lL; // Long | The number of items in the response.
Long skip = 56L; // Long | The number of items to skip when paging through large result sets.
String sort = "sort_example"; // String | The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations.
- Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query.
+ Boolean withTotalResultSize = true; // Boolean | When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page.
BigDecimal campaignId = new BigDecimal(); // BigDecimal | Filter results by campaign ID.
String name = "name_example"; // String | The name of the store.
String integrationId = "integrationId_example"; // String | The integration ID of the store.
String query = "query_example"; // String | Filter results by `name` or `integrationId`.
try {
- InlineResponse20046 result = apiInstance.listStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query);
+ InlineResponse20047 result = apiInstance.listStores(applicationId, pageSize, skip, sort, withTotalResultSize, campaignId, name, integrationId, query);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#listStores");
@@ -13208,7 +13574,7 @@ Name | Type | Description | Notes
**pageSize** | **Long**| The number of items in the response. | [optional] [default to 1000l]
**skip** | **Long**| The number of items to skip when paging through large result sets. | [optional]
**sort** | **String**| The field by which results should be sorted. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You may not be able to use all fields for sorting. This is due to performance limitations. | [optional]
- **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total size of the result, across all pages. This might decrease performance on large data sets. - When `true`: `hasMore` is true when there is a next page. `totalResultSize` is always zero. - When `false`: `hasMore` is always false. `totalResultSize` contains the total number of results for this query. | [optional]
+ **withTotalResultSize** | **Boolean**| When this flag is set, the result includes the total number of results for this query. This might decrease performance on large data sets. - When `true`: `totalResultSize` contains the total number of results for this query. - When `false`: Only `hasMore` is returned, and it is set to `true` when there are more results than shown on the page. | [optional]
**campaignId** | **BigDecimal**| Filter results by campaign ID. | [optional]
**name** | **String**| The name of the store. | [optional]
**integrationId** | **String**| The integration ID of the store. | [optional]
@@ -13216,7 +13582,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20046**](InlineResponse20046.md)
+[**InlineResponse20047**](InlineResponse20047.md)
### Authorization
@@ -13312,13 +13678,99 @@ null (empty response body)
| **200** | OK | - |
+## priceHistory
+
+> PriceHistoryResponse priceHistory(applicationId, body)
+
+Get summary of price history
+
+Fetch the historical price data for a given SKU within a defined timeframe.
+
+### Example
+
+```java
+// Import classes:
+import one.talon.ApiClient;
+import one.talon.ApiException;
+import one.talon.Configuration;
+import one.talon.auth.*;
+import one.talon.models.*;
+import one.talon.api.ManagementApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://yourbaseurl.talon.one");
+
+ // Configure API key authorization: api_key_v1
+ ApiKeyAuth api_key_v1 = (ApiKeyAuth) defaultClient.getAuthentication("api_key_v1");
+ api_key_v1.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_v1.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: management_key
+ ApiKeyAuth management_key = (ApiKeyAuth) defaultClient.getAuthentication("management_key");
+ management_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //management_key.setApiKeyPrefix("Token");
+
+ // Configure API key authorization: manager_auth
+ ApiKeyAuth manager_auth = (ApiKeyAuth) defaultClient.getAuthentication("manager_auth");
+ manager_auth.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //manager_auth.setApiKeyPrefix("Token");
+
+ ManagementApi apiInstance = new ManagementApi(defaultClient);
+ Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
+ PriceHistoryRequest body = new PriceHistoryRequest(); // PriceHistoryRequest | body
+ try {
+ PriceHistoryResponse result = apiInstance.priceHistory(applicationId, body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling ManagementApi#priceHistory");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
+ **body** | [**PriceHistoryRequest**](PriceHistoryRequest.md)| body |
+
+### Return type cool
+
+[**PriceHistoryResponse**](PriceHistoryResponse.md)
+
+### Authorization
+
+[api_key_v1](../README.md#api_key_v1), [management_key](../README.md#management_key), [manager_auth](../README.md#manager_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
## removeLoyaltyPoints
> removeLoyaltyPoints(loyaltyProgramId, integrationId, body)
Deduct points from customer profile
-Deduct points from the specified loyalty program and specified customer profile. **Important:** - Only active points can be deducted. - Only pending points are rolled back when a session is cancelled or reopened. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint.
+Deduct points from the specified loyalty program and specified customer profile. > [!note] **Note** > - Only active points can be deducted. > - Only pending points are rolled back when a session is cancelled or reopened. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint.
### Example
@@ -14734,11 +15186,11 @@ Name | Type | Description | Notes
## searchCouponsAdvancedApplicationWideWithoutTotalCount
-> InlineResponse20011 searchCouponsAdvancedApplicationWideWithoutTotalCount(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState)
+> InlineResponse20012 searchCouponsAdvancedApplicationWideWithoutTotalCount(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState)
List coupons that match the given attributes (without total count)
-List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response.
+List the coupons whose attributes match the query criteria in all the campaigns of the given Application. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. > [!note] The total count is not included in the response.
### Example
@@ -14791,7 +15243,7 @@ public class Example {
Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code.
String campaignState = "campaignState_example"; // String | Filter results by the state of the campaign. - `enabled`: Campaigns that are scheduled, running (activated), or expired. - `running`: Campaigns that are running (activated). - `disabled`: Campaigns that are disabled. - `expired`: Campaigns that are expired. - `archived`: Campaigns that are archived.
try {
- InlineResponse20011 result = apiInstance.searchCouponsAdvancedApplicationWideWithoutTotalCount(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState);
+ InlineResponse20012 result = apiInstance.searchCouponsAdvancedApplicationWideWithoutTotalCount(applicationId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, batchId, exactMatch, campaignState);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#searchCouponsAdvancedApplicationWideWithoutTotalCount");
@@ -14827,7 +15279,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20011**](InlineResponse20011.md)
+[**InlineResponse20012**](InlineResponse20012.md)
### Authorization
@@ -14846,11 +15298,11 @@ Name | Type | Description | Notes
## searchCouponsAdvancedWithoutTotalCount
-> InlineResponse20011 searchCouponsAdvancedWithoutTotalCount(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId)
+> InlineResponse20012 searchCouponsAdvancedWithoutTotalCount(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId)
List coupons that match the given attributes in campaign (without total count)
-List the coupons whose attributes match the query criteria in the given campaign. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. **Note:** The total count is not included in the response.
+List the coupons whose attributes match the query criteria in the given campaign. The match is successful if all the attributes of the request are found in a coupon, even if the coupon has more attributes that are not present on the request. > [!note] The total count is not included in the response.
### Example
@@ -14903,7 +15355,7 @@ public class Example {
Boolean exactMatch = false; // Boolean | Filter results to an exact case-insensitive matching against the coupon code.
String batchId = "batchId_example"; // String | Filter results by batches of coupons
try {
- InlineResponse20011 result = apiInstance.searchCouponsAdvancedWithoutTotalCount(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId);
+ InlineResponse20012 result = apiInstance.searchCouponsAdvancedWithoutTotalCount(applicationId, campaignId, body, pageSize, skip, sort, value, createdBefore, createdAfter, valid, usable, referralId, recipientIntegrationId, exactMatch, batchId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#searchCouponsAdvancedWithoutTotalCount");
@@ -14939,7 +15391,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20011**](InlineResponse20011.md)
+[**InlineResponse20012**](InlineResponse20012.md)
### Authorization
@@ -14958,7 +15410,7 @@ Name | Type | Description | Notes
## summarizeCampaignStoreBudget
-> InlineResponse20048 summarizeCampaignStoreBudget(applicationId, campaignId)
+> InlineResponse20050 summarizeCampaignStoreBudget(applicationId, campaignId)
Get summary of campaign store budgets
@@ -15002,7 +15454,7 @@ public class Example {
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
try {
- InlineResponse20048 result = apiInstance.summarizeCampaignStoreBudget(applicationId, campaignId);
+ InlineResponse20050 result = apiInstance.summarizeCampaignStoreBudget(applicationId, campaignId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagementApi#summarizeCampaignStoreBudget");
@@ -15025,7 +15477,7 @@ Name | Type | Description | Notes
### Return type cool
-[**InlineResponse20048**](InlineResponse20048.md)
+[**InlineResponse20050**](InlineResponse20050.md)
### Authorization
@@ -15051,7 +15503,7 @@ Name | Type | Description | Notes
Transfer card data
-Transfer loyalty card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card. **Important:** - The original card is automatically blocked once the new card is created, and it cannot be activated again. - The default status of the new card is _active_.
+Transfer loyalty card data, such as linked customers, loyalty balances and transactions, from a given loyalty card to a new, automatically created loyalty card. > [!important] **Note** > - The original card is automatically blocked once the new card is created, and it cannot be activated again. > - The default status of the new card is _active_.
### Example
@@ -15089,7 +15541,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
TransferLoyaltyCard body = new TransferLoyaltyCard(); // TransferLoyaltyCard | body
try {
apiInstance.transferLoyaltyCard(loyaltyProgramId, loyaltyCardId, body);
@@ -15110,7 +15562,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**body** | [**TransferLoyaltyCard**](TransferLoyaltyCard.md)| body |
### Return type cool
@@ -15178,7 +15630,7 @@ public class Example {
//manager_auth.setApiKeyPrefix("Token");
ManagementApi apiInstance = new ManagementApi(defaultClient);
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint.
UpdateCollection body = new UpdateCollection(); // UpdateCollection | body
try {
Collection result = apiInstance.updateAccountCollection(collectionId, body);
@@ -15199,7 +15651,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#operation/listAccountCollections) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in account](#tag/Collections/operation/listAccountCollections) endpoint. |
**body** | [**UpdateCollection**](UpdateCollection.md)| body |
### Return type cool
@@ -15495,7 +15947,7 @@ Name | Type | Description | Notes
Update campaign
-Update the given campaign. **Important:** You cannot use this endpoint to update campaigns if [campaign staging and revisions](https://docs.talon.one/docs/product/applications/managing-general-settings#campaign-staging-and-revisions) is enabled for your Application.
+Update the given campaign. > [!important] You cannot use this endpoint to update campaigns if [campaign staging and > revisions](https://docs.talon.one/docs/product/applications/managing-general-settings#campaign-staging-and-revisions) > is enabled for your Application.
### Example
@@ -15622,7 +16074,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long applicationId = 56L; // Long | The ID of the Application. It is displayed in your Talon.One deployment URL.
Long campaignId = 56L; // Long | The ID of the campaign. It is displayed in your Talon.One deployment URL.
- Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint.
+ Long collectionId = 56L; // Long | The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint.
UpdateCampaignCollection body = new UpdateCampaignCollection(); // UpdateCampaignCollection | body
try {
Collection result = apiInstance.updateCollection(applicationId, campaignId, collectionId, body);
@@ -15645,7 +16097,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**applicationId** | **Long**| The ID of the Application. It is displayed in your Talon.One deployment URL. |
**campaignId** | **Long**| The ID of the campaign. It is displayed in your Talon.One deployment URL. |
- **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#operation/listCollectionsInApplication) endpoint. |
+ **collectionId** | **Long**| The ID of the collection. You can get it with the [List collections in Application](#tag/Collections/operation/listCollectionsInApplication) endpoint. |
**body** | [**UpdateCampaignCollection**](UpdateCampaignCollection.md)| body |
### Return type cool
@@ -15674,7 +16126,7 @@ Name | Type | Description | Notes
Update coupon
-Update the specified coupon. <div class=\"redoc-section\"> <p class=\"title\">Important</p> <p>With this <code>PUT</code> endpoint, if you do not explicitly set a value for the <code>startDate</code>, <code>expiryDate</code>, and <code>recipientIntegrationId</code> properties in your request, it is automatically set to <code>null</code>.</p> </div>
+Update the specified coupon. > [!note] > With this `PUT` endpoint, if you do not explicitly set a value for the `startDate`, `expiryDate`, > and `recipientIntegrationId` properties in your request, it is automatically set to `null`.
### Example
@@ -15764,7 +16216,7 @@ Name | Type | Description | Notes
Update coupons
-Update all coupons or a specific batch of coupons in the given campaign. You can find the `batchId` on the **Coupons** page of your campaign in the Campaign Manager, or you can use [List coupons](#operation/getCouponsWithoutTotalCount). <div class=\"redoc-section\"> <p class=\"title\">Important</p> <ul> <li>Only send sequential requests to this endpoint.</li> <li>Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team.</li> <li>With this <code>PUT</code> endpoint, if you do not explicitly set a value for the <code>startDate</code> and <code>expiryDate</code> properties in your request, it is automatically set to <code>null</code>.</li> </ul> </div> To update a specific coupon, use [Update coupon](#operation/updateCoupon).
+Update all coupons or a specific batch of coupons in the given campaign. You can find the `batchId` on the **Coupons** page of your campaign in the Campaign Manager, or you can use [List coupons](#tag/Coupons/operation/getCouponsWithoutTotalCount). > [!note] **Note** > - Only send sequential requests to this endpoint. > - Requests to this endpoint time out after 30 minutes. If you hit a timeout, contact our support team. > - With this `PUT` endpoint, if you do not explicitly set a value for the `startDate` and `expiryDate` properties in your request, it is automatically set to `null`. To update a specific coupon, use [Update coupon](#tag/Coupons/operation/updateCoupon).
### Example
@@ -15851,7 +16303,7 @@ null (empty response body)
Update loyalty card
-Update the details of a specific loyalty card. You can set the card's status to `active` or `inactive` through this endpoint. At least one of `status` or `attributes` must be provided.
+Update the details of a specific loyalty card. You can set the card's status to `active` or `inactive` through this endpoint. At least one of `status` or `attributes` must be provided.
### Example
@@ -15889,7 +16341,7 @@ public class Example {
ManagementApi apiInstance = new ManagementApi(defaultClient);
Long loyaltyProgramId = 56L; // Long | Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint.
- String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint.
+ String loyaltyCardId = "loyaltyCardId_example"; // String | Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`.
UpdateLoyaltyCardRequest body = new UpdateLoyaltyCardRequest(); // UpdateLoyaltyCardRequest | body
try {
LoyaltyCard result = apiInstance.updateLoyaltyCard(loyaltyProgramId, loyaltyCardId, body);
@@ -15911,7 +16363,7 @@ public class Example {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**loyaltyProgramId** | **Long**| Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. |
- **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. |
+ **loyaltyCardId** | **String**| Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. |
**body** | [**UpdateLoyaltyCardRequest**](UpdateLoyaltyCardRequest.md)| body |
### Return type cool
diff --git a/docs/MultipleCustomerProfileIntegrationRequestItem.md b/docs/MultipleCustomerProfileIntegrationRequestItem.md
index a6a32c18..7028351b 100644
--- a/docs/MultipleCustomerProfileIntegrationRequestItem.md
+++ b/docs/MultipleCustomerProfileIntegrationRequestItem.md
@@ -8,7 +8,7 @@ The body of a V2 integration API request (customer profile update). Next to the
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
-**integrationId** | **String** | The identifier of this profile, set by your integration layer. It must be unique within the account. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2). |
+**integrationId** | **String** | The identifier of this profile, set by your integration layer. It must be unique within the account. To get the `integrationId` of the profile from a `sessionId`, use the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2). |
diff --git a/docs/NewCampaign.md b/docs/NewCampaign.md
index 9440e049..d5335705 100644
--- a/docs/NewCampaign.md
+++ b/docs/NewCampaign.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. |
-**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
**tags** | **List<String>** | A list of tags for the campaign. |
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. | [optional]
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | The features enabled in this campaign. |
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/managing-campaign-groups) this campaign belongs to. | [optional]
**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional]
**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
diff --git a/docs/NewCoupons.md b/docs/NewCoupons.md
index 9178c9a1..cbaceaef 100644
--- a/docs/NewCoupons.md
+++ b/docs/NewCoupons.md
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional]
**limits** | [**List<LimitConfig>**](LimitConfig.md) | Limits configuration for a coupon. These limits will override the limits set from the campaign. **Note:** Only usable when creating a single coupon which is not tied to a specific recipient. Only per-profile limits are allowed to be configured. | [optional]
**numberOfCoupons** | **Long** | The number of new coupon codes to generate for the campaign. Must be at least 1. |
-**uniquePrefix** | **String** | **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#operation/createCouponsAsync) endpoint. | [optional]
+**uniquePrefix** | **String** | **DEPRECATED** To create more than 20,000 coupons in one request, use [Create coupons asynchronously](https://docs.talon.one/management-api#tag/Coupons/operation/createCouponsAsync) endpoint. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
**recipientIntegrationId** | **String** | The integration ID for this coupon's beneficiary's profile. | [optional]
**validCharacters** | **List<String>** | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional]
diff --git a/docs/NewMCPKey.md b/docs/NewMCPKey.md
new file mode 100644
index 00000000..11218764
--- /dev/null
+++ b/docs/NewMCPKey.md
@@ -0,0 +1,20 @@
+
+
+# NewMCPKey
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | Name for the MCP key. |
+**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | The date the MCP key expires. |
+**id** | **Long** | ID of the MCP key. |
+**createdBy** | **Long** | ID of the user who created it. |
+**accountID** | **Long** | ID of account the key is used for. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The date the MCP key was created. |
+**disabled** | **Boolean** | The MCP key is disabled (this property is set to `true`) when the user who created the key is disabled or deleted. | [optional]
+**lastUsed** | [**OffsetDateTime**](OffsetDateTime.md) | The last time the MCP key was used. | [optional]
+**key** | **String** | The generated MCP key. Only returned once on creation. |
+
+
+
diff --git a/docs/NewRevisionVersion.md b/docs/NewRevisionVersion.md
index 176aaa3b..dbcd3f8b 100644
--- a/docs/NewRevisionVersion.md
+++ b/docs/NewRevisionVersion.md
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
**limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign version. | [optional]
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. | [optional]
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
diff --git a/docs/NewReward.md b/docs/NewReward.md
new file mode 100644
index 00000000..aa736857
--- /dev/null
+++ b/docs/NewReward.md
@@ -0,0 +1,16 @@
+
+
+# NewReward
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The name of the reward. |
+**apiName** | **String** | A unique identifier used to reference the reward in API integrations. |
+**description** | **String** | A description of the reward. | [optional]
+**applicationIds** | **List<Long>** | The IDs of the Applications this reward is connected to. **Note**: Currently, a reward can only be connected to one Application. |
+**sandbox** | **Boolean** | Indicates if this is a live or sandbox reward. Rewards of a given type can only be connected to Applications of the same type. |
+
+
+
diff --git a/docs/RevisionVersion.md b/docs/RevisionVersion.md
index 8a3e4b48..32a6aae6 100644
--- a/docs/RevisionVersion.md
+++ b/docs/RevisionVersion.md
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
**limits** | [**List<LimitConfig>**](LimitConfig.md) | The set of limits that will operate for this campaign version. | [optional]
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. | [optional]
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
diff --git a/docs/Reward.md b/docs/Reward.md
new file mode 100644
index 00000000..d73c0dd6
--- /dev/null
+++ b/docs/Reward.md
@@ -0,0 +1,29 @@
+
+
+# Reward
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**id** | **Long** | The internal ID of this entity. |
+**created** | [**OffsetDateTime**](OffsetDateTime.md) | The time this entity was created. |
+**accountId** | **Long** | The ID of the account that owns this entity. |
+**name** | **String** | The name of the reward. |
+**apiName** | **String** | A unique identifier used to reference the reward in API integrations. |
+**description** | **String** | A description of the reward. | [optional]
+**applicationIds** | **List<Long>** | The IDs of the Applications this reward is connected to. **Note**: Currently, a reward can only be connected to one Application. |
+**sandbox** | **Boolean** | Indicates if this is a live or sandbox reward. Rewards of a given type can only be connected to Applications of the same type. |
+**status** | [**StatusEnum**](#StatusEnum) | The status of the reward. |
+
+
+
+## Enum: StatusEnum
+
+Name | Value
+---- | -----
+ACTIVE | "active"
+INACTIVE | "inactive"
+
+
+
diff --git a/docs/RoleV2ApplicationDetails.md b/docs/RoleV2ApplicationDetails.md
index 1c95cb96..6c293ab1 100644
--- a/docs/RoleV2ApplicationDetails.md
+++ b/docs/RoleV2ApplicationDetails.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**campaign** | **String** | Name of the campaign-related permission set for the given Application. | [optional]
**draftCampaign** | **String** | Name of the draft campaign-related permission set for the given Application. | [optional]
**tools** | **String** | Name of the tools-related permission set. | [optional]
+**thresholds** | [**RolesV2Thresholds**](RolesV2Thresholds.md) | | [optional]
diff --git a/docs/RolesV2Thresholds.md b/docs/RolesV2Thresholds.md
new file mode 100644
index 00000000..367de202
--- /dev/null
+++ b/docs/RolesV2Thresholds.md
@@ -0,0 +1,12 @@
+
+
+# RolesV2Thresholds
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**loyaltyPointsLimit** | **Long** | Maximum number of loyalty points a support user can award without approval. | [optional]
+
+
+
diff --git a/docs/RollbackAddedLoyaltyPointsEffectProps.md b/docs/RollbackAddedLoyaltyPointsEffectProps.md
index ecc7667b..060f51d3 100644
--- a/docs/RollbackAddedLoyaltyPointsEffectProps.md
+++ b/docs/RollbackAddedLoyaltyPointsEffectProps.md
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**transactionUUID** | **String** | The identifier of 'deduction' entry added to the ledger as the `addLoyaltyPoints` effect is rolled back. |
**cartItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the item in the cart items for which the loyalty points were rolled back. | [optional]
**cartItemSubPosition** | [**BigDecimal**](BigDecimal.md) | For cart items with `quantity` > 1, the sub-position indicates to which item the loyalty points were rolled back. | [optional]
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
diff --git a/docs/RollbackDeductedLoyaltyPointsEffectProps.md b/docs/RollbackDeductedLoyaltyPointsEffectProps.md
index 6f63f376..4cc6f916 100644
--- a/docs/RollbackDeductedLoyaltyPointsEffectProps.md
+++ b/docs/RollbackDeductedLoyaltyPointsEffectProps.md
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**startDate** | [**OffsetDateTime**](OffsetDateTime.md) | Date after which the reimbursed points will be valid. | [optional]
**expiryDate** | [**OffsetDateTime**](OffsetDateTime.md) | Date after which the reimbursed points will expire. | [optional]
**transactionUUID** | **String** | The identifier of 'addition' entries added to the ledger as the `deductLoyaltyPoints` effect is rolled back. |
-**cardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. | [optional]
+**cardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. | [optional]
diff --git a/docs/RuleMetadata.md b/docs/RuleMetadata.md
new file mode 100644
index 00000000..1dbaa414
--- /dev/null
+++ b/docs/RuleMetadata.md
@@ -0,0 +1,15 @@
+
+
+# RuleMetadata
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**title** | **String** | A short description of the rule. |
+**displayName** | **String** | A customer-facing name for the rule. | [optional]
+**displayDescription** | **String** | A customer-facing description that explains the details of the rule. For example, this property can contain details about eligibility requirements, reward timelines, or terms and conditions. | [optional]
+**relatedData** | **String** | Any additional data associated with the rule, such as an image URL, vendor name, or a content management system (CMS) ID. | [optional]
+
+
+
diff --git a/docs/SetDiscountPerItemEffectProps.md b/docs/SetDiscountPerItemEffectProps.md
index df1fb4fa..6c41b043 100644
--- a/docs/SetDiscountPerItemEffectProps.md
+++ b/docs/SetDiscountPerItemEffectProps.md
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
**bundleName** | **String** | The name of the bundle definition. | [optional]
**targetedItemPosition** | [**BigDecimal**](BigDecimal.md) | The index of the targeted bundle item on which the applied discount is based. | [optional]
**targetedItemSubPosition** | [**BigDecimal**](BigDecimal.md) | The sub-position of the targeted bundle item on which the applied discount is based. | [optional]
+**excludedFromPriceHistory** | **Boolean** | When set to `true`, the applied discount is excluded from the item's price history. | [optional]
diff --git a/docs/StrikethroughSetDiscountPerItemEffectProps.md b/docs/StrikethroughSetDiscountPerItemEffectProps.md
index 994e43a4..d0dc9cb1 100644
--- a/docs/StrikethroughSetDiscountPerItemEffectProps.md
+++ b/docs/StrikethroughSetDiscountPerItemEffectProps.md
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | effect name. |
**value** | [**Object**](.md) | discount value. |
+**excludedFromPriceHistory** | **Boolean** | | [optional]
diff --git a/docs/TransferLoyaltyCard.md b/docs/TransferLoyaltyCard.md
index 284123ce..4b154397 100644
--- a/docs/TransferLoyaltyCard.md
+++ b/docs/TransferLoyaltyCard.md
@@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**newCardIdentifier** | **String** | The alphanumeric identifier of the loyalty card. |
+**newCardIdentifier** | **String** | The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`. |
**blockReason** | **String** | Reason for transferring and blocking the loyalty card. | [optional]
diff --git a/docs/UpdateAchievementV2.md b/docs/UpdateAchievementV2.md
new file mode 100644
index 00000000..f4cf12a6
--- /dev/null
+++ b/docs/UpdateAchievementV2.md
@@ -0,0 +1,43 @@
+
+
+# UpdateAchievementV2
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**name** | **String** | The internal name of the achievement used in API requests. **Note**: The name should start with a letter. This cannot be changed after the achievement has been created. | [optional]
+**title** | **String** | The display name for the achievement in the Campaign Manager. | [optional]
+**description** | **String** | A description of the achievement. | [optional]
+**target** | [**BigDecimal**](BigDecimal.md) | The required number of actions or the transactional milestone to complete the achievement. | [optional]
+**period** | **String** | The relative duration after which the achievement ends and resets for a particular customer profile. **Note**: The `period` does not start when the achievement is created. The period is a **positive real number** followed by one letter indicating the time unit. Examples: `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can also round certain units down to the beginning of period and up to the end of period.: - `_D` for rounding down days only. Signifies the start of the day. Example: `30D_D` - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. Example: `23W_U` **Note**: You can either use the round down and round up option or set an absolute period. | [optional]
+**recurrencePolicy** | [**RecurrencePolicyEnum**](#RecurrencePolicyEnum) | The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again. | [optional]
+**activationPolicy** | [**ActivationPolicyEnum**](#ActivationPolicyEnum) | The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule. | [optional]
+**fixedStartDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's start date when `activationPolicy` is set to `fixed_schedule`. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**endDate** | [**OffsetDateTime**](OffsetDateTime.md) | The achievement's end date. If defined, customers cannot participate in the achievement after this date. **Note:** It must be an RFC3339 timestamp string. | [optional]
+**allowRollbackAfterCompletion** | **Boolean** | When `true`, customer progress can be rolled back in completed achievements. | [optional]
+**sandbox** | **Boolean** | Indicates if this achievement is a live or sandbox achievement. Achievements of a given type can only be connected to Applications of the same type. | [optional]
+**subscribedApplications** | **List<Long>** | A list containing the IDs of all applications that are subscribed to A list containing the IDs of all Applications that are connected to this achievement. | [optional]
+**timezone** | **String** | A string containing an IANA timezone descriptor. | [optional]
+
+
+
+## Enum: RecurrencePolicyEnum
+
+Name | Value
+---- | -----
+NO_RECURRENCE | "no_recurrence"
+ON_EXPIRATION | "on_expiration"
+ON_COMPLETION | "on_completion"
+
+
+
+## Enum: ActivationPolicyEnum
+
+Name | Value
+---- | -----
+USER_ACTION | "user_action"
+FIXED_SCHEDULE | "fixed_schedule"
+
+
+
diff --git a/docs/UpdateCampaign.md b/docs/UpdateCampaign.md
index f1bcdc71..afe4e861 100644
--- a/docs/UpdateCampaign.md
+++ b/docs/UpdateCampaign.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**endTime** | [**OffsetDateTime**](OffsetDateTime.md) | Timestamp when the campaign will become inactive. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this campaign. | [optional]
**state** | [**StateEnum**](#StateEnum) | A disabled or archived campaign is not evaluated for rules or coupons. | [optional]
-**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
+**activeRulesetId** | **Long** | [ID of Ruleset](https://docs.talon.one/management-api#tag/Campaigns/operation/getRulesets) this campaign applies on customer session evaluation. | [optional]
**tags** | **List<String>** | A list of tags for the campaign. |
**reevaluateOnReturn** | **Boolean** | Indicates whether this campaign should be reevaluated when a customer returns an item. | [optional]
**features** | [**List<FeaturesEnum>**](#List<FeaturesEnum>) | A list of features for the campaign. |
@@ -22,7 +22,8 @@ Name | Type | Description | Notes
**campaignGroups** | **List<Long>** | The IDs of the [campaign groups](https://docs.talon.one/docs/product/account/account-settings/managing-campaign-groups) this campaign belongs to. | [optional]
**evaluationGroupId** | **Long** | The ID of the campaign evaluation group the campaign belongs to. | [optional]
**type** | [**TypeEnum**](#TypeEnum) | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional]
-**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. **Note:** - Campaigns with linked store IDs will only be evaluated when there is a [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) that references a linked store. - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty. - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file. | [optional]
+**linkedStoreIds** | **List<Long>** | A list of store IDs that you want to link to the campaign. > [!note] **Note** > - Campaigns with linked store IDs will only be evaluated when there is a > [customer session update](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) > that references a linked store. > - If you linked stores to the campaign by uploading a CSV file, you cannot use this property and it should be empty. > - Use of this property is limited to 50 stores. To link more than 50 stores, upload them via a CSV file. | [optional]
+**couponAttributes** | [**Object**](.md) | Arbitrary properties associated with coupons in this campaign. | [optional]
diff --git a/pom.xml b/pom.xml
index 2cc4f421..6bcce658 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
talon-one-client
jar
talon-one-client
- 14.3.0
+ 15.0.0
https://github.com/talon-one/maven-artefacts
Talon.One unified JAVA SDK. It allows for programmatic access to the integration and management API with their respective authentication strategies
diff --git a/src/main/java/one/talon/ApiCallback.java b/src/main/java/one/talon/ApiCallback.java
index baf9355d..97453f81 100644
--- a/src/main/java/one/talon/ApiCallback.java
+++ b/src/main/java/one/talon/ApiCallback.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/ApiClient.java b/src/main/java/one/talon/ApiClient.java
index f469f706..976f2da5 100644
--- a/src/main/java/one/talon/ApiClient.java
+++ b/src/main/java/one/talon/ApiClient.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
@@ -132,7 +132,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/14.3.0/java");
+ setUserAgent("OpenAPI-Generator/15.0.0/java");
authentications = new HashMap();
}
diff --git a/src/main/java/one/talon/ApiException.java b/src/main/java/one/talon/ApiException.java
index 814b108f..b3c8da61 100644
--- a/src/main/java/one/talon/ApiException.java
+++ b/src/main/java/one/talon/ApiException.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/ApiResponse.java b/src/main/java/one/talon/ApiResponse.java
index 60c53d56..8f7cf041 100644
--- a/src/main/java/one/talon/ApiResponse.java
+++ b/src/main/java/one/talon/ApiResponse.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/Configuration.java b/src/main/java/one/talon/Configuration.java
index f49d434b..2e7c2e51 100644
--- a/src/main/java/one/talon/Configuration.java
+++ b/src/main/java/one/talon/Configuration.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/GzipRequestInterceptor.java b/src/main/java/one/talon/GzipRequestInterceptor.java
index 7ac83c81..afd0d269 100644
--- a/src/main/java/one/talon/GzipRequestInterceptor.java
+++ b/src/main/java/one/talon/GzipRequestInterceptor.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/JSON.java b/src/main/java/one/talon/JSON.java
index 31e2e5f4..5469e3e9 100644
--- a/src/main/java/one/talon/JSON.java
+++ b/src/main/java/one/talon/JSON.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/Pair.java b/src/main/java/one/talon/Pair.java
index 4d6cfd5f..402234ee 100644
--- a/src/main/java/one/talon/Pair.java
+++ b/src/main/java/one/talon/Pair.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/ProgressRequestBody.java b/src/main/java/one/talon/ProgressRequestBody.java
index cdc2b7b3..097edcac 100644
--- a/src/main/java/one/talon/ProgressRequestBody.java
+++ b/src/main/java/one/talon/ProgressRequestBody.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/ProgressResponseBody.java b/src/main/java/one/talon/ProgressResponseBody.java
index 137d2145..8f2d7941 100644
--- a/src/main/java/one/talon/ProgressResponseBody.java
+++ b/src/main/java/one/talon/ProgressResponseBody.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/StringUtil.java b/src/main/java/one/talon/StringUtil.java
index 3e3b39dd..4440f8b1 100644
--- a/src/main/java/one/talon/StringUtil.java
+++ b/src/main/java/one/talon/StringUtil.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
diff --git a/src/main/java/one/talon/api/IntegrationApi.java b/src/main/java/one/talon/api/IntegrationApi.java
index 4199a252..501708f3 100644
--- a/src/main/java/one/talon/api/IntegrationApi.java
+++ b/src/main/java/one/talon/api/IntegrationApi.java
@@ -1,6 +1,6 @@
/*
* Talon.One API
- * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) are used to integrate with our platform - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`
+ * Use the Talon.One API to integrate with your application and to manage applications and campaigns: - Use the operations in the [Integration API section](#integration-api) to integrate with our platform. - Use the operation in the [Management API section](#management-api) to manage applications and campaigns. ## Determining the base URL of the endpoints The API is available at the same hostname as your Campaign Manager deployment. For example, if you access the Campaign Manager at `https://yourbaseurl.talon.one/`, the URL for the [updateCustomerSessionV2](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint is `https://yourbaseurl.talon.one/v2/customer_sessions/{Id}`.
*
* The version of the OpenAPI document:
*
@@ -51,6 +51,7 @@
import one.talon.model.InlineResponse2004;
import one.talon.model.InlineResponse2005;
import one.talon.model.InlineResponse2006;
+import one.talon.model.InlineResponse2007;
import one.talon.model.InlineResponse201;
import one.talon.model.IntegrationCustomerSessionResponse;
import one.talon.model.IntegrationEventV2Request;
@@ -67,8 +68,6 @@
import one.talon.model.NewReferral;
import one.talon.model.NewReferralsForMultipleAdvocates;
import org.threeten.bp.OffsetDateTime;
-import one.talon.model.PriceHistoryRequest;
-import one.talon.model.PriceHistoryResponse;
import one.talon.model.Referral;
import one.talon.model.ReopenSessionResponse;
import one.talon.model.ReturnIntegrationRequest;
@@ -401,7 +400,7 @@ private okhttp3.Call createAudienceV2ValidateBeforeCall(NewAudience body, final
/**
* Create audience
- * Create an audience. The audience can be created directly from scratch or can come from third party platforms. **Note:** Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch: 1. Only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
+ * Create an audience. The audience can be created directly from scratch or can come from third party platforms. > [!note] Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch, only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
* @param body body (required)
* @return Audience
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -421,7 +420,7 @@ public Audience createAudienceV2(NewAudience body) throws ApiException {
/**
* Create audience
- * Create an audience. The audience can be created directly from scratch or can come from third party platforms. **Note:** Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch: 1. Only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
+ * Create an audience. The audience can be created directly from scratch or can come from third party platforms. > [!note] Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch, only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
* @param body body (required)
* @return ApiResponse<Audience>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -442,7 +441,7 @@ public ApiResponse createAudienceV2WithHttpInfo(NewAudience body) thro
/**
* Create audience (asynchronously)
- * Create an audience. The audience can be created directly from scratch or can come from third party platforms. **Note:** Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch: 1. Only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
+ * Create an audience. The audience can be created directly from scratch or can come from third party platforms. > [!note] Audiences can also be created from scratch via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/creating-audiences). To create an audience from an existing audience from a [technology partner](https://docs.talon.one/docs/dev/technology-partners/overview): 1. Set the `integration` property to `mparticle`, `segment` etc., depending on a third-party platform. 1. Set `integrationId` to the ID of this audience in a third-party platform. To create an audience from an existing audience in another platform: 1. Do not use the `integration` property. 1. Set `integrationId` to the ID of this audience in the 3rd-party platform. To create an audience from scratch, only set the `name` property. Once you create your first audience, audience-specific rule conditions are enabled in the Rule Builder.
* @param body body (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -465,7 +464,7 @@ public okhttp3.Call createAudienceV2Async(NewAudience body, final ApiCallback createCouponReservationWithHttpInfo(String couponValu
/**
* Create coupon reservation (asynchronously)
- * Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. **Note:** - If the **Reservation mandatory** option was selected when creating the specified coupon, the endpoint creates a **hard** reservation, meaning only users who have this coupon code reserved can redeem it. Otherwise, the endpoint creates a **soft** reservation, meaning the coupon is associated with the specified customer profiles (they show up when using the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint), but any user can redeem it. This can be useful, for example, to display a _coupon wallet_ for customers when they visit your store. - If the **Coupon visibility** option was selected when creating the specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code will be returned for all customer profiles in the [List customer data](https://docs.talon.one/integration-api#operation/getCustomerInventory) endpoint. - This endpoint overrides the coupon reservation limit set when [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint.
- * @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
+ * Create a coupon reservation for the specified customer profiles on the specified coupon. You can also create a reservation via the Campaign Manager using the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect. > [!note] **Note** > - If the **Reservation mandatory** option was selected when creating the > specified coupon, the endpoint creates a **hard** reservation, meaning only users who have > this coupon code reserved can redeem it. > > Otherwise, the endpoint creates a **soft** reservation, meaning the coupon > is associated with the specified customer profiles (they show up when using > the [List customer data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) > endpoint), but any user can redeem it. > > This can be useful, for example, to display a _coupon wallet_ for customers > when they visit your store. > - If the **Coupon visibility** option was selected when creating the > specified coupon, the coupon code is implicitly soft-reserved for all customers, and the code > will be returned for all customer profiles in the [List customer > data](https://docs.talon.one/integration-api#tag/Customer-profiles/operation/getCustomerInventory) endpoint. > - This endpoint overrides the coupon reservation limit set when > [the coupon is created](https://docs.talon.one/docs/product/campaigns/coupons/creating-coupons). To ensure that coupons cannot be reserved after the reservation limit is reached, use the [Create coupon code reservation](https://docs.talon.one/docs/product/rules/effects/using-effects#reserving-a-coupon-code) effect in the Rule Builder and the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. To delete a reservation, use the [Delete reservation](https://docs.talon.one/integration-api#tag/Coupons/operation/deleteCouponReservation) endpoint.
+ * @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
* @param body body (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -654,7 +653,7 @@ private okhttp3.Call createReferralValidateBeforeCall(NewReferral body, final Ap
/**
* Create referral code for an advocate
- * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @return Referral
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -673,7 +672,7 @@ public Referral createReferral(NewReferral body) throws ApiException {
/**
* Create referral code for an advocate
- * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @return ApiResponse<Referral>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -693,7 +692,7 @@ public ApiResponse createReferralWithHttpInfo(NewReferral body) throws
/**
* Create referral code for an advocate (asynchronously)
- * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates a referral code for an advocate. The code will be valid for the referral campaign for which is created, indicated in the `campaignId` parameter, and will be associated with the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -778,7 +777,7 @@ private okhttp3.Call createReferralsForMultipleAdvocatesValidateBeforeCall(NewRe
/**
* Create referral codes for multiple advocates
- * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @param silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. (optional, default to "yes")
* @return InlineResponse201
@@ -799,7 +798,7 @@ public InlineResponse201 createReferralsForMultipleAdvocates(NewReferralsForMult
/**
* Create referral codes for multiple advocates
- * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @param silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. (optional, default to "yes")
* @return ApiResponse<InlineResponse201>
@@ -821,7 +820,7 @@ public ApiResponse createReferralsForMultipleAdvocatesWithHtt
/**
* Create referral codes for multiple advocates (asynchronously)
- * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. **Note:** Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) set are ignored when you use this endpoint.
+ * Creates unique referral codes for multiple advocates. The code will be valid for the referral campaign for which it is created, indicated in the `campaignId` parameter, and one referral code will be associated with one advocate using the profile specified in the `advocateProfileIntegrationId` parameter as the advocate's profile. > [!note] Any [referral limits](https://docs.talon.one/docs/product/campaigns/settings/managing-campaign-budgets#referral-limits) > set are ignored when you use this endpoint.
* @param body body (required)
* @param silent Possible values: `yes` or `no`. - `yes`: Increases the performance of the API call by returning a 204 response. - `no`: Returns a 200 response that contains the updated customer profiles. (optional, default to "yes")
* @param _callback The callback to be executed when the API call finishes
@@ -1019,7 +1018,7 @@ private okhttp3.Call deleteAudienceV2ValidateBeforeCall(Long audienceId, final A
/**
* Delete audience
- * Delete an audience created by a third-party integration. **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience. **Note:** Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
+ * Delete an audience created by a third-party integration. > [!warning] This endpoint also removes any associations recorded between a customer profile and this audience. > [!note] Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
* @param audienceId The ID of the audience. (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1037,7 +1036,7 @@ public void deleteAudienceV2(Long audienceId) throws ApiException {
/**
* Delete audience
- * Delete an audience created by a third-party integration. **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience. **Note:** Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
+ * Delete an audience created by a third-party integration. > [!warning] This endpoint also removes any associations recorded between a customer profile and this audience. > [!note] Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
* @param audienceId The ID of the audience. (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1057,7 +1056,7 @@ public ApiResponse deleteAudienceV2WithHttpInfo(Long audienceId) throws Ap
/**
* Delete audience (asynchronously)
- * Delete an audience created by a third-party integration. **Warning:** This endpoint also removes any associations recorded between a customer profile and this audience. **Note:** Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
+ * Delete an audience created by a third-party integration. > [!warning] This endpoint also removes any associations recorded between a customer profile and this audience. > [!note] Audiences can also be deleted via the Campaign Manager. See the [docs](https://docs.talon.one/docs/product/audiences/managing-audiences#deleting-an-audience).
* @param audienceId The ID of the audience. (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -1079,7 +1078,7 @@ public okhttp3.Call deleteAudienceV2Async(Long audienceId, final ApiCallback deleteCouponReservationWithHttpInfo(String couponValue,
/**
* Delete coupon reservations (asynchronously)
* Remove all the coupon reservations from the provided customer profile integration IDs and the provided coupon code.
- * @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
+ * @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
* @param body body (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -1207,7 +1206,7 @@ public okhttp3.Call deleteCouponReservationAsync(String couponValue, CouponReser
}
/**
* Build call for deleteCustomerData
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -1265,8 +1264,8 @@ private okhttp3.Call deleteCustomerDataValidateBeforeCall(String integrationId,
/**
* Delete customer's personal data
- * Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * Delete all attributes on the customer profile and on entities that reference this customer profile. > [!warning] **Warning** > - Customer data is deleted from all Applications in the > [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) > that the API key belongs to. For example, if you use this endpoint with an API key that belongs > to a sandbox Application, customer data will be deleted from all sandbox Applications. > This is because customer data is shared between Applications from the same environment. > - To preserve performance, we recommend avoiding deleting customer data > during peak-traffic hours.
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1282,8 +1281,8 @@ public void deleteCustomerData(String integrationId) throws ApiException {
/**
* Delete customer's personal data
- * Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * Delete all attributes on the customer profile and on entities that reference this customer profile. > [!warning] **Warning** > - Customer data is deleted from all Applications in the > [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) > that the API key belongs to. For example, if you use this endpoint with an API key that belongs > to a sandbox Application, customer data will be deleted from all sandbox Applications. > This is because customer data is shared between Applications from the same environment. > - To preserve performance, we recommend avoiding deleting customer data > during peak-traffic hours.
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1301,8 +1300,8 @@ public ApiResponse deleteCustomerDataWithHttpInfo(String integrationId) th
/**
* Delete customer's personal data (asynchronously)
- * Delete all attributes on the customer profile and on entities that reference this customer profile. **Important:** - Customer data is deleted from all Applications in the [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) that the API key belongs to. For example, if you use this endpoint with an API key that belongs to a sandbox Application, customer data will be deleted from all sandbox Applications. This is because customer data is shared between Applications from the same environment. - To preserve performance, we recommend avoiding deleting customer data during peak-traffic hours.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * Delete all attributes on the customer profile and on entities that reference this customer profile. > [!warning] **Warning** > - Customer data is deleted from all Applications in the > [environment](https://docs.talon.one/docs/product/applications/overview#application-environments) > that the API key belongs to. For example, if you use this endpoint with an API key that belongs > to a sandbox Application, customer data will be deleted from all sandbox Applications. > This is because customer data is shared between Applications from the same environment. > - To preserve performance, we recommend avoiding deleting customer data > during peak-traffic hours.
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -1323,7 +1322,7 @@ public okhttp3.Call deleteCustomerDataAsync(String integrationId, final ApiCallb
/**
* Build call for deleteLoyaltyTransactionsFromLedgers
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param body (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
@@ -1394,9 +1393,9 @@ private okhttp3.Call deleteLoyaltyTransactionsFromLedgersValidateBeforeCall(Long
/**
* Delete customer's transactions from loyalty ledgers
- * Delete a customer's transactions in all loyalty ledgers or a specified ledger. **Note:** To retrieve loyalty transaction logs for a specific customer in a given loyalty program, use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) endpoint.
+ * Delete a customer's transactions in all loyalty ledgers or a specified ledger. > [!note] To retrieve loyalty transaction logs for a specific customer in a given loyalty program, > use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param body (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1414,9 +1413,9 @@ public void deleteLoyaltyTransactionsFromLedgers(Long loyaltyProgramId, String i
/**
* Delete customer's transactions from loyalty ledgers
- * Delete a customer's transactions in all loyalty ledgers or a specified ledger. **Note:** To retrieve loyalty transaction logs for a specific customer in a given loyalty program, use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) endpoint.
+ * Delete a customer's transactions in all loyalty ledgers or a specified ledger. > [!note] To retrieve loyalty transaction logs for a specific customer in a given loyalty program, > use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param body (required)
* @return ApiResponse<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1436,9 +1435,9 @@ public ApiResponse deleteLoyaltyTransactionsFromLedgersWithHttpInfo(Long l
/**
* Delete customer's transactions from loyalty ledgers (asynchronously)
- * Delete a customer's transactions in all loyalty ledgers or a specified ledger. **Note:** To retrieve loyalty transaction logs for a specific customer in a given loyalty program, use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) endpoint.
+ * Delete a customer's transactions in all loyalty ledgers or a specified ledger. > [!note] To retrieve loyalty transaction logs for a specific customer in a given loyalty program, > use the [List customer's loyalty transactions](https://docs.talon.one/integration-api#tag/Loyalty/operation/getLoyaltyProgramProfileTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param body (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -1524,7 +1523,7 @@ private okhttp3.Call generateLoyaltyCardValidateBeforeCall(Long loyaltyProgramId
/**
* Generate loyalty card
- * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. **Note:** - The number of customer profiles linked to the loyalty card cannot exceed the loyalty program's `usersPerCardLimit`. To find the program's limit, use the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) endpoint. - If the loyalty program has a defined code format, it will be used for the loyalty card identifier.
+ * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. > [!note] **Note** > - The number of customer profiles linked to the loyalty card cannot exceed > the loyalty program's `usersPerCardLimit`. To find the program's limit, use > the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) > endpoint. > - If the loyalty program has a defined code format, it will be used for the > loyalty card identifier.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param body body (required)
* @return LoyaltyCard
@@ -1544,7 +1543,7 @@ public LoyaltyCard generateLoyaltyCard(Long loyaltyProgramId, GenerateLoyaltyCar
/**
* Generate loyalty card
- * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. **Note:** - The number of customer profiles linked to the loyalty card cannot exceed the loyalty program's `usersPerCardLimit`. To find the program's limit, use the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) endpoint. - If the loyalty program has a defined code format, it will be used for the loyalty card identifier.
+ * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. > [!note] **Note** > - The number of customer profiles linked to the loyalty card cannot exceed > the loyalty program's `usersPerCardLimit`. To find the program's limit, use > the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) > endpoint. > - If the loyalty program has a defined code format, it will be used for the > loyalty card identifier.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param body body (required)
* @return ApiResponse<LoyaltyCard>
@@ -1565,7 +1564,7 @@ public ApiResponse generateLoyaltyCardWithHttpInfo(Long loyaltyProg
/**
* Generate loyalty card (asynchronously)
- * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. **Note:** - The number of customer profiles linked to the loyalty card cannot exceed the loyalty program's `usersPerCardLimit`. To find the program's limit, use the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) endpoint. - If the loyalty program has a defined code format, it will be used for the loyalty card identifier.
+ * Generate a loyalty card in a specified [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview). To link the card to one or more customer profiles, use the `customerProfileIds` parameter in the request body. > [!note] **Note** > - The number of customer profiles linked to the loyalty card cannot exceed > the loyalty program's `usersPerCardLimit`. To find the program's limit, use > the [Get loyalty program](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgram) > endpoint. > - If the loyalty program has a defined code format, it will be used for the > loyalty card identifier.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param body body (required)
* @param _callback The callback to be executed when the API call finishes
@@ -1687,7 +1686,7 @@ private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String inte
* @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional)
* @param pageSize The number of items in the response. (optional, default to 1000l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @return InlineResponse2002
+ * @return InlineResponse2003
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1698,8 +1697,8 @@ private okhttp3.Call getCustomerAchievementHistoryValidateBeforeCall(String inte
| 404 | Not found | - |
*/
- public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
- ApiResponse localVarResp = getCustomerAchievementHistoryWithHttpInfo(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip);
+ public InlineResponse2003 getCustomerAchievementHistory(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ ApiResponse localVarResp = getCustomerAchievementHistoryWithHttpInfo(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip);
return localVarResp.getData();
}
@@ -1713,7 +1712,7 @@ public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Lo
* @param endDate Timestamp that filters the results to only contain achievements created before or on the end date. (optional)
* @param pageSize The number of items in the response. (optional, default to 1000l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @return ApiResponse<InlineResponse2002>
+ * @return ApiResponse<InlineResponse2003>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1724,9 +1723,9 @@ public InlineResponse2002 getCustomerAchievementHistory(String integrationId, Lo
| 404 | Not found | - |
*/
- public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getCustomerAchievementHistoryWithHttpInfo(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip) throws ApiException {
okhttp3.Call localVarCall = getCustomerAchievementHistoryValidateBeforeCall(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -1752,10 +1751,10 @@ public ApiResponse getCustomerAchievementHistoryWithHttpInfo
| 404 | Not found | - |
*/
- public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementHistoryAsync(String integrationId, Long achievementId, List progressStatus, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getCustomerAchievementHistoryValidateBeforeCall(integrationId, achievementId, progressStatus, startDate, endDate, pageSize, skip, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
@@ -1858,7 +1857,7 @@ private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integratio
* @param currentProgressStatus Filter by customer progress status in the achievement. (optional)
* @param pageSize The number of items in the response. (optional, default to 1000l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @return InlineResponse2001
+ * @return InlineResponse2002
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -1869,8 +1868,8 @@ private okhttp3.Call getCustomerAchievementsValidateBeforeCall(String integratio
| 404 | Not found | - |
*/
- public InlineResponse2001 getCustomerAchievements(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException {
- ApiResponse localVarResp = getCustomerAchievementsWithHttpInfo(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip);
+ public InlineResponse2002 getCustomerAchievements(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException {
+ ApiResponse localVarResp = getCustomerAchievementsWithHttpInfo(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip);
return localVarResp.getData();
}
@@ -1884,7 +1883,7 @@ public InlineResponse2001 getCustomerAchievements(String integrationId, List
@@ -1895,9 +1894,9 @@ public InlineResponse2001 getCustomerAchievements(String integrationId, List 404 | Not found | - |
*/
- public ApiResponse getCustomerAchievementsWithHttpInfo(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException {
+ public ApiResponse getCustomerAchievementsWithHttpInfo(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip) throws ApiException {
okhttp3.Call localVarCall = getCustomerAchievementsValidateBeforeCall(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -1923,16 +1922,16 @@ public ApiResponse getCustomerAchievementsWithHttpInfo(Strin
| 404 | Not found | - |
*/
- public okhttp3.Call getCustomerAchievementsAsync(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getCustomerAchievementsAsync(String integrationId, List campaignIds, List achievementIds, List achievementStatus, List currentProgressStatus, Long pageSize, Long skip, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getCustomerAchievementsValidateBeforeCall(integrationId, campaignIds, achievementIds, achievementStatus, currentProgressStatus, pageSize, skip, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
/**
* Build call for getCustomerInventory
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param profile Set to `true` to include customer profile information in the response. (optional)
* @param referrals Set to `true` to include referral information in the response. (optional)
* @param coupons Set to `true` to include coupon information in the response. (optional)
@@ -2021,7 +2020,7 @@ private okhttp3.Call getCustomerInventoryValidateBeforeCall(String integrationId
/**
* List customer data
* Return the customer inventory regarding entities referencing this customer profile's `integrationId`. Typical entities returned are: customer profile information, referral codes, loyalty points, loyalty cards and reserved coupons. Reserved coupons also include redeemed coupons.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param profile Set to `true` to include customer profile information in the response. (optional)
* @param referrals Set to `true` to include referral information in the response. (optional)
* @param coupons Set to `true` to include coupon information in the response. (optional)
@@ -2046,7 +2045,7 @@ public CustomerInventory getCustomerInventory(String integrationId, Boolean prof
/**
* List customer data
* Return the customer inventory regarding entities referencing this customer profile's `integrationId`. Typical entities returned are: customer profile information, referral codes, loyalty points, loyalty cards and reserved coupons. Reserved coupons also include redeemed coupons.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param profile Set to `true` to include customer profile information in the response. (optional)
* @param referrals Set to `true` to include referral information in the response. (optional)
* @param coupons Set to `true` to include coupon information in the response. (optional)
@@ -2072,7 +2071,7 @@ public ApiResponse getCustomerInventoryWithHttpInfo(String in
/**
* List customer data (asynchronously)
* Return the customer inventory regarding entities referencing this customer profile's `integrationId`. Typical entities returned are: customer profile information, referral codes, loyalty points, loyalty cards and reserved coupons. Reserved coupons also include redeemed coupons.
- * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#operation/getApplicationCustomers) endpoint. (required)
+ * @param integrationId The integration ID of the customer profile. You can get the `integrationId` of a profile using: - A customer session integration ID with the [Update customer session](https://docs.talon.one/integration-api#tag/Customer-sessions/operation/updateCustomerSessionV2) endpoint. - The Management API with the [List application's customers](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationCustomers) endpoint. (required)
* @param profile Set to `true` to include customer profile information in the response. (optional)
* @param referrals Set to `true` to include referral information in the response. (optional)
* @param coupons Set to `true` to include coupon information in the response. (optional)
@@ -2099,7 +2098,7 @@ public okhttp3.Call getCustomerInventoryAsync(String integrationId, Boolean prof
}
/**
* Build call for getCustomerSession
- * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
+ * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. (required)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -2158,7 +2157,7 @@ private okhttp3.Call getCustomerSessionValidateBeforeCall(String customerSession
/**
* Get customer session
* Get the details of the given customer session. You can get the same data via other endpoints that also apply changes, which can help you save requests and increase performance. See: - [Update customer session](#tag/Customer-sessions/operation/updateCustomerSessionV2) - [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2)
- * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
+ * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. (required)
* @return IntegrationCustomerSessionResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2177,7 +2176,7 @@ public IntegrationCustomerSessionResponse getCustomerSession(String customerSess
/**
* Get customer session
* Get the details of the given customer session. You can get the same data via other endpoints that also apply changes, which can help you save requests and increase performance. See: - [Update customer session](#tag/Customer-sessions/operation/updateCustomerSessionV2) - [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2)
- * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
+ * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. (required)
* @return ApiResponse<IntegrationCustomerSessionResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2197,7 +2196,7 @@ public ApiResponse getCustomerSessionWithHtt
/**
* Get customer session (asynchronously)
* Get the details of the given customer session. You can get the same data via other endpoints that also apply changes, which can help you save requests and increase performance. See: - [Update customer session](#tag/Customer-sessions/operation/updateCustomerSessionV2) - [Update customer profile](#tag/Customer-profiles/operation/updateCustomerProfileV2)
- * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#operation/getApplicationSessions) endpoint. (required)
+ * @param customerSessionId The `integration ID` of the customer session. You set this ID when you create a customer session. You can see existing customer session integration IDs in the Campaign Manager's **Sessions** menu, or via the [List Application session](https://docs.talon.one/management-api#tag/Customer-data/operation/getApplicationSessions) endpoint. (required)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -2220,7 +2219,7 @@ public okhttp3.Call getCustomerSessionAsync(String customerSessionId, final ApiC
* Build call for getLoyaltyBalances
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param includeTiers Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false)
* @param includeProjectedTier Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false)
@@ -2304,10 +2303,10 @@ private okhttp3.Call getLoyaltyBalancesValidateBeforeCall(Long loyaltyProgramId,
/**
* Get customer's loyalty balances
- * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+ * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. > [!note] If no filtering options are applied, you retrieve all loyalty > balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param includeTiers Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false)
* @param includeProjectedTier Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false)
@@ -2329,10 +2328,10 @@ public LoyaltyBalancesWithTiers getLoyaltyBalances(Long loyaltyProgramId, String
/**
* Get customer's loyalty balances
- * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+ * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. > [!note] If no filtering options are applied, you retrieve all loyalty > balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param includeTiers Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false)
* @param includeProjectedTier Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false)
@@ -2355,10 +2354,10 @@ public ApiResponse getLoyaltyBalancesWithHttpInfo(Long
/**
* Get customer's loyalty balances (asynchronously)
- * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. **Note**: If no filtering options are applied, you retrieve all loyalty balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
+ * Retrieve loyalty ledger balances for the given Integration ID in the specified loyalty program. You can filter balances by date and subledger ID, and include tier-related information in the response. > [!note] If no filtering options are applied, you retrieve all loyalty > balances on the current date for the given integration ID. Loyalty balances are calculated when Talon.One receives your request using the points stored in our database, so retrieving a large number of balances at once can impact performance. For more information, see: - [Managing card-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards) - [Managing profile-based loyalty program data](https://docs.talon.one/docs/product/loyalty-programs/profile-based/managing-pb-lp-data)
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param includeTiers Indicates whether tier information is included in the response. When set to `true`, the response includes information about the current tier and the number of points required to move to next tier. (optional, default to false)
* @param includeProjectedTier Indicates whether the customer's projected tier information is included in the response. When set to `true`, the response includes information about the customer's active points and the name of the projected tier. **Note** We recommend filtering by `subledgerId` for better performance. (optional, default to false)
@@ -2384,8 +2383,8 @@ public okhttp3.Call getLoyaltyBalancesAsync(Long loyaltyProgramId, String integr
/**
* Build call for getLoyaltyCardBalances
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
@@ -2461,8 +2460,8 @@ private okhttp3.Call getLoyaltyCardBalancesValidateBeforeCall(Long loyaltyProgra
* Get card's point balances
* Retrieve loyalty balances for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, all loyalty balances for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @return LoyaltyCardBalances
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -2484,8 +2483,8 @@ public LoyaltyCardBalances getLoyaltyCardBalances(Long loyaltyProgramId, String
* Get card's point balances
* Retrieve loyalty balances for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, all loyalty balances for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @return ApiResponse<LoyaltyCardBalances>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -2508,8 +2507,8 @@ public ApiResponse getLoyaltyCardBalancesWithHttpInfo(Long
* Get card's point balances (asynchronously)
* Retrieve loyalty balances for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, all loyalty balances for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
+ * @param endDate Used to return expired, active, and pending loyalty balances before this timestamp. You can enter any past, present, or future timestamp value. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
@@ -2533,14 +2532,14 @@ public okhttp3.Call getLoyaltyCardBalancesAsync(Long loyaltyProgramId, String lo
/**
* Build call for getLoyaltyCardPoints
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param status Filter points based on their status. (optional, default to active)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
+ * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -2635,15 +2634,15 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramI
* List card's unused loyalty points
* Get paginated results of loyalty points for a given loyalty card identifier in a card-based loyalty program. This endpoint returns only the balances of unused points on a loyalty card. You can filter points by status: - `active`: Points ready to be redeemed. - `pending`: Points with a start date in the future. - `expired`: Points with an expiration date in the past.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param status Filter points based on their status. (optional, default to active)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
- * @return InlineResponse2005
+ * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
+ * @return InlineResponse2006
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2654,8 +2653,8 @@ private okhttp3.Call getLoyaltyCardPointsValidateBeforeCall(Long loyaltyProgramI
| 404 | Not found | - |
*/
- public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
- ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
+ public InlineResponse2006 getLoyaltyCardPoints(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
+ ApiResponse localVarResp = getLoyaltyCardPointsWithHttpInfo(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
return localVarResp.getData();
}
@@ -2663,15 +2662,15 @@ public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loy
* List card's unused loyalty points
* Get paginated results of loyalty points for a given loyalty card identifier in a card-based loyalty program. This endpoint returns only the balances of unused points on a loyalty card. You can filter points by status: - `active`: Points ready to be redeemed. - `pending`: Points with a start date in the future. - `expired`: Points with an expiration date in the past.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param status Filter points based on their status. (optional, default to active)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
- * @return ApiResponse<InlineResponse2005>
+ * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
+ * @return ApiResponse<InlineResponse2006>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2682,9 +2681,9 @@ public InlineResponse2005 getLoyaltyCardPoints(Long loyaltyProgramId, String loy
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
+ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -2692,14 +2691,14 @@ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loy
* List card's unused loyalty points (asynchronously)
* Get paginated results of loyalty points for a given loyalty card identifier in a card-based loyalty program. This endpoint returns only the balances of unused points on a loyalty card. You can filter points by status: - `active`: Points ready to be redeemed. - `pending`: Points with a start date in the future. - `expired`: Points with an expiration date in the past.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param status Filter points based on their status. (optional, default to active)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
- * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
+ * @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -2712,23 +2711,23 @@ public ApiResponse getLoyaltyCardPointsWithHttpInfo(Long loy
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardPointsAsync(Long loyaltyProgramId, String loyaltyCardId, String status, List subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyCardPointsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
/**
* Build call for getLoyaltyCardTransactions
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
@@ -2834,17 +2833,17 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Long loyaltyPr
* List card's transactions
* Retrieve loyalty transaction logs for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
- * @return InlineResponse2003
+ * @return InlineResponse2004
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2855,8 +2854,8 @@ private okhttp3.Call getLoyaltyCardTransactionsValidateBeforeCall(Long loyaltyPr
| 404 | Not found | - |
*/
- public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
- ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation);
+ public InlineResponse2004 getLoyaltyCardTransactions(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
+ ApiResponse localVarResp = getLoyaltyCardTransactionsWithHttpInfo(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation);
return localVarResp.getData();
}
@@ -2864,17 +2863,17 @@ public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, Stri
* List card's transactions
* Retrieve loyalty transaction logs for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
- * @return ApiResponse<InlineResponse2003>
+ * @return ApiResponse<InlineResponse2004>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -2885,9 +2884,9 @@ public InlineResponse2003 getLoyaltyCardTransactions(Long loyaltyProgramId, Stri
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
+ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -2895,13 +2894,13 @@ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Lo
* List card's transactions (asynchronously)
* Retrieve loyalty transaction logs for the given loyalty card in the specified loyalty program with filtering options applied. If no filtering options are applied, the last 50 loyalty transactions for the given loyalty card are returned.
* @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
+ * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. **Important**: The loyalty card ID requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `NewCard2026%` as `NewCard2026%25`. (required)
* @param subledgerId Filter results by one or more subledger IDs. Must be exact match. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
@@ -2917,10 +2916,10 @@ public ApiResponse getLoyaltyCardTransactionsWithHttpInfo(Lo
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyCardTransactionsAsync(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyCardTransactionsAsync(Long loyaltyProgramId, String loyaltyCardId, List subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, Boolean awaitsActivation, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyCardTransactionsValidateBeforeCall(loyaltyProgramId, loyaltyCardId, subledgerId, loyaltyTransactionType, startDate, endDate, customerSessionIDs, transactionUUIDs, pageSize, skip, awaitsActivation, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
@@ -3037,7 +3036,7 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyal
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
- * @return InlineResponse2006
+ * @return InlineResponse2007
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3048,8 +3047,8 @@ private okhttp3.Call getLoyaltyProgramProfilePointsValidateBeforeCall(Long loyal
| 404 | Not found | - |
*/
- public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
- ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
+ public InlineResponse2007 getLoyaltyProgramProfilePoints(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
+ ApiResponse localVarResp = getLoyaltyProgramProfilePointsWithHttpInfo(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort);
return localVarResp.getData();
}
@@ -3065,7 +3064,7 @@ public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId,
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param sort The field by which results should be sorted. You can enter one of the following values: - `startDate`: Sorts the results by the start date of the points. - `expiryDate`: Sorts the results by the expiry date of the points. By default, results are sorted in ascending order. To sort them in descending order, prefix the field name with `-`. **Note:** You can only sort by one field at a time. (optional)
- * @return ApiResponse<InlineResponse2006>
+ * @return ApiResponse<InlineResponse2007>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3076,9 +3075,9 @@ public InlineResponse2006 getLoyaltyProgramProfilePoints(Long loyaltyProgramId,
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
+ public ApiResponse getLoyaltyProgramProfilePointsWithHttpInfo(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -3106,10 +3105,10 @@ public ApiResponse getLoyaltyProgramProfilePointsWithHttpInf
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Long loyaltyProgramId, String integrationId, String status, String subledgerId, List customerSessionIDs, List transactionUUIDs, Long pageSize, Long skip, String sort, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyProgramProfilePointsValidateBeforeCall(loyaltyProgramId, integrationId, status, subledgerId, customerSessionIDs, transactionUUIDs, pageSize, skip, sort, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
@@ -3117,12 +3116,12 @@ public okhttp3.Call getLoyaltyProgramProfilePointsAsync(Long loyaltyProgramId, S
* Build call for getLoyaltyProgramProfileTransactions
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
@@ -3226,19 +3225,19 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long
/**
* List customer's loyalty transactions
- * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+ * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. > [!note] To retrieve all loyalty program transaction logs in a given > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
- * @return InlineResponse2004
+ * @return InlineResponse2005
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3249,26 +3248,26 @@ private okhttp3.Call getLoyaltyProgramProfileTransactionsValidateBeforeCall(Long
| 404 | Not found | - |
*/
- public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
- ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
+ public InlineResponse2005 getLoyaltyProgramProfileTransactions(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
+ ApiResponse localVarResp = getLoyaltyProgramProfileTransactionsWithHttpInfo(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation);
return localVarResp.getData();
}
/**
* List customer's loyalty transactions
- * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+ * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. > [!note] To retrieve all loyalty program transaction logs in a given > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
- * @return ApiResponse<InlineResponse2004>
+ * @return ApiResponse<InlineResponse2005>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3279,23 +3278,23 @@ public InlineResponse2004 getLoyaltyProgramProfileTransactions(Long loyaltyProgr
| 404 | Not found | - |
*/
- public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
+ public ApiResponse getLoyaltyProgramProfileTransactionsWithHttpInfo(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
/**
* List customer's loyalty transactions (asynchronously)
- * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. **Note:** To retrieve all loyalty program transaction logs in a given loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) endpoint.
+ * Retrieve paginated results of loyalty transaction logs for the given Integration ID in the specified loyalty program. You can filter transactions by date. If no filters are applied, the last 50 loyalty transactions for the given integration ID are returned. > [!note] To retrieve all loyalty program transaction logs in a given > loyalty program, use the [List loyalty program transactions](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyProgramTransactions) > endpoint.
* @param loyaltyProgramId Identifier of the profile-based loyalty program. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
* @param integrationId The integration identifier for this customer profile. Must be: - Unique within the deployment. - Stable for the customer. Do not use an ID that the customer can update themselves. For example, you can use a database ID. Once set, you cannot update this identifier. (required)
- * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
- * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
+ * @param customerSessionIDs Filter the results by a list of customer session IDs. To include multiple IDs, repeat the parameter for each one, for example, `?customerSessionIDs=id1&customerSessionIDs=id2`. The response contains only data associated with the specified sessions. (optional)
+ * @param transactionUUIDs Filter the results by a list of transaction UUIDs. To include multiple IDs, repeat the parameter for each one, for example, `?transactionUUIDs=uuid1&transactionUUIDs=uuid2`. The response contains only data associated with the specified transactions. (optional)
* @param subledgerId The ID of the subledger by which we filter the data. (optional)
* @param loyaltyTransactionType Filter results by loyalty transaction type: - `manual`: Loyalty transaction that was done manually. - `session`: Loyalty transaction that resulted from a customer session. - `import`: Loyalty transaction that was imported from a CSV file. (optional)
- * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
- * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startDate Date and time from which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endDate Date and time by which results are returned. Results are filtered by transaction creation date. > [!note] **Note** > - This must be an RFC3339 timestamp string. > - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting > considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param pageSize The number of items in the response. (optional, default to 50l)
* @param skip The number of items to skip when paging through large result sets. (optional)
* @param awaitsActivation If `true`: Filters results to include only point transactions that have action-based activation and have not expired. If `false`: Returns a `400` response. (optional)
@@ -3311,10 +3310,10 @@ public ApiResponse getLoyaltyProgramProfileTransactionsWithH
| 404 | Not found | - |
*/
- public okhttp3.Call getLoyaltyProgramProfileTransactionsAsync(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getLoyaltyProgramProfileTransactionsAsync(Long loyaltyProgramId, String integrationId, List customerSessionIDs, List transactionUUIDs, String subledgerId, String loyaltyTransactionType, OffsetDateTime startDate, OffsetDateTime endDate, Long pageSize, Long skip, Boolean awaitsActivation, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getLoyaltyProgramProfileTransactionsValidateBeforeCall(loyaltyProgramId, integrationId, customerSessionIDs, transactionUUIDs, subledgerId, loyaltyTransactionType, startDate, endDate, pageSize, skip, awaitsActivation, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
@@ -3381,7 +3380,7 @@ private okhttp3.Call getReservedCustomersValidateBeforeCall(String couponValue,
* List customers that have this coupon reserved
* Return all customers that have this coupon marked as reserved. This includes hard and soft reservations.
* @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
- * @return InlineResponse200
+ * @return InlineResponse2001
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3392,8 +3391,8 @@ private okhttp3.Call getReservedCustomersValidateBeforeCall(String couponValue,
| 404 | Not found | - |
*/
- public InlineResponse200 getReservedCustomers(String couponValue) throws ApiException {
- ApiResponse localVarResp = getReservedCustomersWithHttpInfo(couponValue);
+ public InlineResponse2001 getReservedCustomers(String couponValue) throws ApiException {
+ ApiResponse localVarResp = getReservedCustomersWithHttpInfo(couponValue);
return localVarResp.getData();
}
@@ -3401,7 +3400,7 @@ public InlineResponse200 getReservedCustomers(String couponValue) throws ApiExce
* List customers that have this coupon reserved
* Return all customers that have this coupon marked as reserved. This includes hard and soft reservations.
* @param couponValue The code of the coupon. **Important:** The coupon code requires [URL encoding](https://www.w3schools.com/tags//ref_urlencode.asp) if it contains special characters. For example, you must encode `SUMMER25%OFF` as `SUMMER25%25OFF`. (required)
- * @return ApiResponse<InlineResponse200>
+ * @return ApiResponse<InlineResponse2001>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3412,9 +3411,9 @@ public InlineResponse200 getReservedCustomers(String couponValue) throws ApiExce
| 404 | Not found | - |
*/
- public ApiResponse getReservedCustomersWithHttpInfo(String couponValue) throws ApiException {
+ public ApiResponse getReservedCustomersWithHttpInfo(String couponValue) throws ApiException {
okhttp3.Call localVarCall = getReservedCustomersValidateBeforeCall(couponValue, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -3434,18 +3433,22 @@ public ApiResponse getReservedCustomersWithHttpInfo(String co
| 404 | Not found | - |
*/
- public okhttp3.Call getReservedCustomersAsync(String couponValue, final ApiCallback _callback) throws ApiException {
+ public okhttp3.Call getReservedCustomersAsync(String couponValue, final ApiCallback _callback) throws ApiException {
okhttp3.Call localVarCall = getReservedCustomersValidateBeforeCall(couponValue, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
/**
- * Build call for linkLoyaltyCardToProfile
- * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param body body (required)
+ * Build call for integrationGetAllCampaigns
+ * @param pageSize The number of items in the response. (optional, default to 50l)
+ * @param skip The number of items to skip when paging through large result sets. (optional)
+ * @param campaignIds Filter by one or more campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned. (optional)
+ * @param startAfter Filter results to only include campaigns that start on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startBefore Filter results to only include campaigns that start on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endAfter Filter results to only include campaigns that end on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endBefore Filter results to only include campaigns that end on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -3458,16 +3461,42 @@ public okhttp3.Call getReservedCustomersAsync(String couponValue, final ApiCallb
| 404 | Not found | - |
*/
- public okhttp3.Call linkLoyaltyCardToProfileCall(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException {
- Object localVarPostBody = body;
+ public okhttp3.Call integrationGetAllCampaignsCall(Long pageSize, Long skip, List campaignIds, OffsetDateTime startAfter, OffsetDateTime startBefore, OffsetDateTime endAfter, OffsetDateTime endBefore, final ApiCallback _callback) throws ApiException {
+ Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/v2/loyalty_programs/{loyaltyProgramId}/cards/{loyaltyCardId}/link_profile"
- .replaceAll("\\{" + "loyaltyProgramId" + "\\}", localVarApiClient.escapeString(loyaltyProgramId.toString()))
- .replaceAll("\\{" + "loyaltyCardId" + "\\}", localVarApiClient.escapeString(loyaltyCardId.toString()));
+ String localVarPath = "/v1/integration/campaigns";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
+ if (pageSize != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("pageSize", pageSize));
+ }
+
+ if (skip != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("skip", skip));
+ }
+
+ if (campaignIds != null) {
+ localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("csv", "campaignIds", campaignIds));
+ }
+
+ if (startAfter != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("startAfter", startAfter));
+ }
+
+ if (startBefore != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("startBefore", startBefore));
+ }
+
+ if (endAfter != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("endAfter", endAfter));
+ }
+
+ if (endBefore != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("endBefore", endBefore));
+ }
+
Map localVarHeaderParams = new HashMap();
Map localVarCookieParams = new HashMap();
Map localVarFormParams = new HashMap();
@@ -3480,46 +3509,35 @@ public okhttp3.Call linkLoyaltyCardToProfileCall(Long loyaltyProgramId, String l
}
final String[] localVarContentTypes = {
- "application/json"
+
};
final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
localVarHeaderParams.put("Content-Type", localVarContentType);
String[] localVarAuthNames = new String[] { "api_key_v1" };
- return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body, final ApiCallback _callback) throws ApiException {
-
- // verify the required parameter 'loyaltyProgramId' is set
- if (loyaltyProgramId == null) {
- throw new ApiException("Missing the required parameter 'loyaltyProgramId' when calling linkLoyaltyCardToProfile(Async)");
- }
-
- // verify the required parameter 'loyaltyCardId' is set
- if (loyaltyCardId == null) {
- throw new ApiException("Missing the required parameter 'loyaltyCardId' when calling linkLoyaltyCardToProfile(Async)");
- }
-
- // verify the required parameter 'body' is set
- if (body == null) {
- throw new ApiException("Missing the required parameter 'body' when calling linkLoyaltyCardToProfile(Async)");
- }
+ private okhttp3.Call integrationGetAllCampaignsValidateBeforeCall(Long pageSize, Long skip, List campaignIds, OffsetDateTime startAfter, OffsetDateTime startBefore, OffsetDateTime endAfter, OffsetDateTime endBefore, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = linkLoyaltyCardToProfileCall(loyaltyProgramId, loyaltyCardId, body, _callback);
+ okhttp3.Call localVarCall = integrationGetAllCampaignsCall(pageSize, skip, campaignIds, startAfter, startBefore, endAfter, endBefore, _callback);
return localVarCall;
}
/**
- * Link customer profile to card
- * [Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) allow customers to collect and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them. Link a customer profile to a given loyalty card for the card to be set as **Registered**. This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card). **Note:** You can link as many customer profiles to a given loyalty card as the [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs) allows.
- * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param body body (required)
- * @return LoyaltyCard
+ * List all running campaigns
+ * Retrieve all running campaigns for the specified Application. You can filter the results by providing specific campaign IDs or a range of start and end dates.
+ * @param pageSize The number of items in the response. (optional, default to 50l)
+ * @param skip The number of items to skip when paging through large result sets. (optional)
+ * @param campaignIds Filter by one or more campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned. (optional)
+ * @param startAfter Filter results to only include campaigns that start on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startBefore Filter results to only include campaigns that start on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endAfter Filter results to only include campaigns that end on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endBefore Filter results to only include campaigns that end on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @return InlineResponse200
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3530,18 +3548,22 @@ private okhttp3.Call linkLoyaltyCardToProfileValidateBeforeCall(Long loyaltyProg
| 404 | Not found | - |
*/
- public LoyaltyCard linkLoyaltyCardToProfile(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException {
- ApiResponse localVarResp = linkLoyaltyCardToProfileWithHttpInfo(loyaltyProgramId, loyaltyCardId, body);
+ public InlineResponse200 integrationGetAllCampaigns(Long pageSize, Long skip, List campaignIds, OffsetDateTime startAfter, OffsetDateTime startBefore, OffsetDateTime endAfter, OffsetDateTime endBefore) throws ApiException {
+ ApiResponse localVarResp = integrationGetAllCampaignsWithHttpInfo(pageSize, skip, campaignIds, startAfter, startBefore, endAfter, endBefore);
return localVarResp.getData();
}
/**
- * Link customer profile to card
- * [Loyalty cards](https://docs.talon.one/docs/product/loyalty-programs/card-based/card-based-overview) allow customers to collect and spend loyalty points within a [card-based loyalty program](https://docs.talon.one/docs/product/loyalty-programs/overview#loyalty-program-types). They are useful to gamify loyalty programs and can be used with or without customer profiles linked to them. Link a customer profile to a given loyalty card for the card to be set as **Registered**. This affects how it can be used. See the [docs](https://docs.talon.one/docs/product/loyalty-programs/card-based/managing-loyalty-cards#linking-customer-profiles-to-a-loyalty-card). **Note:** You can link as many customer profiles to a given loyalty card as the [**card user limit**](https://docs.talon.one/docs/product/loyalty-programs/card-based/creating-cb-programs) allows.
- * @param loyaltyProgramId Identifier of the card-based loyalty program containing the loyalty card. You can get the ID with the [List loyalty programs](https://docs.talon.one/management-api#tag/Loyalty/operation/getLoyaltyPrograms) endpoint. (required)
- * @param loyaltyCardId Identifier of the loyalty card. You can get the identifier with the [List loyalty cards](https://docs.talon.one/management-api#tag/Loyalty-cards/operation/getLoyaltyCards) endpoint. (required)
- * @param body body (required)
- * @return ApiResponse<LoyaltyCard>
+ * List all running campaigns
+ * Retrieve all running campaigns for the specified Application. You can filter the results by providing specific campaign IDs or a range of start and end dates.
+ * @param pageSize The number of items in the response. (optional, default to 50l)
+ * @param skip The number of items to skip when paging through large result sets. (optional)
+ * @param campaignIds Filter by one or more campaign IDs, separated by a comma. **Note:** If no campaigns are specified, data for all the campaigns in the Application is returned. (optional)
+ * @param startAfter Filter results to only include campaigns that start on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param startBefore Filter results to only include campaigns that start on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endAfter Filter results to only include campaigns that end on or after the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @param endBefore Filter results to only include campaigns that end on or before the specified timestamp. **Note:** - It must be an RFC3339 timestamp string. - You can include a time component in your string, for example, `T23:59:59` to specify the end of the day. The time zone setting considered is `UTC`. If you do not include a time component, a default time value of `T00:00:00` (midnight) in `UTC` is considered. (optional)
+ * @return ApiResponse<InlineResponse200>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3552,18 +3574,22 @@ public LoyaltyCard linkLoyaltyCardToProfile(Long loyaltyProgramId, String loyalt
| 404 | Not found | - |
*/
- public ApiResponse linkLoyaltyCardToProfileWithHttpInfo(Long loyaltyProgramId, String loyaltyCardId, LoyaltyCardRegistration body) throws ApiException {
- okhttp3.Call localVarCall = linkLoyaltyCardToProfileValidateBeforeCall(loyaltyProgramId, loyaltyCardId, body, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ public ApiResponse integrationGetAllCampaignsWithHttpInfo(Long pageSize, Long skip, List