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
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,25 @@ 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
+
## [8.0.0] - revision 2024-05-15
10
11
12
+
### Added
13
+
14
+
- Bulk Create Events API with
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).
17
+
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.
* @param string $id The ID of the account (required)
125
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
125
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
126
126
*
127
127
* @throws \KlaviyoAPI\ApiException on non-2xx response
128
128
* @throws \InvalidArgumentException
@@ -140,7 +140,7 @@ public function getAccount($id, $fields_account = null, $apiKey = null)
140
140
* Get Account
141
141
*
142
142
* @param string $id The ID of the account (required)
143
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
143
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
144
144
*
145
145
* @throws \KlaviyoAPI\ApiException on non-2xx response
146
146
* @throws \InvalidArgumentException
@@ -309,7 +309,7 @@ public function getAccountWithHttpInfo($id, $fields_account = null, $apiKey = nu
309
309
* Get Account
310
310
*
311
311
* @param string $id The ID of the account (required)
312
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
312
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
313
313
*
314
314
* @throws \InvalidArgumentException
315
315
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -330,7 +330,7 @@ function ($response) {
330
330
* Get Account
331
331
*
332
332
* @param string $id The ID of the account (required)
333
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
333
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
334
334
*
335
335
* @throws \InvalidArgumentException
336
336
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -385,7 +385,7 @@ function ($exception) {
385
385
* Create request for operation 'getAccount'
386
386
*
387
387
* @param string $id The ID of the account (required)
388
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
388
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
389
389
*
390
390
* @throws \InvalidArgumentException
391
391
* @return \GuzzleHttp\Psr7\Request
@@ -478,7 +478,7 @@ public function getAccountRequest($id, $fields_account = null, $apiKey = null)
@@ -500,7 +500,7 @@ public function getAccountRequest($id, $fields_account = null, $apiKey = null)
500
500
*
501
501
* Get Accounts
502
502
*
503
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
503
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
504
504
*
505
505
* @throws \KlaviyoAPI\ApiException on non-2xx response
506
506
* @throws \InvalidArgumentException
@@ -517,7 +517,7 @@ public function getAccounts($fields_account = null, $apiKey = null)
517
517
*
518
518
* Get Accounts
519
519
*
520
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
520
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
521
521
*
522
522
* @throws \KlaviyoAPI\ApiException on non-2xx response
523
523
* @throws \InvalidArgumentException
@@ -685,7 +685,7 @@ public function getAccountsWithHttpInfo($fields_account = null, $apiKey = null)
685
685
*
686
686
* Get Accounts
687
687
*
688
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
688
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
689
689
*
690
690
* @throws \InvalidArgumentException
691
691
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -705,7 +705,7 @@ function ($response) {
705
705
*
706
706
* Get Accounts
707
707
*
708
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
708
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
709
709
*
710
710
* @throws \InvalidArgumentException
711
711
* @return \GuzzleHttp\Promise\PromiseInterface
@@ -759,7 +759,7 @@ function ($exception) {
759
759
/**
760
760
* Create request for operation 'getAccounts'
761
761
*
762
-
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-02-15/reference/api-overview#sparse-fieldsets (optional)
762
+
* @param string[] $fields_account For more information please visit https://developers.klaviyo.com/en/v2024-05-15/reference/api-overview#sparse-fieldsets (optional)
763
763
*
764
764
* @throws \InvalidArgumentException
765
765
* @return \GuzzleHttp\Psr7\Request
@@ -838,7 +838,7 @@ public function getAccountsRequest($fields_account = null, $apiKey = null)
0 commit comments