You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
9
9
10
+
11
+
12
+
## [4.0.0] - revision 2023-07-15
13
+
### Added
14
+
- Back-In-stock APIs
15
+
- We have added support for subscribing profiles to back-in-stock notifications, for both email and SMS, using the new [create_back_in_stock_subscription](./README.md#create-back-in-stock-subscription) endpoint.
16
+
- New functionality to Campaigns API
17
+
- CRUD support for SMS campaigns is now available
18
+
- You can now also retrieve all messages for a campaign to determine performance data on campaigns where you’re running A/B tests
19
+
- To support this functionality, we introduced a relationship between [campaigns and campaign messages](./README.md#get-campaign-relationships-campaign-messages), and between [campaign messages and templates](./README.md#get-campaign-message-relationships-template)
20
+
21
+
22
+
### Changed
23
+
- Relationship Standardization
24
+
- We are making a number of changes across endpoints to standardize how we handle [relationships](https://developers.klaviyo.com/en/docs/relationships_) in our APIs and leverage consistently typed objects across endpoints. For example, you can create a profile in our APIs in the same shape, regardless of whether you’re calling the profiles endpoint or the events endpoint.
25
+
- The changes include:
26
+
- Updating 1:1 relationships to use singular tense and an object (instead of plural and an array)
27
+
- example: for [get_flow_action](./README.md#get-flow-action), if you want to use the `include` param, you would set `include=` to `"flow"` (instead of `"flows"`)
28
+
- Moving related object IDs from the attributes payload to relationships
29
+
- example: The format for the [body](https://developers.klaviyo.com/en/reference/create_tag) of [create_tag](./README.md#create-tag) has changed, with `tag_group_id` previously at `data.attributes.tag_group_id` being removed and replaced by a `data` object containing `type`+`id` and located at `data.relationships.tag-group.data`.
30
+
- Specifying a relationship between two Klaviyo objects to allow for improved consistency and greater interoperability across endpoints
31
+
- example: for [create_event](./README.md#create-event), you can now create/update a profile for an event in the same way you would when using the profiles API directly
32
+
- NOTE: The examples for the above relationship changes are illustrative, not comprehensive. For a complete list of ALL the endpoints that have changed and exactly how, please refer to our latest [API Changelog](https://developers.klaviyo.com/en/docs/changelog_#revision-2023-07-15)
33
+
- For [get_campaigns](./README.md#get-campaigns) endpoint, `filter` param is now required, to, at minimum, filter on `messages.channel`
34
+
35
+
36
+
### Removed
37
+
- We removed the `company_id` from the response for [get_template](./README.md#get-template) and [get_templates](./README.md#get-templates). If you need to obtain the company ID / public API key for an account, please use the [Accounts API](./README.md#accounts).
38
+
39
+
10
40
## [3.0.0] - revision 2023-06-15
11
41
### Added
12
42
- Accounts API is now available, this will allow you to access information about the Klaviyo account associated with your API key.
@@ -69,4 +99,4 @@ NOTE: For more granular API-specific changes, please see our [API Changelog](htt
69
99
- client name: `Client` → `KlaviyoAPI`
70
100
- Client variable name in readme examples: `client` → `klaviyo`
71
101
- Some functions have changed name
72
-
- New resources and endpoints: see [API Changelog](https://developers.klaviyo.com/en/docs/changelog_) for full details
102
+
- New resources and endpoints: see [API Changelog](https://developers.klaviyo.com/en/docs/changelog_) for full details
0 commit comments