Skip to content

Commit

Permalink
v2.1.0: Dry Runs & Coupons discount limits (#8)
Browse files Browse the repository at this point in the history
 - Introduce "dry runs" for Integration API endpoints (See more details below)
 - Add support to retrieve coupons as part of requesting customer profile inventories
 - Add support for setting the `discountLimit` when creating or editing coupons

You can read more about the concept and where this feature could apply in your integration and workflow in our developers documentation center: https://developers.talon.one/Integration-API/dry-requests

**Please Notice** that all current integration request operations (`trackEvent`, `updateCustomerProfile`, `updateCustomerSession`, `updateCustomerSessionV2` ) expects a boolean flag to determine whether this request is a dry run or not.
See code examples in the [README.md](https://github.com/talon-one/TalonOneJavaSdk/blob/v4.1.0/README.md#v1) as for reference.
  • Loading branch information
altJake committed May 22, 2020
1 parent c3df476 commit 88a3587
Show file tree
Hide file tree
Showing 43 changed files with 1,571 additions and 808 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The API is available at the same hostname as these docs. For example, if you are
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.0.0
- Package version: 2.0.0
- Package version: 2.1.0
- Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen

## Installation
Expand Down Expand Up @@ -341,10 +341,10 @@ Class | Method | HTTP request | Description
*IntegrationApi* | [**DeleteCouponReservation**](docs/IntegrationApi.md#deletecouponreservation) | **Delete** /v1/coupon_reservations/{couponValue} | Delete coupon reservations
*IntegrationApi* | [**DeleteCustomerData**](docs/IntegrationApi.md#deletecustomerdata) | **Delete** /v1/customer_data/{integrationId} | Delete the personal data of a customer.
*IntegrationApi* | [**GetCustomerInventory**](docs/IntegrationApi.md#getcustomerinventory) | **Get** /v1/customer_profiles/{integrationId}/inventory | Get an inventory of all data associated with a specific customer profile.
*IntegrationApi* | [**GetReservedCoupons**](docs/IntegrationApi.md#getreservedcoupons) | **Get** /v1/coupon_reservations/coupons/{integrationId} | Get all valid reserved coupons
*IntegrationApi* | [**GetReservedCustomers**](docs/IntegrationApi.md#getreservedcustomers) | **Get** /v1/coupon_reservations/customerprofiles/{couponValue} | Get the users that have this coupon reserved
*IntegrationApi* | [**TrackEvent**](docs/IntegrationApi.md#trackevent) | **Post** /v1/events | Track an Event
*IntegrationApi* | [**UpdateCustomerProfile**](docs/IntegrationApi.md#updatecustomerprofile) | **Put** /v1/customer_profiles/{integrationId} | Update a Customer Profile
*IntegrationApi* | [**UpdateCustomerProfileV2**](docs/IntegrationApi.md#updatecustomerprofilev2) | **Put** /v2/customer_profiles/{customerProfileId} | Update a Customer Profile
*IntegrationApi* | [**UpdateCustomerSession**](docs/IntegrationApi.md#updatecustomersession) | **Put** /v1/customer_sessions/{customerSessionId} | Update a Customer Session
*IntegrationApi* | [**UpdateCustomerSessionV2**](docs/IntegrationApi.md#updatecustomersessionv2) | **Put** /v2/customer_sessions/{customerSessionId} | Update a Customer Session
*ManagementApi* | [**AddLoyaltyPoints**](docs/ManagementApi.md#addloyaltypoints) | **Put** /v1/loyalty_programs/{programID}/profile/{integrationID}/add_points | Add points in a certain loyalty program for the specified customer
Expand Down Expand Up @@ -385,7 +385,6 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**GetCampaign**](docs/ManagementApi.md#getcampaign) | **Get** /v1/applications/{applicationId}/campaigns/{campaignId} | Get a Campaign
*ManagementApi* | [**GetCampaignAnalytics**](docs/ManagementApi.md#getcampaignanalytics) | **Get** /v1/applications/{applicationId}/campaigns/{campaignId}/analytics | Get analytics of campaigns
*ManagementApi* | [**GetCampaignByAttributes**](docs/ManagementApi.md#getcampaignbyattributes) | **Post** /v1/applications/{applicationId}/campaigns_search | Get a list of all campaigns that match the given attributes
*ManagementApi* | [**GetCampaignSet**](docs/ManagementApi.md#getcampaignset) | **Get** /v1/applications/{applicationId}/campaign_set | List CampaignSet
*ManagementApi* | [**GetCampaigns**](docs/ManagementApi.md#getcampaigns) | **Get** /v1/applications/{applicationId}/campaigns | List your Campaigns
*ManagementApi* | [**GetChanges**](docs/ManagementApi.md#getchanges) | **Get** /v1/changes | Get audit log for an account
*ManagementApi* | [**GetCoupons**](docs/ManagementApi.md#getcoupons) | **Get** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | List Coupons
Expand Down Expand Up @@ -425,7 +424,6 @@ Class | Method | HTTP request | Description
*ManagementApi* | [**UpdateAdditionalCost**](docs/ManagementApi.md#updateadditionalcost) | **Put** /v1/additional_costs/{additionalCostId} | Update an additional cost
*ManagementApi* | [**UpdateAttribute**](docs/ManagementApi.md#updateattribute) | **Put** /v1/attributes/{attributeId} | Update a custom attribute
*ManagementApi* | [**UpdateCampaign**](docs/ManagementApi.md#updatecampaign) | **Put** /v1/applications/{applicationId}/campaigns/{campaignId} | Update a Campaign
*ManagementApi* | [**UpdateCampaignSet**](docs/ManagementApi.md#updatecampaignset) | **Put** /v1/applications/{applicationId}/campaign_set | Update a Campaign Set
*ManagementApi* | [**UpdateCoupon**](docs/ManagementApi.md#updatecoupon) | **Put** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons/{couponId} | Update a Coupon
*ManagementApi* | [**UpdateCouponBatch**](docs/ManagementApi.md#updatecouponbatch) | **Put** /v1/applications/{applicationId}/campaigns/{campaignId}/coupons | Update a Batch of Coupons
*ManagementApi* | [**UpdateRuleset**](docs/ManagementApi.md#updateruleset) | **Put** /v1/applications/{applicationId}/campaigns/{campaignId}/rulesets/{rulesetId} | Update a Ruleset
Expand Down Expand Up @@ -487,6 +485,7 @@ Class | Method | HTTP request | Description
- [CustomerInventory](docs/CustomerInventory.md)
- [CustomerProfile](docs/CustomerProfile.md)
- [CustomerProfileSearchQuery](docs/CustomerProfileSearchQuery.md)
- [CustomerProfileUpdate](docs/CustomerProfileUpdate.md)
- [CustomerSession](docs/CustomerSession.md)
- [CustomerSessionV2](docs/CustomerSessionV2.md)
- [DeductLoyaltyPointsEffectProps](docs/DeductLoyaltyPointsEffectProps.md)
Expand Down
Loading

0 comments on commit 88a3587

Please sign in to comment.