Skip to content

Releases: talon-one/talon_go

v7.0.0

10 Jun 12:59
cf96fd8
Compare
Choose a tag to compare

Summary

New endpoints

Management API

Changes

The disabled and archived campaign states were added.

⚠️ Deprecation Notice

  • The GET /v1/roles endpoint was deprecated. Please use the new one GET /v2/roles
  • The GET /v1/roles/{roleId} endpoint was deprecated. Please use the new one GET /v2/roles/{roleId}

v6.0.0

v5.0.0: Stores

17 Nov 13:08
fe8e46b
Compare
Choose a tag to compare

Summary

New endpoints

Management API

⚠️ Deprecation Notice

  • The endpoint to create notification about campaign-related changes (POST /v1/applications/{applicationId}/notification_webhooks) was deprecated
  • The endpoint to delete notification about campaign-related changes (DELETE /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated
  • The endpoint to get notification about campaign-related changes (GET /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated
  • The endpoint to list notifications about campaign-related changes (GET /v1/applications/{applicationId}/notification_webhooks) was deprecated
  • The endpoint to update notification about campaign-related changes (PUT /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated

v5.0.0 Stores

17 Nov 12:55
d4eb808
Compare
Choose a tag to compare

Summary

New endpoints

Management API

⚠️ Deprecation Notice

  • The endpoint to create notification about campaign-related changes (POST /v1/applications/{applicationId}/notification_webhooks) was deprecated
  • The endpoint to delete notification about campaign-related changes (DELETE /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated
  • The endpoint to get notification about campaign-related changes (GET /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated
  • The endpoint to list notifications about campaign-related changes (GET /v1/applications/{applicationId}/notification_webhooks) was deprecated
  • The endpoint to update notification about campaign-related changes (PUT /v1/applications/{applicationId}/notification_webhooks/{notificationWebhookId}) was deprecated

v4.0.0: Track Event V2 endpoint, loyalty integration endpoint and loyalty, catalogs management endpoints

17 Oct 08:30
2888ce8
Compare
Choose a tag to compare

v3.0.0: Reopen session endpoint, loyalty data integration endpoints and loyalty card management endpoints

28 Apr 15:02
bfaee0c
Compare
Choose a tag to compare

Summary

Integration API

Management API

⚠️⚠️ Migration to v3.0.0 from prior versions

As part of introducing and incorporating Cart Item Catalogs in the SDKs, we had to introduce some breaking changes to our CartItem model.

Please refer to this migration guide for a detailed explanation about the required changes.

⚠️ Deprecation Notice: Export customer loyalty balance to CSV endpoint

Please note that the Export customer loyalty balance to CSV endpoint is getting deprecated, please update your code to point at the new Export customer loyalty balances

v2.6.1: Fix malformed GetLoyaltyTransactions function response type

16 Aug 18:41
f0d0b19
Compare
Choose a tag to compare

v2.6.1

  • Fix malformed GetLoyaltyTransactions function response type (#20)

v2.6.0: Partial Returns, Collections & Improved customer inventory

14 Aug 15:06
e589abe
Compare
Choose a tag to compare

v2.5.0: Introduce referrals export endpoint and and Deprecate v1 integration endpoints

31 Aug 16:19
a43a0f3
Compare
Choose a tag to compare

Summary

Management API

Introduce ExportReferrals Endpoint

We introduced an endpoint to export referrals in an application or specific campaign as a CSV file.

Please consult the endpoint reference in our developer docs for more details and parameters.

☝️ Back to Table of Contents

Integration API

⚠️⚠️ Deprecation Notice: Integration API@v1 endpoints

Like we mentioned in the last few releases and months, from version 2.5.0 we won't include api@v1 endpoints as part of the official SDK.
The endpoints that are now deprecated are:

If you don't use these as part of your integration, please discard this section.

We will not remove the endpoints, and they will still be accessible for you to use as part of older SDK versions or custom calls over http.

We highly encourage migrating to the correspondent v2 endpoints for easier and more granular integration, as well as new features support (See our developer docs section about API V2.0).

☝️ Back to Table of Contents

v2.4.0: Customer Inventory Enhancements, Referral Updates and Import Endpoints

30 Apr 13:41
1a61921
Compare
Choose a tag to compare

Summary

Management API

Expose import endpoints as integral part of the SDK

All of our CSV import endpoints are accessible via the Web Application from the corresponding entity pages (refer to our Help Center for an example regarding Coupons).

Now these are also available endpoints as part of the SDK (links to our developer docs):

Example code snippet demonstrating import coupons using a CSV file:

// ...preparing api client...
// An example could be seen at the repository's README file: https://github.com/talon-one/talon_go#management-api

referralsCSVFileContents, err := ioutil.ReadFile("/path/to/import-referrals.csv")
if err != nil {
	fmt.Printf("Error occurred while reading referrals csv: %s", err)
	// handle error / return / panic
	return
}

applicationId := 1
campaignId := 2

importSummary, _, err := managementClient.ManagementApi.
		ImportReferrals(managerAuthContext, applicationId, campaignId).
		UpFile(string(referralsFile)).
		Execute()

☝️ Back to Table of Contents

Introduce updateReferral Endpoint

We introduced an endpoint to update referrals in order to allow updating their scheduling, usage limits and custom attributes attached to them.

Please consult the endpoint reference in our developer docs for more details.

☝️ Back to Table of Contents

Integration API

Extended Customer Inventory Endpoint

We have added a couple of useful data points to our customer inventory to make integration even simpler.

The customer inventory endpoint now has the ability to return giveaway codes that belong to the profile in query.
In order to learn more about setting up such campaigns refer to this help center article and this developer docs tutorial.

We have also extended the coupons objects that are returned as part of the inventory and attached these two useful data-points to each returned coupon:

  • profileRedemptionCount - holds the number of times the coupon was redeemed by the profile
  • state - holds the state of the coupon and can be one of the below values:
    • active: reserved coupons that are neither pending nor used nor expired, and have a non-exhausted limit counter
    • used: coupons that are not pending, and have reached their redemption limit or were redeemed by the profile before expiration
    • expired: all non-pending, non-active, non-used coupons that were not redeemed by the profile
    • pending: coupons that have a start date in the future

☝️ Back to Table of Contents

⚠️ A reminder of The Deprecation Notice: Integration API@v1 endpoints

The deprecation was introduced already in the last release of the SDK, here is a kind reminder of the deprecation notices for Integration API@v1 endpoints:

These endpoints will be flagged deprecated on 15.07.2021, meaning support for requests to these endpoints will end on that date. We will not remove the endpoints, and they will still be accessible for you to use.

We highly encourage migrating to the correspondent v2 endpoints for easier and more granular integration, as well as new features support (See our developer docs section about API V2.0).

☝️ Back to Table of Contents