Skip to content

Commit 6eb4398

Browse files
authored
Upgrade klaviyo api version to '2025-10-15'. (#55)
1 parent 8cb6292 commit 6eb4398

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ storefront-reference-architecture
99
.prettierrc
1010
.env
1111
.python-version
12+
.cursor/
1213

1314
# Playwright
1415
/test-results/

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ bumped for multiple releases during one month.
1010
<!-- BEGIN RELEASE NOTES -->
1111
### [Unreleased]
1212

13+
### [25.11.0] - 2025-11-04
14+
15+
#### Changed
16+
- Updates to Klaviyo API revision 2025-10-15. See https://developers.klaviyo.com/en/docs/changelog_
17+
1318
### [25.8.0] - 25-08-18
1419

1520
#### Fixed
@@ -114,7 +119,8 @@ bumped for multiple releases during one month.
114119
<!-- END RELEASE NOTES -->
115120

116121
<!-- BEGIN LINKS -->
117-
[Unreleased]: https://github.com/klaviyo/SFCC_Klaviyo/compare/25.8.0...HEAD
122+
[Unreleased]: https://github.com/klaviyo/SFCC_Klaviyo/compare/25.11.0...HEAD
123+
[25.11.0]: https://github.com/klaviyo/SFCC_Klaviyo/compare/25.8.0...25.11.0
118124
[25.8.0]: https://github.com/klaviyo/SFCC_Klaviyo/compare/25.7.0...25.8.0
119125
[25.7.0]: https://github.com/klaviyo/SFCC_Klaviyo/compare/25.4.0...25.7.0
120126
[25.4.0]: https://github.com/klaviyo/SFCC_Klaviyo/compare/24.9.0...25.4.0

cartridges/int_klaviyo_core/cartridge/scripts/klaviyo/services.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ var Site = require('dw/system/Site');
1010
* @returns {string} API version in YYYY-MM-DD format
1111
*/
1212
function getApiVersion() {
13-
return '2025-07-15';
13+
return '2025-10-15';
1414
}
1515

1616
/**
1717
* Returns the User-Agent string used in the X-Klaviyo-User-Agent header
1818
* @returns {string} User-Agent string
1919
*/
2020
function getUserAgent() {
21-
return 'sfcc-klaviyo/25.8.0';
21+
return 'sfcc-klaviyo/25.11.0';
2222
}
2323

2424
// HTTP Services

test/src/utils/klaviyo-api.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class KlaviyoAPI {
2020
return {
2121
'Authorization': `Klaviyo-API-Key ${this.privateKey}`,
2222
'Content-Type': 'application/json',
23-
'revision': '2025-01-15'
23+
'revision': '2025-10-15'
2424
}
2525
}
2626

@@ -133,4 +133,4 @@ class KlaviyoAPI {
133133
}
134134
}
135135

136-
module.exports = KlaviyoAPI;
136+
module.exports = KlaviyoAPI;

0 commit comments

Comments
 (0)