Skip to content

Commit 155aefd

Browse files
author
klaviyo-sdk
committed
version 8.1.0
1 parent f4b4739 commit 155aefd

543 files changed

Lines changed: 58478 additions & 2181 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
NOTE: For more granular API-specific changes, please see our [API Changelog](https://developers.klaviyo.com/en/docs/changelog_)
99

10-
## [8.0.0] - revision 2024-05-15
10+
## [8.1.0] - revision 2024-06-15
1111

1212
### Added
13+
- Segments Api
14+
- New create segment endpoint `$klaviyo->Segments->createSegment()`.
15+
- New delete segment endpoint `$klaviyo->Segments->deleteSegment()`.
16+
- Updated exisiting segments endpoints to include the segment definition
17+
- For more information, see our [Segments API overview](https://developers.klaviyo.com/en/reference/segments_api_overview).
1318

14-
- Bulk Create Events API
15-
- We have added support for creating events in bulk via the `$klaviyo->Events->bulkCreateEvents` method
16-
- Create multiple events for new and existing profiles and/or update profile properties in a single API call. For more information, see our [Events API overview](https://developers.klaviyo.com/en/reference/events_api_overview).
19+
- Flows Api
20+
- New delete flows endpoint `$klaviyo->Flows->deleteFlow()`
1721

18-
### Changed
19-
20-
- Accounts Api
21-
- `$klaviyo->Accounts->getAccounts` and `$klaviyo->Accounts->getAccount` have been updated to return the account's locale, e.g. `en-US`.
22-
23-
- **Breaking** Subscribe API Synchronous Validation Improved
24-
- To provide better feedback for handling SMS subscriptions, we’ve added improved validation behavior to `$klaviyo->Profiles->subscribeProfiles` method. In prior revisions, such requests may appear as 202s but will fail to update SMS consent. To handle this issue, 400 validation errors are returned for the following cases
25-
1. If a profile is subscribed to SMS marketing and [age-gating is enabled](https://help.klaviyo.com/hc/en-us/articles/4408311712667) but age_gated_date_of_birth is not provided, or the DOB does not meet the region's requirements.
26-
2. If the account does not have a sending number in the phone number’s region.
27-
3. If the phone number is in a region not supported by Klaviyo.
28-
4. If consented_at is set and the list or global setting is double opt-in.
2922

3023
## [7.1.2] - revision 2024-02-15
3124

@@ -269,4 +262,4 @@ For EmailMarketing:
269262
- client name: `Client``KlaviyoAPI`
270263
- Client variable name in readme examples: `$client``$klaviyo`
271264
- Some functions have changed name
272-
- Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work
265+
- Parameter ordering: The order of params has changed; you will need to update these for your existing implementation to work

0 commit comments

Comments
 (0)