Skip to content

Commit cb2dab0

Browse files
klaviyo-sdkklaviyo-sdk
andauthored
version 17.0.0 (#83)
Co-authored-by: klaviyo-sdk <[email protected]>
1 parent 398ec25 commit cb2dab0

316 files changed

Lines changed: 109743 additions & 3307 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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ 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+
## [17.0.0] - revision 2025-10-15
11+
### Added
12+
#### Flow Actions API
13+
- Get flow actions, flow messages, flow action IDs, and more with the [Flow Actions API](https://developers.klaviyo.com/en/reference/get_flow_action).
14+
- Update flow actions within a flow, including associated message content, with the [Update Flow Action](https://developers.klaviyo.com/en/reference/update_flow_action) endpoint.
15+
16+
### Updated
17+
#### Forms API
18+
- Retrieve a form and its definition with the [Forms API](https://developers.klaviyo.com/en/reference/forms_api_overview).
19+
- Use the [Create Form](https://developers.klaviyo.com/en/reference/create_form) endpoint to generate a new form by providing the status, A/B test preference, and name of the form.
20+
1021
## [16.0.0] - revision 2025-07-15
1122
### Changed
1223
- Various changes to improve support for PHP 8

README.md

Lines changed: 324 additions & 299 deletions
Large diffs are not rendered by default.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klaviyo/api",
3-
"version": "16.0.0",
3+
"version": "17.0.0",
44
"description": "PHP SDK for Klaviyo's API.",
55
"keywords": [
66
"openapitools",

lib/API/AccountsApi.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getConfig()
134134
* Get Account
135135
*
136136
* @param string $id The ID of the account (required)
137-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
137+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
138138
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccount'] to see the possible values for this operation
139139
*
140140
* @throws \KlaviyoAPI\ApiException on non-2xx response or if the response body is not in the expected format
@@ -153,7 +153,7 @@ public function getAccount($id, $fields_account = null, $apiKey = null, string $
153153
* Get Account
154154
*
155155
* @param string $id The ID of the account (required)
156-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
156+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
157157
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccount'] to see the possible values for this operation
158158
*
159159
* @throws \KlaviyoAPI\ApiException on non-2xx response or if the response body is not in the expected format
@@ -267,7 +267,7 @@ public function getAccountWithHttpInfo($id, $fields_account = null, $apiKey = nu
267267
* Get Account
268268
*
269269
* @param string $id The ID of the account (required)
270-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
270+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
271271
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccount'] to see the possible values for this operation
272272
*
273273
* @throws \InvalidArgumentException
@@ -289,7 +289,7 @@ function ($response) {
289289
* Get Account
290290
*
291291
* @param string $id The ID of the account (required)
292-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
292+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
293293
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccount'] to see the possible values for this operation
294294
*
295295
* @throws \InvalidArgumentException
@@ -345,7 +345,7 @@ function ($exception) {
345345
* Create request for operation 'getAccount'
346346
*
347347
* @param string $id The ID of the account (required)
348-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
348+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
349349
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccount'] to see the possible values for this operation
350350
*
351351
* @throws \InvalidArgumentException
@@ -437,7 +437,7 @@ public function getAccountRequest($id, $fields_account = null, $apiKey = null, s
437437
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
438438
}
439439

440-
$defaultHeaders['revision'] = ['2025-07-15'];
440+
$defaultHeaders['revision'] = ['2025-10-15'];
441441

442442
$headers = array_merge(
443443
$defaultHeaders,
@@ -459,7 +459,7 @@ public function getAccountRequest($id, $fields_account = null, $apiKey = null, s
459459
*
460460
* Get Accounts
461461
*
462-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
462+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
463463
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccounts'] to see the possible values for this operation
464464
*
465465
* @throws \KlaviyoAPI\ApiException on non-2xx response or if the response body is not in the expected format
@@ -477,7 +477,7 @@ public function getAccounts($fields_account = null, $apiKey = null, string $cont
477477
*
478478
* Get Accounts
479479
*
480-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
480+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
481481
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccounts'] to see the possible values for this operation
482482
*
483483
* @throws \KlaviyoAPI\ApiException on non-2xx response or if the response body is not in the expected format
@@ -590,7 +590,7 @@ public function getAccountsWithHttpInfo($fields_account = null, $apiKey = null,
590590
*
591591
* Get Accounts
592592
*
593-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
593+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
594594
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccounts'] to see the possible values for this operation
595595
*
596596
* @throws \InvalidArgumentException
@@ -611,7 +611,7 @@ function ($response) {
611611
*
612612
* Get Accounts
613613
*
614-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
614+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
615615
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccounts'] to see the possible values for this operation
616616
*
617617
* @throws \InvalidArgumentException
@@ -666,7 +666,7 @@ function ($exception) {
666666
/**
667667
* Create request for operation 'getAccounts'
668668
*
669-
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-07-15/reference/api-overview#sparse-fieldsets (optional)
669+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2025-10-15/reference/api-overview#sparse-fieldsets (optional)
670670
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['getAccounts'] to see the possible values for this operation
671671
*
672672
* @throws \InvalidArgumentException
@@ -743,7 +743,7 @@ public function getAccountsRequest($fields_account = null, $apiKey = null, strin
743743
$defaultHeaders['User-Agent'] = $this->config->getUserAgent();
744744
}
745745

746-
$defaultHeaders['revision'] = ['2025-07-15'];
746+
$defaultHeaders['revision'] = ['2025-10-15'];
747747

748748
$headers = array_merge(
749749
$defaultHeaders,

0 commit comments

Comments
 (0)