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
* The SDK retries on resolvable errors, namely: rate limits (common) and server errors on klaviyo (rare).
82
+
* The first ConfigWrapper created is the default, if you want to use more than one api key see [multi-store instructions below](https://github.com/klaviyo/klaviyo-api-node#multiple-stores)
Copy file name to clipboardExpand all lines: dist/api/CampaignsApi.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ function CampaignsApi(apiClient) {
142
142
};
143
143
}());
144
144
/**
145
-
* Create Campaign Message Assign Template
145
+
* Assign Campaign Message Template
146
146
* Creates a non-reusable version of the template and assigns it to the message.<br><br>*Rate limits*:<br>Burst: `10/s`<br>Steady: `150/m` **Scopes:** `Campaigns Write`
147
147
* @param {<&vendorExtensions.x-jsdoc-type>} body Takes a reusable template, clones it, and assigns the non-reusable clone to the message.
148
148
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
Copy file name to clipboardExpand all lines: dist/api/CatalogsApi.js
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -340,7 +340,7 @@ function CatalogsApi(apiClient) {
340
340
/**
341
341
* Delete Catalog Category
342
342
* Delete a catalog category using the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
343
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
343
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
344
344
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -467,7 +467,7 @@ function CatalogsApi(apiClient) {
467
467
/**
468
468
* Delete Catalog Item
469
469
* Delete a catalog item with the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
470
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
470
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
471
471
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -594,7 +594,7 @@ function CatalogsApi(apiClient) {
594
594
/**
595
595
* Delete Catalog Variant
596
596
* Delete a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
597
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
597
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
598
598
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -708,7 +708,7 @@ function CatalogsApi(apiClient) {
708
708
/**
709
709
* Get Catalog Category
710
710
* Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
711
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
711
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
712
712
* @param {Object} opts Optional parameters
713
713
* @param {Array.<module:model/String>} opts.fieldsCatalogCategory For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
714
714
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -769,7 +769,7 @@ function CatalogsApi(apiClient) {
769
769
/**
770
770
* Get Catalog Category Items
771
771
* Get all items in a category with the given category ID. Items can be sorted by the following fields, in ascending and descending order: `created` Include parameters can be provided to get the following related resource data: `variants` Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
772
-
* @param {<&vendorExtensions.x-jsdoc-type>} categoryId The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
772
+
* @param {<&vendorExtensions.x-jsdoc-type>} categoryId The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
773
773
* @param {Object} opts Optional parameters
774
774
* @param {Array.<module:model/String>} opts.fieldsCatalogItem For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
775
775
* @param {Array.<module:model/String>} opts.fieldsCatalogVariant For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
@@ -909,7 +909,7 @@ function CatalogsApi(apiClient) {
909
909
/**
910
910
* Get Catalog Item
911
911
* Get a specific catalog item with the given item ID. Include parameters can be provided to get the following related resource data: `variants`<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
912
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
912
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
913
913
* @param {Object} opts Optional parameters
914
914
* @param {Array.<module:model/String>} opts.fieldsCatalogItem For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
915
915
* @param {Array.<module:model/String>} opts.fieldsCatalogVariant For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
@@ -974,7 +974,7 @@ function CatalogsApi(apiClient) {
974
974
/**
975
975
* Get Catalog Item Categories
976
976
* Get all catalog categories that an item with the given item ID is in. Catalog categories can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
977
-
* @param {<&vendorExtensions.x-jsdoc-type>} itemId The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
977
+
* @param {<&vendorExtensions.x-jsdoc-type>} itemId The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
978
978
* @param {Object} opts Optional parameters
979
979
* @param {Array.<module:model/String>} opts.fieldsCatalogCategory For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
980
980
* @param {String} opts.filter For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item`: `equals`<br>`name`: `contains`
@@ -1110,7 +1110,7 @@ function CatalogsApi(apiClient) {
1110
1110
/**
1111
1111
* Get Catalog Item Variants
1112
1112
* Get all variants related to the given item ID. Variants can be sorted by the following fields, in ascending and descending order: `created` Returns a maximum of 100 variants per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
1113
-
* @param {<&vendorExtensions.x-jsdoc-type>} itemId The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1113
+
* @param {<&vendorExtensions.x-jsdoc-type>} itemId The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1114
1114
* @param {Object} opts Optional parameters
1115
1115
* @param {Array.<module:model/String>} opts.fieldsCatalogVariant For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1116
1116
* @param {String} opts.filter For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
@@ -1239,7 +1239,7 @@ function CatalogsApi(apiClient) {
1239
1239
/**
1240
1240
* Get Catalog Variant
1241
1241
* Get a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `Catalogs Read`
1242
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1242
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
1243
1243
* @param {Object} opts Optional parameters
1244
1244
* @param {Array.<module:model/String>} opts.fieldsCatalogVariant For more information please visit https://developers.klaviyo.com/en/v2023-02-22/reference/api-overview#sparse-fieldsets
1245
1245
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -2922,7 +2922,7 @@ function CatalogsApi(apiClient) {
2922
2922
* Update Catalog Category
2923
2923
* Update a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
2924
2924
* @param {<&vendorExtensions.x-jsdoc-type>} body
2925
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
2925
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog category ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
2926
2926
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -3056,7 +3056,7 @@ function CatalogsApi(apiClient) {
3056
3056
* Update Catalog Item
3057
3057
* Update a catalog item with the given item ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
3058
3058
* @param {<&vendorExtensions.x-jsdoc-type>} body
3059
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3059
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog item ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3060
3060
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -3190,7 +3190,7 @@ function CatalogsApi(apiClient) {
3190
3190
* Update Catalog Variant
3191
3191
* Update a catalog item variant with the given variant ID.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `Catalogs Write`
3192
3192
* @param {<&vendorExtensions.x-jsdoc-type>} body
3193
-
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `${integration}:::${catalog}:::${external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3193
+
* @param {<&vendorExtensions.x-jsdoc-type>} id The catalog variant ID is a compound ID (string), with format: `{integration}:::{catalog}:::{external_id}`. Currently, the only supported integration type is `$custom`, and the only supported catalog is `$default`.
3194
3194
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
Copy file name to clipboardExpand all lines: dist/api/FlowsApi.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -814,7 +814,7 @@ function FlowsApi(apiClient) {
814
814
* Update Flow Status
815
815
* Update the status of a flow with the given flow ID, and all actions in that flow.<br><br>*Rate limits*:<br>Burst: `3/s`<br>Steady: `60/m` **Scopes:** `Flows Write`
816
816
* @param {<&vendorExtensions.x-jsdoc-type>} body
817
-
* @param {<&vendorExtensions.x-jsdoc-type>} id
817
+
* @param {<&vendorExtensions.x-jsdoc-type>} id ID of the Flow to update. Ex: XVTP5Q
818
818
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
0 commit comments