Skip to content

Commit 72c6d06

Browse files
klaviyo-sdkklaviyo-sdk
andauthored
version 18.0.0 (#85)
Co-authored-by: klaviyo-sdk <[email protected]>
1 parent cb2dab0 commit 72c6d06

76 files changed

Lines changed: 14994 additions & 3639 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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ 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+
## [18.0.0] - revision 2026-01-15
11+
### Added
12+
- Added a new [single data source record create endpoint](https://github.com/klaviyo/klaviyo-api-php?tab=readme-ov-file#create-data-source-record) for one-at-a-time ingestion workloads
13+
### Changed
14+
- **Breaking:** removed `anonymous_id` from profile payloads
15+
1016
## [17.0.0] - revision 2025-10-15
1117
### Added
1218
#### Flow Actions API

README.md

Lines changed: 315 additions & 298 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": "17.0.0",
3+
"version": "18.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-10-15/reference/api-overview#sparse-fieldsets (optional)
137+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
156+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
270+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
292+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
348+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15'];
440+
$defaultHeaders['revision'] = ['2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
462+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
480+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
593+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
614+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15/reference/api-overview#sparse-fieldsets (optional)
669+
* @param string[]|null $fields_account For more information please visit https://developers.klaviyo.com/en/v2026-01-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-10-15'];
746+
$defaultHeaders['revision'] = ['2026-01-15'];
747747

748748
$headers = array_merge(
749749
$defaultHeaders,

0 commit comments

Comments
 (0)