Skip to content

Releases: Piggy-Loyalty/piggy-php-sdk

3.5.0

08 May 09:23
73f4c7f
Compare
Choose a tag to compare

What's Changed

  • [v3] Add channel to loyalty transactions by @iDiegoNL in #26

Full Changelog: 3.4.0...3.5.0

3.4.0

07 May 13:03
3c58876
Compare
Choose a tag to compare

What's Changed

  • [v3] Add PHPStan @ level 8, fix broken endpoints & add recently added endpoints by @iDiegoNL in #18
  • [v3] Make Digital Reward and Digital Reward Code nullable by @Thibaux in #25

Full Changelog: 3.3.4...3.4.0

Voucher & Promotion patches

16 Jan 08:54
57d802d
Compare
Choose a tag to compare
  • Add 'attributes' as array on Voucher & Promotion.
  • Add ContactUuid on Voucher.
  • Add PromotionUuid on Voucher.

Minor fixes

10 Jan 14:17
Compare
Choose a tag to compare
3.3.3

use empty array as fallback when meta is missing on response

Reversed recent deprecations

20 Dec 12:44
Compare
Choose a tag to compare

We have reversed the decision on deprecating certain functions. We are internally reviewing our way forward, and appreciate any community feedback.

Static methods and new way of authentication with ApiClient class

12 Dec 15:59
Compare
Choose a tag to compare

In this version we introduce static methods in our SDK for greater flexibility and performance, preparing for future updates. Older resource methods are now deprecated, encouraging you to adopt these new improvements. Resource files with calls to our API are from now on not updated anymore.

We also added a create and show call for Portal Sessions, but you can only use this with static methods which are located on the Portal Session class. Also, an update call has been added for Vouchers. Custom Attributes have been added with list and create functionality.

Our new ApiClient class expects through the configure function your API key and your base-URL. The API key can be generated in our Business Dashboard under Integrations.

Latest SDK version with minor updates

31 Oct 08:51
Compare
Choose a tag to compare

In the latest update, we've added a couple of new features and made some updates:

New Resources:

  • Collectable Rewards: You can now list and collect rewards.
  • Portal Sessions: We've added methods to create and show portal sessions.
  • Webhook Subscriptions: You can list, make, show, change, and remove webhook subscriptions.
  • Vouchers: We've added a new methods, like creating, listing, redeem, and more.
  • Promotions: You can now list and make promotions.
  • Promotion Attributes: You can list, show, make, and change promotion attributes.
  • Forms, Tiers, BrandKit, Contacts Portal, and Loyalty Transaction Attributes: These have new methods like listing and showing.

Updates to Current Resources:

  • Authentication: We have added functionality to authenticate using an API key from the business dashboard. Use the OAuthClientApiKey class for this.
  • Contacts: We've added more methods to manage contacts, like creating them asynchronously and showing the tier of a contact.
  • Contact Verification: We added a method to show the authentication token from a contact.
  • Giftcard Transactions: You can now list giftcard transactions.

3.1.0 Latest SDK version with new Loyalty Token calls

13 Feb 10:20
Compare
Choose a tag to compare

This the new version of Piggy's SDK. The updates are the following:

  • Option to calculate the number of credits that would be issued with the given values without creating a Credit Reception.
  • Able to show al Giftcard Programs for an account.
  • Option to link an existing, unlinked Contact Identifier to an existing Contact.
  • You can now create and claim both unit-based and credit-based Loyalty Token with out SDK.
  • It is now also possible to list all Reward Attributes as well as create a single one. This is also possible for Contact Attributes.

3.0.0

07 Jul 08:34
Compare
Choose a tag to compare

Version 3 of the SDK connects with v3 API for OAuth Clients and Registers. This version is not backward compatible with version 1.*

1.1.1: Merge pull request #7 from N-Wouda/support-guzzle-5

13 Aug 09:34
8a4e813
Compare
Choose a tag to compare