Skip to content

Releases: talon-one/TalonOne.cs

v7.0.1

24 Oct 10:58
2f2823d
Compare
Choose a tag to compare

Summary

Allow 0 values for price, usageLimit and position

Integration API

Management API

Full Changelog: v7.0.0...v7.0.1

v7.0.0

v6.0.0 Achievements

05 Jun 14:28
96d206f
Compare
Choose a tag to compare

Summary

New endpoints

Integration API

Management API

Changes

⚠️ 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.2: Fix set EmitDefaultValue=true for UsageLimit

13 Nov 15:50
2fba8b1
Compare
Choose a tag to compare

Summary

Management API

Creating coupons with the C# SDK doesn't allow usageLimit = 0

We fixed a bug which does not allow creating a coupon with 0 usageLimit (unlimited redemptions)

☝️ Back to Table of Contents

v5.0.1: Fix Asynchronous calls authentication bug, introducing giveaways export, loyalty tiers import

01 Sep 16:41
caff13e
Compare
Choose a tag to compare

Summary

Misc

  • Fix bug that resulted in an authentication error when calling API functions via their asynchronous versions (i.e. GetApplicationAsync)

Management API

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

09 May 13:00
0c2afbd
Compare
Choose a tag to compare

Summary

Integration API

Management API

Dependencies Upgrades

  • Newtonsoft.Json: 12.0.1 -> 13.0.2; closes #25
  • RestSharp: 106.10.1 -> 106.15.0; closes #16

Fix import endpoints bug with due to RestSharp's older version 🎉

Import endpoints are now functional.
Please note that the upFile argument that each endpoint expects is expected to hold the contents to be imported. It's the consumer's responsibility to read the csv file to be imported, or create a csv-string and send it as the upFile argument. Below is an example for importing loyalty points, provided a csv file holding the contents named loyalty-import.csv:

// initiate management api instance
// ...

string upFile = File.ReadAllText("/path/to/file/loyalty-import.csv");
int programID = 42;

var response = mgmtAPI.ImportLoyaltyPoints(programID, upFile);

closes #21

⚠️ 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

v4.0.4: fix Position is ignored when set to 0 for `CartItem` / `ReturnedCartItem`

27 Mar 09:04
07c63af
Compare
Choose a tag to compare

Summary

Integration API

Fix zero-position ReturnedCartItems are ignored

We fixed a bug in which the Position field of CartItem models with a valid value of 0 are ignored and resulted in an error by the endpoint (#23)

☝️ Back to Table of Contents

v4.0.3: Partial Returns & Collections

14 Mar 15:42
cf4d914
Compare
Choose a tag to compare

v4.0.2: fix Price is ignored when set to 0 for CartItem / AdditionalCost

08 Nov 10:06
112ade2
Compare
Choose a tag to compare

Summary

Integration API

Fix zero-priced CartItems / AdditionalCosts are ignored

We fixed a bug which prices with value 0 of cart items or additional to be ignored and resulted in an error by the endpoint (#19)

☝️ Back to Table of Contents

v4.0.1: Introduce export referrals and Deprecate v1 integration endpoints

13 Aug 14:55
96d226f
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 4.0.1 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