klaviyo-api-sdk 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -0
- data/README.md +205 -175
- data/Rakefile +10 -0
- data/docs/AccountsApi.md +157 -0
- data/docs/AudiencesSubObject.md +20 -0
- data/docs/BackInStockSubscriptionEnum.md +15 -0
- data/docs/CampaignCloneQuery.md +18 -0
- data/docs/CampaignCloneQueryResourceObject.md +20 -0
- data/docs/CampaignCloneQueryResourceObjectAttributes.md +20 -0
- data/docs/CampaignCreateQuery.md +18 -0
- data/docs/CampaignCreateQueryResourceObject.md +20 -0
- data/docs/CampaignCreateQueryResourceObjectAttributes.md +28 -0
- data/docs/CampaignCreateQueryResourceObjectAttributesCampaignMessages.md +18 -0
- data/docs/CampaignCreateQueryResourceObjectAttributesSendOptions.md +49 -0
- data/docs/CampaignCreateQueryResourceObjectAttributesTrackingOptions.md +49 -0
- data/docs/CampaignEnum.md +15 -0
- data/docs/CampaignMessageAssignTemplateQuery.md +18 -0
- data/docs/CampaignMessageAssignTemplateQueryResourceObject.md +22 -0
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectAttributes.md +18 -0
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationships.md +18 -0
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationshipsTemplate.md +18 -0
- data/docs/CampaignMessageAssignTemplateQueryResourceObjectRelationshipsTemplateData.md +20 -0
- data/docs/CampaignMessageCreateQueryResourceObject.md +20 -0
- data/docs/CampaignMessageCreateQueryResourceObjectAttributes.md +24 -0
- data/docs/CampaignMessageCreateQueryResourceObjectAttributesContent.md +49 -0
- data/docs/CampaignMessageEnum.md +15 -0
- data/docs/CampaignMessagePartialUpdateQuery.md +18 -0
- data/docs/CampaignMessagePartialUpdateQueryResourceObject.md +22 -0
- data/docs/CampaignMessagePartialUpdateQueryResourceObjectAttributes.md +22 -0
- data/docs/CampaignPartialUpdateQuery.md +18 -0
- data/docs/CampaignPartialUpdateQueryResourceObject.md +22 -0
- data/docs/CampaignPartialUpdateQueryResourceObjectAttributes.md +26 -0
- data/docs/CampaignRecipientEstimationJobCreateQuery.md +18 -0
- data/docs/CampaignRecipientEstimationJobCreateQueryResourceObject.md +20 -0
- data/docs/CampaignRecipientEstimationJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CampaignRecipientEstimationJobEnum.md +15 -0
- data/docs/CampaignSendJobCreateQuery.md +18 -0
- data/docs/CampaignSendJobCreateQueryResourceObject.md +20 -0
- data/docs/CampaignSendJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CampaignSendJobEnum.md +15 -0
- data/docs/CampaignSendJobPartialUpdateQuery.md +18 -0
- data/docs/CampaignSendJobPartialUpdateQueryResourceObject.md +22 -0
- data/docs/CampaignSendJobPartialUpdateQueryResourceObjectAttributes.md +18 -0
- data/docs/CampaignsApi.md +1735 -0
- data/docs/CatalogCategoryBulkCreateJobEnum.md +15 -0
- data/docs/CatalogCategoryBulkDeleteJobEnum.md +15 -0
- data/docs/CatalogCategoryBulkUpdateJobEnum.md +15 -0
- data/docs/CatalogCategoryCreateJobCreateQuery.md +18 -0
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogCategoryCreateJobCreateQueryResourceObjectAttributesCategories.md +18 -0
- data/docs/CatalogCategoryCreateQuery.md +18 -0
- data/docs/CatalogCategoryCreateQueryResourceObject.md +22 -0
- data/docs/CatalogCategoryCreateQueryResourceObjectAttributes.md +24 -0
- data/docs/CatalogCategoryCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/CatalogCategoryCreateQueryResourceObjectRelationshipsItems.md +18 -0
- data/docs/CatalogCategoryDeleteJobCreateQuery.md +18 -0
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogCategoryDeleteJobCreateQueryResourceObjectAttributesCategories.md +18 -0
- data/docs/CatalogCategoryDeleteQueryResourceObject.md +20 -0
- data/docs/CatalogCategoryEnum.md +15 -0
- data/docs/CatalogCategoryItemOp.md +18 -0
- data/docs/CatalogCategoryUpdateJobCreateQuery.md +18 -0
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogCategoryUpdateJobCreateQueryResourceObjectAttributesCategories.md +18 -0
- data/docs/CatalogCategoryUpdateQuery.md +18 -0
- data/docs/CatalogCategoryUpdateQueryResourceObject.md +24 -0
- data/docs/CatalogCategoryUpdateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogItemBulkCreateJobEnum.md +15 -0
- data/docs/CatalogItemBulkDeleteJobEnum.md +15 -0
- data/docs/CatalogItemBulkUpdateJobEnum.md +15 -0
- data/docs/CatalogItemCategoryOp.md +18 -0
- data/docs/CatalogItemCreateJobCreateQuery.md +18 -0
- data/docs/CatalogItemCreateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogItemCreateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogItemCreateJobCreateQueryResourceObjectAttributesItems.md +18 -0
- data/docs/CatalogItemCreateQuery.md +18 -0
- data/docs/CatalogItemCreateQueryResourceObject.md +22 -0
- data/docs/CatalogItemCreateQueryResourceObjectAttributes.md +40 -0
- data/docs/CatalogItemCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategories.md +18 -0
- data/docs/CatalogItemCreateQueryResourceObjectRelationshipsCategoriesDataInner.md +20 -0
- data/docs/CatalogItemDeleteJobCreateQuery.md +18 -0
- data/docs/CatalogItemDeleteJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogItemDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogItemDeleteJobCreateQueryResourceObjectAttributesItems.md +18 -0
- data/docs/CatalogItemDeleteQueryResourceObject.md +20 -0
- data/docs/CatalogItemEnum.md +15 -0
- data/docs/CatalogItemUpdateJobCreateQuery.md +18 -0
- data/docs/CatalogItemUpdateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogItemUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogItemUpdateJobCreateQueryResourceObjectAttributesItems.md +18 -0
- data/docs/CatalogItemUpdateQuery.md +18 -0
- data/docs/CatalogItemUpdateQueryResourceObject.md +24 -0
- data/docs/CatalogItemUpdateQueryResourceObjectAttributes.md +34 -0
- data/docs/CatalogVariantBulkCreateJobEnum.md +15 -0
- data/docs/CatalogVariantBulkDeleteJobEnum.md +15 -0
- data/docs/CatalogVariantBulkUpdateJobEnum.md +15 -0
- data/docs/CatalogVariantCreateJobCreateQuery.md +18 -0
- data/docs/CatalogVariantCreateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogVariantCreateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogVariantCreateJobCreateQueryResourceObjectAttributesVariants.md +18 -0
- data/docs/CatalogVariantCreateQuery.md +18 -0
- data/docs/CatalogVariantCreateQueryResourceObject.md +22 -0
- data/docs/CatalogVariantCreateQueryResourceObjectAttributes.md +46 -0
- data/docs/CatalogVariantCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItem.md +18 -0
- data/docs/CatalogVariantCreateQueryResourceObjectRelationshipsItemData.md +20 -0
- data/docs/CatalogVariantDeleteJobCreateQuery.md +18 -0
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogVariantDeleteJobCreateQueryResourceObjectAttributesVariants.md +18 -0
- data/docs/CatalogVariantDeleteQueryResourceObject.md +20 -0
- data/docs/CatalogVariantEnum.md +15 -0
- data/docs/CatalogVariantUpdateJobCreateQuery.md +18 -0
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObject.md +20 -0
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/CatalogVariantUpdateJobCreateQueryResourceObjectAttributesVariants.md +18 -0
- data/docs/CatalogVariantUpdateQuery.md +18 -0
- data/docs/CatalogVariantUpdateQueryResourceObject.md +22 -0
- data/docs/CatalogVariantUpdateQueryResourceObjectAttributes.md +40 -0
- data/docs/CatalogsApi.md +4103 -0
- data/docs/DataPrivacyApi.md +78 -0
- data/docs/DataPrivacyCreateDeletionJobQuery.md +18 -0
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObject.md +20 -0
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObjectAttributes.md +18 -0
- data/docs/DataPrivacyCreateDeletionJobQueryResourceObjectAttributesProfile.md +18 -0
- data/docs/DataPrivacyDeletionJobEnum.md +15 -0
- data/docs/DataPrivacyProfileQueryResourceObject.md +22 -0
- data/docs/DataPrivacyProfileQueryResourceObjectAttributes.md +20 -0
- data/docs/DeviceMetadata.md +40 -0
- data/docs/EmailContentSubObject.md +30 -0
- data/docs/EmailSendOptionsSubObject.md +18 -0
- data/docs/EmailTrackingOptionsSubObject.md +24 -0
- data/docs/EventCreateQueryV2.md +18 -0
- data/docs/EventCreateQueryV2ResourceObject.md +20 -0
- data/docs/EventCreateQueryV2ResourceObjectAttributes.md +28 -0
- data/docs/EventCreateQueryV2ResourceObjectAttributesMetric.md +18 -0
- data/docs/EventCreateQueryV2ResourceObjectAttributesProfile.md +18 -0
- data/docs/EventEnum.md +15 -0
- data/docs/EventsApi.md +544 -0
- data/docs/FlowEnum.md +15 -0
- data/docs/FlowUpdateQuery.md +18 -0
- data/docs/FlowUpdateQueryResourceObject.md +22 -0
- data/docs/FlowUpdateQueryResourceObjectAttributes.md +18 -0
- data/docs/FlowsApi.md +1335 -0
- data/docs/GetAccounts4XXResponse.md +18 -0
- data/docs/GetAccounts4XXResponseErrorsInner.md +26 -0
- data/docs/GetAccounts4XXResponseErrorsInnerSource.md +20 -0
- data/docs/ListCreateQuery.md +18 -0
- data/docs/ListCreateQueryResourceObject.md +20 -0
- data/docs/ListCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/ListEnum.md +15 -0
- data/docs/ListMembersAddQuery.md +18 -0
- data/docs/ListMembersAddQueryDataInner.md +20 -0
- data/docs/ListMembersDeleteQuery.md +18 -0
- data/docs/ListPartialUpdateQuery.md +18 -0
- data/docs/ListPartialUpdateQueryResourceObject.md +22 -0
- data/docs/ListsApi.md +842 -0
- data/docs/MetricAggregateEnum.md +15 -0
- data/docs/MetricAggregateQuery.md +18 -0
- data/docs/MetricAggregateQueryResourceObject.md +20 -0
- data/docs/MetricAggregateQueryResourceObjectAttributes.md +36 -0
- data/docs/MetricCreateQueryResourceObject.md +20 -0
- data/docs/MetricCreateQueryResourceObjectAttributes.md +20 -0
- data/docs/MetricEnum.md +15 -0
- data/docs/MetricsApi.md +233 -0
- data/docs/OnsiteProfileCreateQueryResourceObject.md +24 -0
- data/docs/OnsiteProfileCreateQueryResourceObjectAttributes.md +38 -0
- data/docs/OnsiteProfileMeta.md +18 -0
- data/docs/ProfileCreateQuery.md +18 -0
- data/docs/ProfileCreateQueryResourceObject.md +20 -0
- data/docs/ProfileCreateQueryResourceObjectAttributes.md +36 -0
- data/docs/ProfileEnum.md +15 -0
- data/docs/ProfileIdentifierDTOResourceObject.md +22 -0
- data/docs/ProfileIdentifierDTOResourceObjectAttributes.md +24 -0
- data/docs/ProfileLocation.md +34 -0
- data/docs/ProfileLocationLatitude.md +49 -0
- data/docs/ProfileLocationLongitude.md +49 -0
- data/docs/ProfileMeta.md +18 -0
- data/docs/ProfileMetaPatchProperties.md +22 -0
- data/docs/ProfileMetaPatchPropertiesUnset.md +49 -0
- data/docs/ProfilePartialUpdateQuery.md +18 -0
- data/docs/ProfilePartialUpdateQueryResourceObject.md +24 -0
- data/docs/ProfileSubscriptionBulkCreateJobEnum.md +15 -0
- data/docs/ProfileSubscriptionBulkDeleteJobEnum.md +15 -0
- data/docs/ProfileSubscriptionCreateQueryResourceObject.md +22 -0
- data/docs/ProfileSubscriptionCreateQueryResourceObjectAttributes.md +22 -0
- data/docs/ProfileSubscriptionDeleteQueryResourceObject.md +20 -0
- data/docs/ProfileSubscriptionDeleteQueryResourceObjectAttributes.md +20 -0
- data/docs/ProfileSuppressionBulkCreateJobEnum.md +15 -0
- data/docs/ProfileSuppressionBulkDeleteJobEnum.md +15 -0
- data/docs/ProfileSuppressionCreateQueryResourceObject.md +20 -0
- data/docs/ProfileSuppressionCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/ProfileSuppressionDeleteQueryResourceObject.md +20 -0
- data/docs/ProfileSuppressionDeleteQueryResourceObjectAttributes.md +18 -0
- data/docs/ProfileUpsertQueryResourceObject.md +22 -0
- data/docs/ProfileUpsertQueryResourceObjectAttributes.md +40 -0
- data/docs/ProfilesApi.md +972 -0
- data/docs/PushTokenCreateQuery.md +18 -0
- data/docs/PushTokenCreateQueryResourceObject.md +20 -0
- data/docs/PushTokenCreateQueryResourceObjectAttributes.md +30 -0
- data/docs/PushTokenCreateQueryResourceObjectAttributesProfile.md +18 -0
- data/docs/PushTokenEnum.md +15 -0
- data/docs/RenderOptionsSubObject.md +24 -0
- data/docs/SMSContentSubObjectCreate.md +18 -0
- data/docs/SMSSendOptionsSubObject.md +18 -0
- data/docs/SMSTrackingOptionsSubObject.md +20 -0
- data/docs/STOScheduleOptions.md +18 -0
- data/docs/SegmentEnum.md +15 -0
- data/docs/SegmentPartialUpdateQuery.md +18 -0
- data/docs/SegmentPartialUpdateQueryResourceObject.md +22 -0
- data/docs/SegmentPartialUpdateQueryResourceObjectAttributes.md +18 -0
- data/docs/SegmentsApi.md +553 -0
- data/docs/SendStrategySubObject.md +24 -0
- data/docs/ServerBISSubscriptionCreateQuery.md +18 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObject.md +22 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectAttributes.md +20 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectAttributesProfile.md +18 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationshipsVariant.md +18 -0
- data/docs/ServerBISSubscriptionCreateQueryResourceObjectRelationshipsVariantData.md +20 -0
- data/docs/StaticScheduleOptions.md +22 -0
- data/docs/SubscriptionChannels.md +20 -0
- data/docs/SubscriptionCreateJobCreateQuery.md +18 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObject.md +22 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectAttributes.md +20 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectAttributesProfiles.md +18 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationshipsList.md +18 -0
- data/docs/SubscriptionCreateJobCreateQueryResourceObjectRelationshipsListData.md +20 -0
- data/docs/SubscriptionDeleteJobCreateQuery.md +18 -0
- data/docs/SubscriptionDeleteJobCreateQueryResourceObject.md +22 -0
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/SubscriptionDeleteJobCreateQueryResourceObjectAttributesProfiles.md +18 -0
- data/docs/SuppressionCreateJobCreateQuery.md +18 -0
- data/docs/SuppressionCreateJobCreateQueryResourceObject.md +20 -0
- data/docs/SuppressionCreateJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/SuppressionCreateJobCreateQueryResourceObjectAttributesProfiles.md +18 -0
- data/docs/SuppressionDeleteJobCreateQuery.md +18 -0
- data/docs/SuppressionDeleteJobCreateQueryResourceObject.md +20 -0
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/SuppressionDeleteJobCreateQueryResourceObjectAttributesProfiles.md +18 -0
- data/docs/TagCampaignOp.md +18 -0
- data/docs/TagCampaignOpDataInner.md +20 -0
- data/docs/TagCreateQuery.md +18 -0
- data/docs/TagCreateQueryResourceObject.md +22 -0
- data/docs/TagCreateQueryResourceObjectAttributes.md +18 -0
- data/docs/TagCreateQueryResourceObjectRelationships.md +18 -0
- data/docs/TagCreateQueryResourceObjectRelationshipsTagGroup.md +18 -0
- data/docs/TagCreateQueryResourceObjectRelationshipsTagGroupData.md +20 -0
- data/docs/TagEnum.md +15 -0
- data/docs/TagFlowOp.md +18 -0
- data/docs/TagFlowOpDataInner.md +20 -0
- data/docs/TagGroupCreateQuery.md +18 -0
- data/docs/TagGroupCreateQueryResourceObject.md +20 -0
- data/docs/TagGroupCreateQueryResourceObjectAttributes.md +20 -0
- data/docs/TagGroupEnum.md +15 -0
- data/docs/TagGroupUpdateQuery.md +18 -0
- data/docs/TagGroupUpdateQueryResourceObject.md +22 -0
- data/docs/TagGroupUpdateQueryResourceObjectAttributes.md +20 -0
- data/docs/TagListOp.md +18 -0
- data/docs/TagListOpDataInner.md +20 -0
- data/docs/TagSegmentOp.md +18 -0
- data/docs/TagSegmentOpDataInner.md +20 -0
- data/docs/TagUpdateQuery.md +18 -0
- data/docs/TagUpdateQueryResourceObject.md +22 -0
- data/docs/TagsApi.md +1929 -0
- data/docs/TemplateCloneQuery.md +18 -0
- data/docs/TemplateCloneQueryResourceObject.md +20 -0
- data/docs/TemplateCloneQueryResourceObjectAttributes.md +20 -0
- data/docs/TemplateCreateQuery.md +18 -0
- data/docs/TemplateCreateQueryResourceObject.md +20 -0
- data/docs/TemplateCreateQueryResourceObjectAttributes.md +30 -0
- data/docs/TemplateEnum.md +15 -0
- data/docs/TemplateRenderQuery.md +18 -0
- data/docs/TemplateRenderQueryResourceObject.md +20 -0
- data/docs/TemplateRenderQueryResourceObjectAttributes.md +20 -0
- data/docs/TemplateUpdateQuery.md +18 -0
- data/docs/TemplateUpdateQueryResourceObject.md +22 -0
- data/docs/TemplateUpdateQueryResourceObjectAttributes.md +28 -0
- data/docs/TemplatesApi.md +524 -0
- data/docs/ThrottledScheduleOptions.md +20 -0
- data/docs/UTMParamsSubObject.md +20 -0
- data/git_push.sh +57 -0
- data/klaviyo-api-sdk.gemspec +2 -2
- data/lib/klaviyo-api-sdk/api/accounts_api.rb +9 -9
- data/lib/klaviyo-api-sdk/api/campaigns_api.rb +85 -85
- data/lib/klaviyo-api-sdk/api/catalogs_api.rb +309 -309
- data/lib/klaviyo-api-sdk/api/data_privacy_api.rb +4 -4
- data/lib/klaviyo-api-sdk/api/events_api.rb +40 -40
- data/lib/klaviyo-api-sdk/api/flows_api.rb +235 -91
- data/lib/klaviyo-api-sdk/api/lists_api.rb +48 -48
- data/lib/klaviyo-api-sdk/api/metrics_api.rb +14 -14
- data/lib/klaviyo-api-sdk/api/profiles_api.rb +119 -49
- data/lib/klaviyo-api-sdk/api/segments_api.rb +40 -40
- data/lib/klaviyo-api-sdk/api/tags_api.rb +89 -89
- data/lib/klaviyo-api-sdk/api/templates_api.rb +24 -24
- data/lib/klaviyo-api-sdk/api_client.rb +2 -2
- data/lib/klaviyo-api-sdk/api_error.rb +1 -1
- data/lib/klaviyo-api-sdk/configuration.rb +1 -1
- data/lib/klaviyo-api-sdk/models/audiences_sub_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/back_in_stock_subscription_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_clone_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_clone_query_resource_object_attributes.rb +15 -15
- data/lib/klaviyo-api-sdk/models/campaign_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes.rb +28 -28
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_campaign_messages.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_send_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_create_query_resource_object_attributes_tracking_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_assign_template_query_resource_object_relationships_template_data.rb +2 -36
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes.rb +23 -23
- data/lib/klaviyo-api-sdk/models/campaign_message_create_query_resource_object_attributes_content.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_message_partial_update_query_resource_object_attributes.rb +15 -15
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_partial_update_query_resource_object_attributes.rb +27 -27
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_recipient_estimation_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_send_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/campaign_send_job_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_category_create_query_resource_object_attributes.rb +17 -17
- data/lib/klaviyo-api-sdk/models/{catalog_category_update_query_resource_object_relationships.rb → catalog_category_create_query_resource_object_relationships.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/{catalog_category_update_query_resource_object_relationships_items.rb → catalog_category_create_query_resource_object_relationships_items.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_item_op.rb +2 -2
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_job_create_query_resource_object_attributes_categories.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object.rb +28 -28
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_category_op.rb +2 -2
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_attributes.rb +72 -72
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories.rb +2 -2
- data/lib/klaviyo-api-sdk/models/catalog_item_create_query_resource_object_relationships_categories_data_inner.rb +238 -0
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_job_create_query_resource_object_attributes_items.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object.rb +28 -28
- data/lib/klaviyo-api-sdk/models/catalog_item_update_query_resource_object_attributes.rb +43 -43
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_bulk_update_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_attributes.rb +116 -116
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item.rb +2 -2
- data/lib/klaviyo-api-sdk/models/catalog_variant_create_query_resource_object_relationships_item_data.rb +238 -0
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_delete_query_resource_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_job_create_query_resource_object_attributes_variants.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/catalog_variant_update_query_resource_object_attributes.rb +58 -58
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_deletion_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/data_privacy_profile_query_resource_object_attributes.rb +15 -15
- data/lib/klaviyo-api-sdk/models/{catalog_item_category_op_data_inner.rb → device_metadata.rb} +151 -35
- data/lib/klaviyo-api-sdk/models/email_content_sub_object.rb +39 -9
- data/lib/klaviyo-api-sdk/models/email_send_options_sub_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/email_tracking_options_sub_object.rb +22 -22
- data/lib/klaviyo-api-sdk/models/event_create_query_v2.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes.rb +41 -41
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_metric.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_create_query_v2_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/event_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/flow_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{get_create_variants_jobs5_xx_response.rb → get_accounts4_xx_response.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/{get_create_variants_jobs5_xx_response_errors_inner.rb → get_accounts4_xx_response_errors_inner.rb} +40 -40
- data/lib/klaviyo-api-sdk/models/{get_create_variants_jobs5_xx_response_errors_inner_source.rb → get_accounts4_xx_response_errors_inner_source.rb} +17 -17
- data/lib/klaviyo-api-sdk/models/list_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/list_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_members_add_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_members_add_query_data_inner.rb +2 -36
- data/lib/klaviyo-api-sdk/models/list_members_delete_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/list_partial_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/metric_aggregate_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/metric_aggregate_query_resource_object_attributes.rb +63 -63
- data/lib/klaviyo-api-sdk/models/metric_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/metric_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/metric_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object.rb +28 -28
- data/lib/klaviyo-api-sdk/models/onsite_profile_create_query_resource_object_attributes.rb +45 -55
- data/lib/klaviyo-api-sdk/models/onsite_profile_meta.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_create_query_resource_object_attributes.rb +39 -39
- data/lib/klaviyo-api-sdk/models/profile_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_identifier_dto_resource_object_attributes.rb +12 -12
- data/lib/klaviyo-api-sdk/models/profile_location.rb +38 -38
- data/lib/klaviyo-api-sdk/models/profile_location_latitude.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_location_longitude.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_meta.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_meta_patch_properties.rb +15 -15
- data/lib/klaviyo-api-sdk/models/profile_meta_patch_properties_unset.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_partial_update_query_resource_object.rb +28 -28
- data/lib/klaviyo-api-sdk/models/profile_subscription_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_subscription_create_query_resource_object_attributes.rb +12 -12
- data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_subscription_delete_query_resource_object_attributes.rb +15 -15
- data/lib/klaviyo-api-sdk/models/profile_suppression_bulk_create_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_bulk_delete_job_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_suppression_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/profile_suppression_delete_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/profile_upsert_query_resource_object.rb +248 -0
- data/lib/klaviyo-api-sdk/models/{profile_partial_update_query_resource_object_attributes.rb → profile_upsert_query_resource_object_attributes.rb} +55 -45
- data/lib/klaviyo-api-sdk/models/push_token_create_query.rb +224 -0
- data/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object.rb +238 -0
- data/lib/klaviyo-api-sdk/models/{subscription_delete_job_create_query_resource_object_relationships_list_data.rb → push_token_create_query_resource_object_attributes.rb} +131 -31
- data/lib/klaviyo-api-sdk/models/push_token_create_query_resource_object_attributes_profile.rb +225 -0
- data/lib/klaviyo-api-sdk/models/push_token_enum.rb +36 -0
- data/lib/klaviyo-api-sdk/models/render_options_sub_object.rb +16 -25
- data/lib/klaviyo-api-sdk/models/segment_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/segment_partial_update_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/send_strategy_sub_object.rb +17 -17
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_attributes_profile.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant.rb +1 -1
- data/lib/klaviyo-api-sdk/models/server_bis_subscription_create_query_resource_object_relationships_variant_data.rb +2 -36
- data/lib/klaviyo-api-sdk/models/sms_content_sub_object_create.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_send_options_sub_object.rb +1 -1
- data/lib/klaviyo-api-sdk/models/sms_tracking_options_sub_object.rb +15 -15
- data/lib/klaviyo-api-sdk/models/static_schedule_options.rb +15 -15
- data/lib/klaviyo-api-sdk/models/sto_schedule_options.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_channels.rb +17 -17
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes.rb +14 -14
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/{subscription_delete_job_create_query_resource_object_relationships.rb → subscription_create_job_create_query_resource_object_relationships.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/{subscription_delete_job_create_query_resource_object_relationships_list.rb → subscription_create_job_create_query_resource_object_relationships_list.rb} +5 -5
- data/lib/klaviyo-api-sdk/models/subscription_create_job_create_query_resource_object_relationships_list_data.rb +238 -0
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/subscription_delete_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_create_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/suppression_delete_job_create_query_resource_object_attributes_profiles.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_campaign_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_campaign_op_data_inner.rb +2 -36
- data/lib/klaviyo-api-sdk/models/tag_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object.rb +20 -20
- data/lib/klaviyo-api-sdk/models/{tag_update_query_resource_object_attributes.rb → tag_create_query_resource_object_attributes.rb} +4 -4
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_create_query_resource_object_relationships_tag_group_data.rb +2 -36
- data/lib/klaviyo-api-sdk/models/tag_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_flow_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_flow_op_data_inner.rb +2 -36
- data/lib/klaviyo-api-sdk/models/tag_group_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/tag_group_create_query_resource_object_attributes.rb +14 -14
- data/lib/klaviyo-api-sdk/models/tag_group_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/tag_group_update_query_resource_object_attributes.rb +14 -14
- data/lib/klaviyo-api-sdk/models/tag_list_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_list_op_data_inner.rb +2 -36
- data/lib/klaviyo-api-sdk/models/tag_segment_op.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_segment_op_data_inner.rb +2 -36
- data/lib/klaviyo-api-sdk/models/tag_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/template_clone_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/template_clone_query_resource_object_attributes.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_create_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_create_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/template_create_query_resource_object_attributes.rb +25 -25
- data/lib/klaviyo-api-sdk/models/template_enum.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_render_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_render_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/template_render_query_resource_object_attributes.rb +2 -2
- data/lib/klaviyo-api-sdk/models/template_update_query.rb +1 -1
- data/lib/klaviyo-api-sdk/models/template_update_query_resource_object.rb +19 -19
- data/lib/klaviyo-api-sdk/models/template_update_query_resource_object_attributes.rb +16 -16
- data/lib/klaviyo-api-sdk/models/throttled_schedule_options.rb +20 -20
- data/lib/klaviyo-api-sdk/models/utm_params_sub_object.rb +1 -1
- data/lib/klaviyo-api-sdk/version.rb +1 -1
- data/lib/klaviyo-api-sdk.rb +20 -13
- data/spec/api/accounts_api_spec.rb +60 -0
- data/spec/api/campaigns_api_spec.rb +338 -0
- data/spec/api/catalogs_api_spec.rb +763 -0
- data/spec/api/data_privacy_api_spec.rb +47 -0
- data/spec/api/events_api_spec.rb +132 -0
- data/spec/api/flows_api_spec.rb +279 -0
- data/spec/api/lists_api_spec.rb +185 -0
- data/spec/api/metrics_api_spec.rb +74 -0
- data/spec/api/profiles_api_spec.rb +204 -0
- data/spec/api/segments_api_spec.rb +135 -0
- data/spec/api/tags_api_spec.rb +371 -0
- data/spec/api/templates_api_spec.rb +124 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/audiences_sub_object_spec.rb +40 -0
- data/spec/models/back_in_stock_subscription_enum_spec.rb +28 -0
- data/spec/models/campaign_clone_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/campaign_clone_query_resource_object_spec.rb +40 -0
- data/spec/models/campaign_clone_query_spec.rb +34 -0
- data/spec/models/campaign_create_query_resource_object_attributes_campaign_messages_spec.rb +34 -0
- data/spec/models/campaign_create_query_resource_object_attributes_send_options_spec.rb +31 -0
- data/spec/models/campaign_create_query_resource_object_attributes_spec.rb +64 -0
- data/spec/models/campaign_create_query_resource_object_attributes_tracking_options_spec.rb +31 -0
- data/spec/models/campaign_create_query_resource_object_spec.rb +40 -0
- data/spec/models/campaign_create_query_spec.rb +34 -0
- data/spec/models/campaign_enum_spec.rb +28 -0
- data/spec/models/campaign_message_assign_template_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_template_data_spec.rb +40 -0
- data/spec/models/campaign_message_assign_template_query_resource_object_relationships_template_spec.rb +34 -0
- data/spec/models/campaign_message_assign_template_query_resource_object_spec.rb +46 -0
- data/spec/models/campaign_message_assign_template_query_spec.rb +34 -0
- data/spec/models/campaign_message_create_query_resource_object_attributes_content_spec.rb +31 -0
- data/spec/models/campaign_message_create_query_resource_object_attributes_spec.rb +52 -0
- data/spec/models/campaign_message_create_query_resource_object_spec.rb +40 -0
- data/spec/models/campaign_message_enum_spec.rb +28 -0
- data/spec/models/campaign_message_partial_update_query_resource_object_attributes_spec.rb +46 -0
- data/spec/models/campaign_message_partial_update_query_resource_object_spec.rb +46 -0
- data/spec/models/campaign_message_partial_update_query_spec.rb +34 -0
- data/spec/models/campaign_partial_update_query_resource_object_attributes_spec.rb +58 -0
- data/spec/models/campaign_partial_update_query_resource_object_spec.rb +46 -0
- data/spec/models/campaign_partial_update_query_spec.rb +34 -0
- data/spec/models/campaign_recipient_estimation_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/campaign_recipient_estimation_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/campaign_recipient_estimation_job_create_query_spec.rb +34 -0
- data/spec/models/campaign_recipient_estimation_job_enum_spec.rb +28 -0
- data/spec/models/campaign_send_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/campaign_send_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/campaign_send_job_create_query_spec.rb +34 -0
- data/spec/models/campaign_send_job_enum_spec.rb +28 -0
- data/spec/models/campaign_send_job_partial_update_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/campaign_send_job_partial_update_query_resource_object_spec.rb +46 -0
- data/spec/models/campaign_send_job_partial_update_query_spec.rb +34 -0
- data/spec/models/catalog_category_bulk_create_job_enum_spec.rb +28 -0
- data/spec/models/catalog_category_bulk_delete_job_enum_spec.rb +28 -0
- data/spec/models/catalog_category_bulk_update_job_enum_spec.rb +28 -0
- data/spec/models/catalog_category_create_job_create_query_resource_object_attributes_categories_spec.rb +34 -0
- data/spec/models/catalog_category_create_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_category_create_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_category_create_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_category_create_query_resource_object_attributes_spec.rb +56 -0
- data/spec/models/catalog_category_create_query_resource_object_relationships_items_spec.rb +34 -0
- data/spec/models/catalog_category_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/catalog_category_create_query_resource_object_spec.rb +46 -0
- data/spec/models/catalog_category_create_query_spec.rb +34 -0
- data/spec/models/catalog_category_delete_job_create_query_resource_object_attributes_categories_spec.rb +34 -0
- data/spec/models/catalog_category_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_category_delete_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_category_delete_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_category_delete_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_category_enum_spec.rb +28 -0
- data/spec/models/catalog_category_item_op_spec.rb +34 -0
- data/spec/models/catalog_category_update_job_create_query_resource_object_attributes_categories_spec.rb +34 -0
- data/spec/models/catalog_category_update_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_category_update_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_category_update_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_category_update_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_category_update_query_resource_object_spec.rb +52 -0
- data/spec/models/catalog_category_update_query_spec.rb +34 -0
- data/spec/models/catalog_item_bulk_create_job_enum_spec.rb +28 -0
- data/spec/models/catalog_item_bulk_delete_job_enum_spec.rb +28 -0
- data/spec/models/catalog_item_bulk_update_job_enum_spec.rb +28 -0
- data/spec/models/catalog_item_category_op_spec.rb +34 -0
- data/spec/models/catalog_item_create_job_create_query_resource_object_attributes_items_spec.rb +34 -0
- data/spec/models/catalog_item_create_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_item_create_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_item_create_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_item_create_query_resource_object_attributes_spec.rb +104 -0
- data/spec/models/catalog_item_create_query_resource_object_relationships_categories_data_inner_spec.rb +40 -0
- data/spec/models/catalog_item_create_query_resource_object_relationships_categories_spec.rb +34 -0
- data/spec/models/catalog_item_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/catalog_item_create_query_resource_object_spec.rb +46 -0
- data/spec/models/catalog_item_create_query_spec.rb +34 -0
- data/spec/models/catalog_item_delete_job_create_query_resource_object_attributes_items_spec.rb +34 -0
- data/spec/models/catalog_item_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_item_delete_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_item_delete_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_item_delete_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_item_enum_spec.rb +28 -0
- data/spec/models/catalog_item_update_job_create_query_resource_object_attributes_items_spec.rb +34 -0
- data/spec/models/catalog_item_update_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_item_update_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_item_update_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_item_update_query_resource_object_attributes_spec.rb +82 -0
- data/spec/models/catalog_item_update_query_resource_object_spec.rb +52 -0
- data/spec/models/catalog_item_update_query_spec.rb +34 -0
- data/spec/models/catalog_variant_bulk_create_job_enum_spec.rb +28 -0
- data/spec/models/catalog_variant_bulk_delete_job_enum_spec.rb +28 -0
- data/spec/models/catalog_variant_bulk_update_job_enum_spec.rb +28 -0
- data/spec/models/catalog_variant_create_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_variant_create_job_create_query_resource_object_attributes_variants_spec.rb +34 -0
- data/spec/models/catalog_variant_create_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_variant_create_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_variant_create_query_resource_object_attributes_spec.rb +126 -0
- data/spec/models/catalog_variant_create_query_resource_object_relationships_item_data_spec.rb +40 -0
- data/spec/models/catalog_variant_create_query_resource_object_relationships_item_spec.rb +34 -0
- data/spec/models/catalog_variant_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/catalog_variant_create_query_resource_object_spec.rb +46 -0
- data/spec/models/catalog_variant_create_query_spec.rb +34 -0
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_attributes_variants_spec.rb +34 -0
- data/spec/models/catalog_variant_delete_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_variant_delete_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_variant_delete_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_variant_enum_spec.rb +28 -0
- data/spec/models/catalog_variant_update_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/catalog_variant_update_job_create_query_resource_object_attributes_variants_spec.rb +34 -0
- data/spec/models/catalog_variant_update_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/catalog_variant_update_job_create_query_spec.rb +34 -0
- data/spec/models/catalog_variant_update_query_resource_object_attributes_spec.rb +104 -0
- data/spec/models/catalog_variant_update_query_resource_object_spec.rb +46 -0
- data/spec/models/catalog_variant_update_query_spec.rb +34 -0
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_attributes_profile_spec.rb +34 -0
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/data_privacy_create_deletion_job_query_resource_object_spec.rb +40 -0
- data/spec/models/data_privacy_create_deletion_job_query_spec.rb +34 -0
- data/spec/models/data_privacy_deletion_job_enum_spec.rb +28 -0
- data/spec/models/data_privacy_profile_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/data_privacy_profile_query_resource_object_spec.rb +46 -0
- data/spec/models/device_metadata_spec.rb +112 -0
- data/spec/models/email_content_sub_object_spec.rb +70 -0
- data/spec/models/email_send_options_sub_object_spec.rb +34 -0
- data/spec/models/email_tracking_options_sub_object_spec.rb +52 -0
- data/spec/models/event_create_query_v2_resource_object_attributes_metric_spec.rb +34 -0
- data/spec/models/event_create_query_v2_resource_object_attributes_profile_spec.rb +34 -0
- data/spec/models/event_create_query_v2_resource_object_attributes_spec.rb +64 -0
- data/spec/models/event_create_query_v2_resource_object_spec.rb +40 -0
- data/spec/models/event_create_query_v2_spec.rb +34 -0
- data/spec/models/event_enum_spec.rb +28 -0
- data/spec/models/flow_enum_spec.rb +28 -0
- data/spec/models/flow_update_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/flow_update_query_resource_object_spec.rb +46 -0
- data/spec/models/flow_update_query_spec.rb +34 -0
- data/spec/models/get_accounts4_xx_response_errors_inner_source_spec.rb +40 -0
- data/spec/models/get_accounts4_xx_response_errors_inner_spec.rb +58 -0
- data/spec/models/get_accounts4_xx_response_spec.rb +34 -0
- data/spec/models/list_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/list_create_query_resource_object_spec.rb +40 -0
- data/spec/models/list_create_query_spec.rb +34 -0
- data/spec/models/list_enum_spec.rb +28 -0
- data/spec/models/list_members_add_query_data_inner_spec.rb +40 -0
- data/spec/models/list_members_add_query_spec.rb +34 -0
- data/spec/models/list_members_delete_query_spec.rb +34 -0
- data/spec/models/list_partial_update_query_resource_object_spec.rb +46 -0
- data/spec/models/list_partial_update_query_spec.rb +34 -0
- data/spec/models/metric_aggregate_enum_spec.rb +28 -0
- data/spec/models/metric_aggregate_query_resource_object_attributes_spec.rb +104 -0
- data/spec/models/metric_aggregate_query_resource_object_spec.rb +40 -0
- data/spec/models/metric_aggregate_query_spec.rb +34 -0
- data/spec/models/metric_create_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/metric_create_query_resource_object_spec.rb +40 -0
- data/spec/models/metric_enum_spec.rb +28 -0
- data/spec/models/onsite_profile_create_query_resource_object_attributes_spec.rb +94 -0
- data/spec/models/onsite_profile_create_query_resource_object_spec.rb +52 -0
- data/spec/models/onsite_profile_meta_spec.rb +34 -0
- data/spec/models/profile_create_query_resource_object_attributes_spec.rb +88 -0
- data/spec/models/profile_create_query_resource_object_spec.rb +40 -0
- data/spec/models/profile_create_query_spec.rb +34 -0
- data/spec/models/profile_enum_spec.rb +28 -0
- data/spec/models/profile_identifier_dto_resource_object_attributes_spec.rb +52 -0
- data/spec/models/profile_identifier_dto_resource_object_spec.rb +46 -0
- data/spec/models/profile_location_latitude_spec.rb +31 -0
- data/spec/models/profile_location_longitude_spec.rb +31 -0
- data/spec/models/profile_location_spec.rb +82 -0
- data/spec/models/profile_meta_patch_properties_spec.rb +46 -0
- data/spec/models/profile_meta_patch_properties_unset_spec.rb +31 -0
- data/spec/models/profile_meta_spec.rb +34 -0
- data/spec/models/profile_partial_update_query_resource_object_spec.rb +52 -0
- data/spec/models/profile_partial_update_query_spec.rb +34 -0
- data/spec/models/profile_subscription_bulk_create_job_enum_spec.rb +28 -0
- data/spec/models/profile_subscription_bulk_delete_job_enum_spec.rb +28 -0
- data/spec/models/profile_subscription_create_query_resource_object_attributes_spec.rb +46 -0
- data/spec/models/profile_subscription_create_query_resource_object_spec.rb +46 -0
- data/spec/models/profile_subscription_delete_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/profile_subscription_delete_query_resource_object_spec.rb +40 -0
- data/spec/models/profile_suppression_bulk_create_job_enum_spec.rb +28 -0
- data/spec/models/profile_suppression_bulk_delete_job_enum_spec.rb +28 -0
- data/spec/models/profile_suppression_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/profile_suppression_create_query_resource_object_spec.rb +40 -0
- data/spec/models/profile_suppression_delete_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/profile_suppression_delete_query_resource_object_spec.rb +40 -0
- data/spec/models/profile_upsert_query_resource_object_attributes_spec.rb +100 -0
- data/spec/models/profile_upsert_query_resource_object_spec.rb +46 -0
- data/spec/models/push_token_create_query_resource_object_attributes_profile_spec.rb +34 -0
- data/spec/models/push_token_create_query_resource_object_attributes_spec.rb +86 -0
- data/spec/models/push_token_create_query_resource_object_spec.rb +40 -0
- data/spec/models/push_token_create_query_spec.rb +34 -0
- data/spec/models/push_token_enum_spec.rb +28 -0
- data/spec/models/render_options_sub_object_spec.rb +52 -0
- data/spec/models/segment_enum_spec.rb +28 -0
- data/spec/models/segment_partial_update_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/segment_partial_update_query_resource_object_spec.rb +46 -0
- data/spec/models/segment_partial_update_query_spec.rb +34 -0
- data/spec/models/send_strategy_sub_object_spec.rb +52 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_attributes_profile_spec.rb +34 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_attributes_spec.rb +44 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_variant_data_spec.rb +40 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_relationships_variant_spec.rb +34 -0
- data/spec/models/server_bis_subscription_create_query_resource_object_spec.rb +46 -0
- data/spec/models/server_bis_subscription_create_query_spec.rb +34 -0
- data/spec/models/sms_content_sub_object_create_spec.rb +34 -0
- data/spec/models/sms_send_options_sub_object_spec.rb +34 -0
- data/spec/models/sms_tracking_options_sub_object_spec.rb +40 -0
- data/spec/models/static_schedule_options_spec.rb +46 -0
- data/spec/models/sto_schedule_options_spec.rb +34 -0
- data/spec/models/subscription_channels_spec.rb +48 -0
- data/spec/models/subscription_create_job_create_query_resource_object_attributes_profiles_spec.rb +34 -0
- data/spec/models/subscription_create_job_create_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_list_data_spec.rb +40 -0
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_list_spec.rb +34 -0
- data/spec/models/subscription_create_job_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/subscription_create_job_create_query_resource_object_spec.rb +46 -0
- data/spec/models/subscription_create_job_create_query_spec.rb +34 -0
- data/spec/models/subscription_delete_job_create_query_resource_object_attributes_profiles_spec.rb +34 -0
- data/spec/models/subscription_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/subscription_delete_job_create_query_resource_object_spec.rb +46 -0
- data/spec/models/subscription_delete_job_create_query_spec.rb +34 -0
- data/spec/models/suppression_create_job_create_query_resource_object_attributes_profiles_spec.rb +34 -0
- data/spec/models/suppression_create_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/suppression_create_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/suppression_create_job_create_query_spec.rb +34 -0
- data/spec/models/suppression_delete_job_create_query_resource_object_attributes_profiles_spec.rb +34 -0
- data/spec/models/suppression_delete_job_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/suppression_delete_job_create_query_resource_object_spec.rb +40 -0
- data/spec/models/suppression_delete_job_create_query_spec.rb +34 -0
- data/spec/models/tag_campaign_op_data_inner_spec.rb +40 -0
- data/spec/models/tag_campaign_op_spec.rb +34 -0
- data/spec/models/tag_create_query_resource_object_attributes_spec.rb +34 -0
- data/spec/models/tag_create_query_resource_object_relationships_spec.rb +34 -0
- data/spec/models/tag_create_query_resource_object_relationships_tag_group_data_spec.rb +40 -0
- data/spec/models/tag_create_query_resource_object_relationships_tag_group_spec.rb +34 -0
- data/spec/models/tag_create_query_resource_object_spec.rb +46 -0
- data/spec/models/tag_create_query_spec.rb +34 -0
- data/spec/models/tag_enum_spec.rb +28 -0
- data/spec/models/tag_flow_op_data_inner_spec.rb +40 -0
- data/spec/models/tag_flow_op_spec.rb +34 -0
- data/spec/models/tag_group_create_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/tag_group_create_query_resource_object_spec.rb +40 -0
- data/spec/models/tag_group_create_query_spec.rb +34 -0
- data/spec/models/tag_group_enum_spec.rb +28 -0
- data/spec/models/tag_group_update_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/tag_group_update_query_resource_object_spec.rb +46 -0
- data/spec/models/tag_group_update_query_spec.rb +34 -0
- data/spec/models/tag_list_op_data_inner_spec.rb +40 -0
- data/spec/models/tag_list_op_spec.rb +34 -0
- data/spec/models/tag_segment_op_data_inner_spec.rb +40 -0
- data/spec/models/tag_segment_op_spec.rb +34 -0
- data/spec/models/tag_update_query_resource_object_spec.rb +46 -0
- data/spec/models/tag_update_query_spec.rb +34 -0
- data/spec/models/template_clone_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/template_clone_query_resource_object_spec.rb +40 -0
- data/spec/models/template_clone_query_spec.rb +34 -0
- data/spec/models/template_create_query_resource_object_attributes_spec.rb +52 -0
- data/spec/models/template_create_query_resource_object_spec.rb +40 -0
- data/spec/models/template_create_query_spec.rb +34 -0
- data/spec/models/template_enum_spec.rb +28 -0
- data/spec/models/template_render_query_resource_object_attributes_spec.rb +40 -0
- data/spec/models/template_render_query_resource_object_spec.rb +40 -0
- data/spec/models/template_render_query_spec.rb +34 -0
- data/spec/models/template_update_query_resource_object_attributes_spec.rb +46 -0
- data/spec/models/template_update_query_resource_object_spec.rb +46 -0
- data/spec/models/template_update_query_spec.rb +34 -0
- data/spec/models/throttled_schedule_options_spec.rb +40 -0
- data/spec/models/utm_params_sub_object_spec.rb +40 -0
- data/spec/spec_helper.rb +111 -0
- metadata +598 -19
- data/CHANGELOG.md +0 -91
- data/lib/klaviyo-api-sdk/models/catalog_category_update_query_resource_object_relationships_items_data_inner.rb +0 -272
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 2023-
|
6
|
+
The version of the OpenAPI document: 2023-08-15
|
7
7
|
Contact: developers@klaviyo.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 6.2.1
|
@@ -20,7 +20,7 @@ module KlaviyoAPI
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create Back In Stock Subscription
|
23
|
-
# Subscribe a profile to receive back in stock notifications. Check out [our Back in Stock API guide](https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock) for more details.
|
23
|
+
# Subscribe a profile to receive back in stock notifications. Check out [our Back in Stock API guide](https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock) for more details. This endpoint is specifically designed to be called from server-side applications. To create subscriptions from client-side contexts, use [POST /client/back-in-stock-subscriptions](https://developers.klaviyo.com/en/reference/create_client_back_in_stock_subscription).<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:write` `profiles:write`
|
24
24
|
# @param server_bis_subscription_create_query [ServerBISSubscriptionCreateQuery]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [nil]
|
@@ -30,7 +30,7 @@ module KlaviyoAPI
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create Back In Stock Subscription
|
33
|
-
# Subscribe a profile to receive back in stock notifications. Check out [our Back in Stock API guide](https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock) for more details.
|
33
|
+
# Subscribe a profile to receive back in stock notifications. Check out [our Back in Stock API guide](https://developers.klaviyo.com/en/docs/how_to_set_up_custom_back_in_stock) for more details. This endpoint is specifically designed to be called from server-side applications. To create subscriptions from client-side contexts, use [POST /client/back-in-stock-subscriptions](https://developers.klaviyo.com/en/reference/create_client_back_in_stock_subscription).<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:write` `profiles:write`
|
34
34
|
# @param server_bis_subscription_create_query [ServerBISSubscriptionCreateQuery]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -51,7 +51,7 @@ module KlaviyoAPI
|
|
51
51
|
# header parameters
|
52
52
|
header_params = opts[:header_params] || {}
|
53
53
|
# klaviyo api revision
|
54
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
54
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
55
55
|
# HTTP header 'Accept' (if needed)
|
56
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
57
57
|
# HTTP header 'Content-Type'
|
@@ -121,7 +121,7 @@ module KlaviyoAPI
|
|
121
121
|
# header parameters
|
122
122
|
header_params = opts[:header_params] || {}
|
123
123
|
# klaviyo api revision
|
124
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
124
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
125
125
|
# HTTP header 'Accept' (if needed)
|
126
126
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
127
127
|
# HTTP header 'Content-Type'
|
@@ -197,7 +197,7 @@ module KlaviyoAPI
|
|
197
197
|
# header parameters
|
198
198
|
header_params = opts[:header_params] || {}
|
199
199
|
# klaviyo api revision
|
200
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
200
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
201
201
|
# HTTP header 'Accept' (if needed)
|
202
202
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
203
203
|
# HTTP header 'Content-Type'
|
@@ -267,7 +267,7 @@ module KlaviyoAPI
|
|
267
267
|
# header parameters
|
268
268
|
header_params = opts[:header_params] || {}
|
269
269
|
# klaviyo api revision
|
270
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
270
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
271
271
|
# HTTP header 'Accept' (if needed)
|
272
272
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
273
273
|
# HTTP header 'Content-Type'
|
@@ -343,7 +343,7 @@ module KlaviyoAPI
|
|
343
343
|
# header parameters
|
344
344
|
header_params = opts[:header_params] || {}
|
345
345
|
# klaviyo api revision
|
346
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
346
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
347
347
|
# HTTP header 'Accept' (if needed)
|
348
348
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
349
349
|
# HTTP header 'Content-Type'
|
@@ -413,7 +413,7 @@ module KlaviyoAPI
|
|
413
413
|
# header parameters
|
414
414
|
header_params = opts[:header_params] || {}
|
415
415
|
# klaviyo api revision
|
416
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
416
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
417
417
|
# HTTP header 'Accept' (if needed)
|
418
418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
419
419
|
# HTTP header 'Content-Type'
|
@@ -483,7 +483,7 @@ module KlaviyoAPI
|
|
483
483
|
# header parameters
|
484
484
|
header_params = opts[:header_params] || {}
|
485
485
|
# klaviyo api revision
|
486
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
486
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
487
487
|
# HTTP header 'Accept' (if needed)
|
488
488
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
489
489
|
|
@@ -554,7 +554,7 @@ module KlaviyoAPI
|
|
554
554
|
# header parameters
|
555
555
|
header_params = opts[:header_params] || {}
|
556
556
|
# klaviyo api revision
|
557
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
557
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
558
558
|
# HTTP header 'Accept' (if needed)
|
559
559
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
560
560
|
# HTTP header 'Content-Type'
|
@@ -624,7 +624,7 @@ module KlaviyoAPI
|
|
624
624
|
# header parameters
|
625
625
|
header_params = opts[:header_params] || {}
|
626
626
|
# klaviyo api revision
|
627
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
627
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
628
628
|
# HTTP header 'Accept' (if needed)
|
629
629
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
630
630
|
|
@@ -695,7 +695,7 @@ module KlaviyoAPI
|
|
695
695
|
# header parameters
|
696
696
|
header_params = opts[:header_params] || {}
|
697
697
|
# klaviyo api revision
|
698
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
698
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
699
699
|
# HTTP header 'Accept' (if needed)
|
700
700
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
701
701
|
# HTTP header 'Content-Type'
|
@@ -765,7 +765,7 @@ module KlaviyoAPI
|
|
765
765
|
# header parameters
|
766
766
|
header_params = opts[:header_params] || {}
|
767
767
|
# klaviyo api revision
|
768
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
768
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
769
769
|
# HTTP header 'Accept' (if needed)
|
770
770
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
771
771
|
|
@@ -799,12 +799,12 @@ module KlaviyoAPI
|
|
799
799
|
end
|
800
800
|
|
801
801
|
# Get Catalog Categories
|
802
|
-
# Get all catalog categories in an account.
|
802
|
+
# Get all catalog categories in an account. 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`
|
803
803
|
# @param [Hash] opts the optional parameters
|
804
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
805
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
806
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
807
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
804
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
805
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
806
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
807
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
808
808
|
# @return [Hash<String, Object>]
|
809
809
|
def get_catalog_categories(opts = {})
|
810
810
|
data, _status_code, _headers = get_catalog_categories_with_http_info(opts)
|
@@ -812,12 +812,12 @@ module KlaviyoAPI
|
|
812
812
|
end
|
813
813
|
|
814
814
|
# Get Catalog Categories
|
815
|
-
# Get all catalog categories in an account.
|
815
|
+
# Get all catalog categories in an account. 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`
|
816
816
|
# @param [Hash] opts the optional parameters
|
817
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
818
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
819
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
820
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
817
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
818
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
819
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
820
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
821
821
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
822
822
|
def get_catalog_categories_with_http_info(opts = {})
|
823
823
|
if @api_client.config.debugging
|
@@ -844,7 +844,7 @@ module KlaviyoAPI
|
|
844
844
|
# header parameters
|
845
845
|
header_params = opts[:header_params] || {}
|
846
846
|
# klaviyo api revision
|
847
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
847
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
848
848
|
# HTTP header 'Accept' (if needed)
|
849
849
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
850
850
|
|
@@ -881,7 +881,7 @@ module KlaviyoAPI
|
|
881
881
|
# Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
882
882
|
# @param id [String] 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`.
|
883
883
|
# @param [Hash] opts the optional parameters
|
884
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
884
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
885
885
|
# @return [Hash<String, Object>]
|
886
886
|
def get_catalog_category(id, opts = {})
|
887
887
|
data, _status_code, _headers = get_catalog_category_with_http_info(id, opts)
|
@@ -892,7 +892,7 @@ module KlaviyoAPI
|
|
892
892
|
# Get a catalog category with the given category ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
893
893
|
# @param id [String] 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`.
|
894
894
|
# @param [Hash] opts the optional parameters
|
895
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
895
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
896
896
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
897
897
|
def get_catalog_category_with_http_info(id, opts = {})
|
898
898
|
if @api_client.config.debugging
|
@@ -916,7 +916,7 @@ module KlaviyoAPI
|
|
916
916
|
# header parameters
|
917
917
|
header_params = opts[:header_params] || {}
|
918
918
|
# klaviyo api revision
|
919
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
919
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
920
920
|
# HTTP header 'Accept' (if needed)
|
921
921
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
922
922
|
|
@@ -950,15 +950,15 @@ module KlaviyoAPI
|
|
950
950
|
end
|
951
951
|
|
952
952
|
# Get Catalog Category Items
|
953
|
-
# Get all items in a category with the given category ID.
|
953
|
+
# 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`
|
954
954
|
# @param id [String]
|
955
955
|
# @param [Hash] opts the optional parameters
|
956
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
957
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
958
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
959
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
960
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
961
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
956
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
957
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
958
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
959
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
960
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
961
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
962
962
|
# @return [Hash<String, Object>]
|
963
963
|
def get_catalog_category_items(id, opts = {})
|
964
964
|
data, _status_code, _headers = get_catalog_category_items_with_http_info(id, opts)
|
@@ -966,15 +966,15 @@ module KlaviyoAPI
|
|
966
966
|
end
|
967
967
|
|
968
968
|
# Get Catalog Category Items
|
969
|
-
# Get all items in a category with the given category ID.
|
969
|
+
# 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`
|
970
970
|
# @param id [String]
|
971
971
|
# @param [Hash] opts the optional parameters
|
972
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
973
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
974
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
975
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
976
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
977
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
972
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
973
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
974
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
975
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
976
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
977
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
978
978
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
979
979
|
def get_catalog_category_items_with_http_info(id, opts = {})
|
980
980
|
if @api_client.config.debugging
|
@@ -1015,7 +1015,7 @@ module KlaviyoAPI
|
|
1015
1015
|
# header parameters
|
1016
1016
|
header_params = opts[:header_params] || {}
|
1017
1017
|
# klaviyo api revision
|
1018
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1018
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1019
1019
|
# HTTP header 'Accept' (if needed)
|
1020
1020
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1021
1021
|
|
@@ -1049,10 +1049,10 @@ module KlaviyoAPI
|
|
1049
1049
|
end
|
1050
1050
|
|
1051
1051
|
# Get Catalog Category Relationships Items
|
1052
|
-
# Get all items in the given category ID.
|
1052
|
+
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1053
1053
|
# @param id [String]
|
1054
1054
|
# @param [Hash] opts the optional parameters
|
1055
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1055
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1056
1056
|
# @return [Hash<String, Object>]
|
1057
1057
|
def get_catalog_category_relationships_items(id, opts = {})
|
1058
1058
|
data, _status_code, _headers = get_catalog_category_relationships_items_with_http_info(id, opts)
|
@@ -1060,10 +1060,10 @@ module KlaviyoAPI
|
|
1060
1060
|
end
|
1061
1061
|
|
1062
1062
|
# Get Catalog Category Relationships Items
|
1063
|
-
# Get all items in the given category ID.
|
1063
|
+
# Get all items in the given category ID. Returns a maximum of 100 items per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1064
1064
|
# @param id [String]
|
1065
1065
|
# @param [Hash] opts the optional parameters
|
1066
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1066
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1067
1067
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1068
1068
|
def get_catalog_category_relationships_items_with_http_info(id, opts = {})
|
1069
1069
|
if @api_client.config.debugging
|
@@ -1083,7 +1083,7 @@ module KlaviyoAPI
|
|
1083
1083
|
# header parameters
|
1084
1084
|
header_params = opts[:header_params] || {}
|
1085
1085
|
# klaviyo api revision
|
1086
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1086
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1087
1087
|
# HTTP header 'Accept' (if needed)
|
1088
1088
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1089
1089
|
|
@@ -1117,12 +1117,12 @@ module KlaviyoAPI
|
|
1117
1117
|
end
|
1118
1118
|
|
1119
1119
|
# Get Catalog Item
|
1120
|
-
# Get a specific catalog item with the given item ID.
|
1120
|
+
# 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`
|
1121
1121
|
# @param id [String] 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`.
|
1122
1122
|
# @param [Hash] opts the optional parameters
|
1123
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1124
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1125
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1123
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1124
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1125
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1126
1126
|
# @return [Hash<String, Object>]
|
1127
1127
|
def get_catalog_item(id, opts = {})
|
1128
1128
|
data, _status_code, _headers = get_catalog_item_with_http_info(id, opts)
|
@@ -1130,12 +1130,12 @@ module KlaviyoAPI
|
|
1130
1130
|
end
|
1131
1131
|
|
1132
1132
|
# Get Catalog Item
|
1133
|
-
# Get a specific catalog item with the given item ID.
|
1133
|
+
# 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`
|
1134
1134
|
# @param id [String] 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`.
|
1135
1135
|
# @param [Hash] opts the optional parameters
|
1136
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1137
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1138
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1136
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1137
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1138
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1139
1139
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1140
1140
|
def get_catalog_item_with_http_info(id, opts = {})
|
1141
1141
|
if @api_client.config.debugging
|
@@ -1169,7 +1169,7 @@ module KlaviyoAPI
|
|
1169
1169
|
# header parameters
|
1170
1170
|
header_params = opts[:header_params] || {}
|
1171
1171
|
# klaviyo api revision
|
1172
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1172
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1173
1173
|
# HTTP header 'Accept' (if needed)
|
1174
1174
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1175
1175
|
|
@@ -1203,13 +1203,13 @@ module KlaviyoAPI
|
|
1203
1203
|
end
|
1204
1204
|
|
1205
1205
|
# Get Catalog Item Categories
|
1206
|
-
# Get all catalog categories that an item with the given item ID is in.
|
1206
|
+
# 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`
|
1207
1207
|
# @param id [String]
|
1208
1208
|
# @param [Hash] opts the optional parameters
|
1209
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
1210
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1211
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1212
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1209
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1210
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
1211
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1212
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1213
1213
|
# @return [Hash<String, Object>]
|
1214
1214
|
def get_catalog_item_categories(id, opts = {})
|
1215
1215
|
data, _status_code, _headers = get_catalog_item_categories_with_http_info(id, opts)
|
@@ -1217,13 +1217,13 @@ module KlaviyoAPI
|
|
1217
1217
|
end
|
1218
1218
|
|
1219
1219
|
# Get Catalog Item Categories
|
1220
|
-
# Get all catalog categories that an item with the given item ID is in.
|
1220
|
+
# 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`
|
1221
1221
|
# @param id [String]
|
1222
1222
|
# @param [Hash] opts the optional parameters
|
1223
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
1224
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1225
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1226
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1223
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1224
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`name`: `contains`
|
1225
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1226
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1227
1227
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1228
1228
|
def get_catalog_item_categories_with_http_info(id, opts = {})
|
1229
1229
|
if @api_client.config.debugging
|
@@ -1254,7 +1254,7 @@ module KlaviyoAPI
|
|
1254
1254
|
# header parameters
|
1255
1255
|
header_params = opts[:header_params] || {}
|
1256
1256
|
# klaviyo api revision
|
1257
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1257
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1258
1258
|
# HTTP header 'Accept' (if needed)
|
1259
1259
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1260
1260
|
|
@@ -1288,10 +1288,10 @@ module KlaviyoAPI
|
|
1288
1288
|
end
|
1289
1289
|
|
1290
1290
|
# Get Catalog Item Relationships Categories
|
1291
|
-
# Get all catalog categories that a particular item is in.
|
1291
|
+
# Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1292
1292
|
# @param id [String]
|
1293
1293
|
# @param [Hash] opts the optional parameters
|
1294
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1294
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1295
1295
|
# @return [Hash<String, Object>]
|
1296
1296
|
def get_catalog_item_relationships_categories(id, opts = {})
|
1297
1297
|
data, _status_code, _headers = get_catalog_item_relationships_categories_with_http_info(id, opts)
|
@@ -1299,10 +1299,10 @@ module KlaviyoAPI
|
|
1299
1299
|
end
|
1300
1300
|
|
1301
1301
|
# Get Catalog Item Relationships Categories
|
1302
|
-
# Get all catalog categories that a particular item is in.
|
1302
|
+
# Get all catalog categories that a particular item is in. Returns a maximum of 100 categories per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1303
1303
|
# @param id [String]
|
1304
1304
|
# @param [Hash] opts the optional parameters
|
1305
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1305
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1306
1306
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1307
1307
|
def get_catalog_item_relationships_categories_with_http_info(id, opts = {})
|
1308
1308
|
if @api_client.config.debugging
|
@@ -1322,7 +1322,7 @@ module KlaviyoAPI
|
|
1322
1322
|
# header parameters
|
1323
1323
|
header_params = opts[:header_params] || {}
|
1324
1324
|
# klaviyo api revision
|
1325
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1325
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1326
1326
|
# HTTP header 'Accept' (if needed)
|
1327
1327
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1328
1328
|
|
@@ -1356,13 +1356,13 @@ module KlaviyoAPI
|
|
1356
1356
|
end
|
1357
1357
|
|
1358
1358
|
# Get Catalog Item Variants
|
1359
|
-
# Get all variants related to the given item ID.
|
1359
|
+
# 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`
|
1360
1360
|
# @param id [String]
|
1361
1361
|
# @param [Hash] opts the optional parameters
|
1362
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1363
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1364
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1365
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1362
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1363
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1364
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1365
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1366
1366
|
# @return [Hash<String, Object>]
|
1367
1367
|
def get_catalog_item_variants(id, opts = {})
|
1368
1368
|
data, _status_code, _headers = get_catalog_item_variants_with_http_info(id, opts)
|
@@ -1370,13 +1370,13 @@ module KlaviyoAPI
|
|
1370
1370
|
end
|
1371
1371
|
|
1372
1372
|
# Get Catalog Item Variants
|
1373
|
-
# Get all variants related to the given item ID.
|
1373
|
+
# 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`
|
1374
1374
|
# @param id [String]
|
1375
1375
|
# @param [Hash] opts the optional parameters
|
1376
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1377
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1378
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1379
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1376
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1377
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1378
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1379
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1380
1380
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1381
1381
|
def get_catalog_item_variants_with_http_info(id, opts = {})
|
1382
1382
|
if @api_client.config.debugging
|
@@ -1407,7 +1407,7 @@ module KlaviyoAPI
|
|
1407
1407
|
# header parameters
|
1408
1408
|
header_params = opts[:header_params] || {}
|
1409
1409
|
# klaviyo api revision
|
1410
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1410
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1411
1411
|
# HTTP header 'Accept' (if needed)
|
1412
1412
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1413
1413
|
|
@@ -1441,14 +1441,14 @@ module KlaviyoAPI
|
|
1441
1441
|
end
|
1442
1442
|
|
1443
1443
|
# Get Catalog Items
|
1444
|
-
# Get all catalog items in an account.
|
1445
|
-
# @param [Hash] opts the optional parameters
|
1446
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1447
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1448
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1449
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1450
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1451
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1444
|
+
# Get all catalog items in an account. Catalog 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`
|
1445
|
+
# @param [Hash] opts the optional parameters
|
1446
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1447
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1448
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1449
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1450
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1451
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1452
1452
|
# @return [Hash<String, Object>]
|
1453
1453
|
def get_catalog_items(opts = {})
|
1454
1454
|
data, _status_code, _headers = get_catalog_items_with_http_info(opts)
|
@@ -1456,14 +1456,14 @@ module KlaviyoAPI
|
|
1456
1456
|
end
|
1457
1457
|
|
1458
1458
|
# Get Catalog Items
|
1459
|
-
# Get all catalog items in an account.
|
1460
|
-
# @param [Hash] opts the optional parameters
|
1461
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1462
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1463
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1464
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1465
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1466
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1459
|
+
# Get all catalog items in an account. Catalog 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`
|
1460
|
+
# @param [Hash] opts the optional parameters
|
1461
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1462
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1463
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`category.id`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1464
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1465
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1466
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1467
1467
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1468
1468
|
def get_catalog_items_with_http_info(opts = {})
|
1469
1469
|
if @api_client.config.debugging
|
@@ -1500,7 +1500,7 @@ module KlaviyoAPI
|
|
1500
1500
|
# header parameters
|
1501
1501
|
header_params = opts[:header_params] || {}
|
1502
1502
|
# klaviyo api revision
|
1503
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1503
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1504
1504
|
# HTTP header 'Accept' (if needed)
|
1505
1505
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1506
1506
|
|
@@ -1537,7 +1537,7 @@ module KlaviyoAPI
|
|
1537
1537
|
# 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`
|
1538
1538
|
# @param id [String] 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`.
|
1539
1539
|
# @param [Hash] opts the optional parameters
|
1540
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1540
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1541
1541
|
# @return [Hash<String, Object>]
|
1542
1542
|
def get_catalog_variant(id, opts = {})
|
1543
1543
|
data, _status_code, _headers = get_catalog_variant_with_http_info(id, opts)
|
@@ -1548,7 +1548,7 @@ module KlaviyoAPI
|
|
1548
1548
|
# 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`
|
1549
1549
|
# @param id [String] 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`.
|
1550
1550
|
# @param [Hash] opts the optional parameters
|
1551
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1551
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1552
1552
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1553
1553
|
def get_catalog_variant_with_http_info(id, opts = {})
|
1554
1554
|
if @api_client.config.debugging
|
@@ -1572,7 +1572,7 @@ module KlaviyoAPI
|
|
1572
1572
|
# header parameters
|
1573
1573
|
header_params = opts[:header_params] || {}
|
1574
1574
|
# klaviyo api revision
|
1575
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1575
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1576
1576
|
# HTTP header 'Accept' (if needed)
|
1577
1577
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1578
1578
|
|
@@ -1606,12 +1606,12 @@ module KlaviyoAPI
|
|
1606
1606
|
end
|
1607
1607
|
|
1608
1608
|
# Get Catalog Variants
|
1609
|
-
# Get all variants in an account.
|
1609
|
+
# Get all variants in an account. 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`
|
1610
1610
|
# @param [Hash] opts the optional parameters
|
1611
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1612
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1613
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1614
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1611
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1612
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1613
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1614
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1615
1615
|
# @return [Hash<String, Object>]
|
1616
1616
|
def get_catalog_variants(opts = {})
|
1617
1617
|
data, _status_code, _headers = get_catalog_variants_with_http_info(opts)
|
@@ -1619,12 +1619,12 @@ module KlaviyoAPI
|
|
1619
1619
|
end
|
1620
1620
|
|
1621
1621
|
# Get Catalog Variants
|
1622
|
-
# Get all variants in an account.
|
1622
|
+
# Get all variants in an account. 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`
|
1623
1623
|
# @param [Hash] opts the optional parameters
|
1624
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
1625
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1626
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1627
|
-
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-
|
1624
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1625
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`ids`: `any`<br>`item.id`: `equals`<br>`sku`: `equals`<br>`title`: `contains`<br>`published`: `equals`
|
1626
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1627
|
+
# @option opts [String] :sort For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sorting
|
1628
1628
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1629
1629
|
def get_catalog_variants_with_http_info(opts = {})
|
1630
1630
|
if @api_client.config.debugging
|
@@ -1651,7 +1651,7 @@ module KlaviyoAPI
|
|
1651
1651
|
# header parameters
|
1652
1652
|
header_params = opts[:header_params] || {}
|
1653
1653
|
# klaviyo api revision
|
1654
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1654
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1655
1655
|
# HTTP header 'Accept' (if needed)
|
1656
1656
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1657
1657
|
|
@@ -1685,12 +1685,12 @@ module KlaviyoAPI
|
|
1685
1685
|
end
|
1686
1686
|
|
1687
1687
|
# Get Create Categories Job
|
1688
|
-
# Get a catalog category bulk create job with the given job ID.
|
1688
|
+
# Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1689
1689
|
# @param job_id [String] ID of the job to retrieve.
|
1690
1690
|
# @param [Hash] opts the optional parameters
|
1691
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1692
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
1693
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1691
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1692
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1693
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1694
1694
|
# @return [Hash<String, Object>]
|
1695
1695
|
def get_create_categories_job(job_id, opts = {})
|
1696
1696
|
data, _status_code, _headers = get_create_categories_job_with_http_info(job_id, opts)
|
@@ -1698,12 +1698,12 @@ module KlaviyoAPI
|
|
1698
1698
|
end
|
1699
1699
|
|
1700
1700
|
# Get Create Categories Job
|
1701
|
-
# Get a catalog category bulk create job with the given job ID.
|
1701
|
+
# Get a catalog category bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1702
1702
|
# @param job_id [String] ID of the job to retrieve.
|
1703
1703
|
# @param [Hash] opts the optional parameters
|
1704
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1705
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
1706
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1704
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1705
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1706
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1707
1707
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1708
1708
|
def get_create_categories_job_with_http_info(job_id, opts = {})
|
1709
1709
|
if @api_client.config.debugging
|
@@ -1713,7 +1713,7 @@ module KlaviyoAPI
|
|
1713
1713
|
if @api_client.config.client_side_validation && job_id.nil?
|
1714
1714
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_create_categories_job"
|
1715
1715
|
end
|
1716
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
1716
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1717
1717
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_create_job'] && !opts[:'fields_catalog_category_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1718
1718
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_create_job\", must include one of #{allowable_values}"
|
1719
1719
|
end
|
@@ -1737,7 +1737,7 @@ module KlaviyoAPI
|
|
1737
1737
|
# header parameters
|
1738
1738
|
header_params = opts[:header_params] || {}
|
1739
1739
|
# klaviyo api revision
|
1740
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1740
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1741
1741
|
# HTTP header 'Accept' (if needed)
|
1742
1742
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1743
1743
|
|
@@ -1771,11 +1771,11 @@ module KlaviyoAPI
|
|
1771
1771
|
end
|
1772
1772
|
|
1773
1773
|
# Get Create Categories Jobs
|
1774
|
-
# Get all catalog category bulk create jobs.
|
1774
|
+
# Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1775
1775
|
# @param [Hash] opts the optional parameters
|
1776
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1777
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1778
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1776
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1777
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1778
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1779
1779
|
# @return [Hash<String, Object>]
|
1780
1780
|
def get_create_categories_jobs(opts = {})
|
1781
1781
|
data, _status_code, _headers = get_create_categories_jobs_with_http_info(opts)
|
@@ -1783,17 +1783,17 @@ module KlaviyoAPI
|
|
1783
1783
|
end
|
1784
1784
|
|
1785
1785
|
# Get Create Categories Jobs
|
1786
|
-
# Get all catalog category bulk create jobs.
|
1786
|
+
# Get all catalog category bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1787
1787
|
# @param [Hash] opts the optional parameters
|
1788
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1789
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1790
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1788
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1789
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1790
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1791
1791
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1792
1792
|
def get_create_categories_jobs_with_http_info(opts = {})
|
1793
1793
|
if @api_client.config.debugging
|
1794
1794
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_create_categories_jobs ...'
|
1795
1795
|
end
|
1796
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
1796
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1797
1797
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_create_job'] && !opts[:'fields_catalog_category_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1798
1798
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_create_job\", must include one of #{allowable_values}"
|
1799
1799
|
end
|
@@ -1809,7 +1809,7 @@ module KlaviyoAPI
|
|
1809
1809
|
# header parameters
|
1810
1810
|
header_params = opts[:header_params] || {}
|
1811
1811
|
# klaviyo api revision
|
1812
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1812
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1813
1813
|
# HTTP header 'Accept' (if needed)
|
1814
1814
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1815
1815
|
|
@@ -1843,12 +1843,12 @@ module KlaviyoAPI
|
|
1843
1843
|
end
|
1844
1844
|
|
1845
1845
|
# Get Create Items Job
|
1846
|
-
# Get a catalog item bulk create job with the given job ID.
|
1846
|
+
# Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1847
1847
|
# @param job_id [String] ID of the job to retrieve.
|
1848
1848
|
# @param [Hash] opts the optional parameters
|
1849
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1850
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1851
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1849
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1850
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1851
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1852
1852
|
# @return [Hash<String, Object>]
|
1853
1853
|
def get_create_items_job(job_id, opts = {})
|
1854
1854
|
data, _status_code, _headers = get_create_items_job_with_http_info(job_id, opts)
|
@@ -1856,12 +1856,12 @@ module KlaviyoAPI
|
|
1856
1856
|
end
|
1857
1857
|
|
1858
1858
|
# Get Create Items Job
|
1859
|
-
# Get a catalog item bulk create job with the given job ID.
|
1859
|
+
# Get a catalog item bulk create job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1860
1860
|
# @param job_id [String] ID of the job to retrieve.
|
1861
1861
|
# @param [Hash] opts the optional parameters
|
1862
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1863
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
1864
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
1862
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1863
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1864
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
1865
1865
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1866
1866
|
def get_create_items_job_with_http_info(job_id, opts = {})
|
1867
1867
|
if @api_client.config.debugging
|
@@ -1871,7 +1871,7 @@ module KlaviyoAPI
|
|
1871
1871
|
if @api_client.config.client_side_validation && job_id.nil?
|
1872
1872
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_create_items_job"
|
1873
1873
|
end
|
1874
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
1874
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1875
1875
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_create_job'] && !opts[:'fields_catalog_item_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1876
1876
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_create_job\", must include one of #{allowable_values}"
|
1877
1877
|
end
|
@@ -1895,7 +1895,7 @@ module KlaviyoAPI
|
|
1895
1895
|
# header parameters
|
1896
1896
|
header_params = opts[:header_params] || {}
|
1897
1897
|
# klaviyo api revision
|
1898
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1898
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1899
1899
|
# HTTP header 'Accept' (if needed)
|
1900
1900
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1901
1901
|
|
@@ -1929,11 +1929,11 @@ module KlaviyoAPI
|
|
1929
1929
|
end
|
1930
1930
|
|
1931
1931
|
# Get Create Items Jobs
|
1932
|
-
# Get all catalog item bulk create jobs.
|
1932
|
+
# Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1933
1933
|
# @param [Hash] opts the optional parameters
|
1934
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1935
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1936
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1934
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1935
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1936
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1937
1937
|
# @return [Hash<String, Object>]
|
1938
1938
|
def get_create_items_jobs(opts = {})
|
1939
1939
|
data, _status_code, _headers = get_create_items_jobs_with_http_info(opts)
|
@@ -1941,17 +1941,17 @@ module KlaviyoAPI
|
|
1941
1941
|
end
|
1942
1942
|
|
1943
1943
|
# Get Create Items Jobs
|
1944
|
-
# Get all catalog item bulk create jobs.
|
1944
|
+
# Get all catalog item bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
1945
1945
|
# @param [Hash] opts the optional parameters
|
1946
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
1947
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
1948
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
1946
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
1947
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
1948
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
1949
1949
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
1950
1950
|
def get_create_items_jobs_with_http_info(opts = {})
|
1951
1951
|
if @api_client.config.debugging
|
1952
1952
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_create_items_jobs ...'
|
1953
1953
|
end
|
1954
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
1954
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
1955
1955
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_create_job'] && !opts[:'fields_catalog_item_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
1956
1956
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_create_job\", must include one of #{allowable_values}"
|
1957
1957
|
end
|
@@ -1967,7 +1967,7 @@ module KlaviyoAPI
|
|
1967
1967
|
# header parameters
|
1968
1968
|
header_params = opts[:header_params] || {}
|
1969
1969
|
# klaviyo api revision
|
1970
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
1970
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
1971
1971
|
# HTTP header 'Accept' (if needed)
|
1972
1972
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1973
1973
|
|
@@ -2001,12 +2001,12 @@ module KlaviyoAPI
|
|
2001
2001
|
end
|
2002
2002
|
|
2003
2003
|
# Get Create Variants Job
|
2004
|
-
# Get a catalog variant bulk create job with the given job ID.
|
2004
|
+
# Get a catalog variant bulk create job with the given job ID. An `include` parameter 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`
|
2005
2005
|
# @param job_id [String] ID of the job to retrieve.
|
2006
2006
|
# @param [Hash] opts the optional parameters
|
2007
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2008
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
2009
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2007
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2008
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2009
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2010
2010
|
# @return [Hash<String, Object>]
|
2011
2011
|
def get_create_variants_job(job_id, opts = {})
|
2012
2012
|
data, _status_code, _headers = get_create_variants_job_with_http_info(job_id, opts)
|
@@ -2014,12 +2014,12 @@ module KlaviyoAPI
|
|
2014
2014
|
end
|
2015
2015
|
|
2016
2016
|
# Get Create Variants Job
|
2017
|
-
# Get a catalog variant bulk create job with the given job ID.
|
2017
|
+
# Get a catalog variant bulk create job with the given job ID. An `include` parameter 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`
|
2018
2018
|
# @param job_id [String] ID of the job to retrieve.
|
2019
2019
|
# @param [Hash] opts the optional parameters
|
2020
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2021
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
2022
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2020
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2021
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2022
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2023
2023
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2024
2024
|
def get_create_variants_job_with_http_info(job_id, opts = {})
|
2025
2025
|
if @api_client.config.debugging
|
@@ -2029,7 +2029,7 @@ module KlaviyoAPI
|
|
2029
2029
|
if @api_client.config.client_side_validation && job_id.nil?
|
2030
2030
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_create_variants_job"
|
2031
2031
|
end
|
2032
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2032
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2033
2033
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_create_job'] && !opts[:'fields_catalog_variant_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
2034
2034
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_create_job\", must include one of #{allowable_values}"
|
2035
2035
|
end
|
@@ -2053,7 +2053,7 @@ module KlaviyoAPI
|
|
2053
2053
|
# header parameters
|
2054
2054
|
header_params = opts[:header_params] || {}
|
2055
2055
|
# klaviyo api revision
|
2056
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2056
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2057
2057
|
# HTTP header 'Accept' (if needed)
|
2058
2058
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2059
2059
|
|
@@ -2087,11 +2087,11 @@ module KlaviyoAPI
|
|
2087
2087
|
end
|
2088
2088
|
|
2089
2089
|
# Get Create Variants Jobs
|
2090
|
-
# Get all catalog variant bulk create jobs.
|
2090
|
+
# Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2091
2091
|
# @param [Hash] opts the optional parameters
|
2092
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2093
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2094
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2092
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2093
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2094
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2095
2095
|
# @return [Hash<String, Object>]
|
2096
2096
|
def get_create_variants_jobs(opts = {})
|
2097
2097
|
data, _status_code, _headers = get_create_variants_jobs_with_http_info(opts)
|
@@ -2099,17 +2099,17 @@ module KlaviyoAPI
|
|
2099
2099
|
end
|
2100
2100
|
|
2101
2101
|
# Get Create Variants Jobs
|
2102
|
-
# Get all catalog variant bulk create jobs.
|
2102
|
+
# Get all catalog variant bulk create jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2103
2103
|
# @param [Hash] opts the optional parameters
|
2104
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2105
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2106
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2104
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_create_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2105
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2106
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2107
2107
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2108
2108
|
def get_create_variants_jobs_with_http_info(opts = {})
|
2109
2109
|
if @api_client.config.debugging
|
2110
2110
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_create_variants_jobs ...'
|
2111
2111
|
end
|
2112
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2112
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2113
2113
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_create_job'] && !opts[:'fields_catalog_variant_bulk_create_job'].all? { |item| allowable_values.include?(item) }
|
2114
2114
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_create_job\", must include one of #{allowable_values}"
|
2115
2115
|
end
|
@@ -2125,7 +2125,7 @@ module KlaviyoAPI
|
|
2125
2125
|
# header parameters
|
2126
2126
|
header_params = opts[:header_params] || {}
|
2127
2127
|
# klaviyo api revision
|
2128
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2128
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2129
2129
|
# HTTP header 'Accept' (if needed)
|
2130
2130
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2131
2131
|
|
@@ -2162,7 +2162,7 @@ module KlaviyoAPI
|
|
2162
2162
|
# Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2163
2163
|
# @param job_id [String] ID of the job to retrieve.
|
2164
2164
|
# @param [Hash] opts the optional parameters
|
2165
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2165
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2166
2166
|
# @return [Hash<String, Object>]
|
2167
2167
|
def get_delete_categories_job(job_id, opts = {})
|
2168
2168
|
data, _status_code, _headers = get_delete_categories_job_with_http_info(job_id, opts)
|
@@ -2173,7 +2173,7 @@ module KlaviyoAPI
|
|
2173
2173
|
# Get a catalog category bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2174
2174
|
# @param job_id [String] ID of the job to retrieve.
|
2175
2175
|
# @param [Hash] opts the optional parameters
|
2176
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2176
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2177
2177
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2178
2178
|
def get_delete_categories_job_with_http_info(job_id, opts = {})
|
2179
2179
|
if @api_client.config.debugging
|
@@ -2183,7 +2183,7 @@ module KlaviyoAPI
|
|
2183
2183
|
if @api_client.config.client_side_validation && job_id.nil?
|
2184
2184
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_delete_categories_job"
|
2185
2185
|
end
|
2186
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2186
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2187
2187
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_delete_job'] && !opts[:'fields_catalog_category_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2188
2188
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_delete_job\", must include one of #{allowable_values}"
|
2189
2189
|
end
|
@@ -2197,7 +2197,7 @@ module KlaviyoAPI
|
|
2197
2197
|
# header parameters
|
2198
2198
|
header_params = opts[:header_params] || {}
|
2199
2199
|
# klaviyo api revision
|
2200
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2200
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2201
2201
|
# HTTP header 'Accept' (if needed)
|
2202
2202
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2203
2203
|
|
@@ -2231,11 +2231,11 @@ module KlaviyoAPI
|
|
2231
2231
|
end
|
2232
2232
|
|
2233
2233
|
# Get Delete Categories Jobs
|
2234
|
-
# Get all catalog category bulk delete jobs.
|
2234
|
+
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2235
2235
|
# @param [Hash] opts the optional parameters
|
2236
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2237
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2238
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2236
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2237
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2238
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2239
2239
|
# @return [Hash<String, Object>]
|
2240
2240
|
def get_delete_categories_jobs(opts = {})
|
2241
2241
|
data, _status_code, _headers = get_delete_categories_jobs_with_http_info(opts)
|
@@ -2243,17 +2243,17 @@ module KlaviyoAPI
|
|
2243
2243
|
end
|
2244
2244
|
|
2245
2245
|
# Get Delete Categories Jobs
|
2246
|
-
# Get all catalog category bulk delete jobs.
|
2246
|
+
# Get all catalog category bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2247
2247
|
# @param [Hash] opts the optional parameters
|
2248
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2249
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2250
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2248
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2249
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2250
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2251
2251
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2252
2252
|
def get_delete_categories_jobs_with_http_info(opts = {})
|
2253
2253
|
if @api_client.config.debugging
|
2254
2254
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_delete_categories_jobs ...'
|
2255
2255
|
end
|
2256
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2256
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2257
2257
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_delete_job'] && !opts[:'fields_catalog_category_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2258
2258
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_delete_job\", must include one of #{allowable_values}"
|
2259
2259
|
end
|
@@ -2269,7 +2269,7 @@ module KlaviyoAPI
|
|
2269
2269
|
# header parameters
|
2270
2270
|
header_params = opts[:header_params] || {}
|
2271
2271
|
# klaviyo api revision
|
2272
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2272
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2273
2273
|
# HTTP header 'Accept' (if needed)
|
2274
2274
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2275
2275
|
|
@@ -2306,7 +2306,7 @@ module KlaviyoAPI
|
|
2306
2306
|
# Get a catalog item bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2307
2307
|
# @param job_id [String] ID of the job to retrieve.
|
2308
2308
|
# @param [Hash] opts the optional parameters
|
2309
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2309
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2310
2310
|
# @return [Hash<String, Object>]
|
2311
2311
|
def get_delete_items_job(job_id, opts = {})
|
2312
2312
|
data, _status_code, _headers = get_delete_items_job_with_http_info(job_id, opts)
|
@@ -2317,7 +2317,7 @@ module KlaviyoAPI
|
|
2317
2317
|
# Get a catalog item bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2318
2318
|
# @param job_id [String] ID of the job to retrieve.
|
2319
2319
|
# @param [Hash] opts the optional parameters
|
2320
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2320
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2321
2321
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2322
2322
|
def get_delete_items_job_with_http_info(job_id, opts = {})
|
2323
2323
|
if @api_client.config.debugging
|
@@ -2327,7 +2327,7 @@ module KlaviyoAPI
|
|
2327
2327
|
if @api_client.config.client_side_validation && job_id.nil?
|
2328
2328
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_delete_items_job"
|
2329
2329
|
end
|
2330
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2330
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2331
2331
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_delete_job'] && !opts[:'fields_catalog_item_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2332
2332
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_delete_job\", must include one of #{allowable_values}"
|
2333
2333
|
end
|
@@ -2341,7 +2341,7 @@ module KlaviyoAPI
|
|
2341
2341
|
# header parameters
|
2342
2342
|
header_params = opts[:header_params] || {}
|
2343
2343
|
# klaviyo api revision
|
2344
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2344
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2345
2345
|
# HTTP header 'Accept' (if needed)
|
2346
2346
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2347
2347
|
|
@@ -2375,11 +2375,11 @@ module KlaviyoAPI
|
|
2375
2375
|
end
|
2376
2376
|
|
2377
2377
|
# Get Delete Items Jobs
|
2378
|
-
# Get all catalog item bulk delete jobs.
|
2378
|
+
# Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2379
2379
|
# @param [Hash] opts the optional parameters
|
2380
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2381
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2382
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2380
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2381
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2382
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2383
2383
|
# @return [Hash<String, Object>]
|
2384
2384
|
def get_delete_items_jobs(opts = {})
|
2385
2385
|
data, _status_code, _headers = get_delete_items_jobs_with_http_info(opts)
|
@@ -2387,17 +2387,17 @@ module KlaviyoAPI
|
|
2387
2387
|
end
|
2388
2388
|
|
2389
2389
|
# Get Delete Items Jobs
|
2390
|
-
# Get all catalog item bulk delete jobs.
|
2390
|
+
# Get all catalog item bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2391
2391
|
# @param [Hash] opts the optional parameters
|
2392
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2393
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2394
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2392
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2393
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2394
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2395
2395
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2396
2396
|
def get_delete_items_jobs_with_http_info(opts = {})
|
2397
2397
|
if @api_client.config.debugging
|
2398
2398
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_delete_items_jobs ...'
|
2399
2399
|
end
|
2400
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2400
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2401
2401
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_delete_job'] && !opts[:'fields_catalog_item_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2402
2402
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_delete_job\", must include one of #{allowable_values}"
|
2403
2403
|
end
|
@@ -2413,7 +2413,7 @@ module KlaviyoAPI
|
|
2413
2413
|
# header parameters
|
2414
2414
|
header_params = opts[:header_params] || {}
|
2415
2415
|
# klaviyo api revision
|
2416
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2416
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2417
2417
|
# HTTP header 'Accept' (if needed)
|
2418
2418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2419
2419
|
|
@@ -2450,7 +2450,7 @@ module KlaviyoAPI
|
|
2450
2450
|
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2451
2451
|
# @param job_id [String] ID of the job to retrieve.
|
2452
2452
|
# @param [Hash] opts the optional parameters
|
2453
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2453
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2454
2454
|
# @return [Hash<String, Object>]
|
2455
2455
|
def get_delete_variants_job(job_id, opts = {})
|
2456
2456
|
data, _status_code, _headers = get_delete_variants_job_with_http_info(job_id, opts)
|
@@ -2461,7 +2461,7 @@ module KlaviyoAPI
|
|
2461
2461
|
# Get a catalog variant bulk delete job with the given job ID.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2462
2462
|
# @param job_id [String] ID of the job to retrieve.
|
2463
2463
|
# @param [Hash] opts the optional parameters
|
2464
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2464
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2465
2465
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2466
2466
|
def get_delete_variants_job_with_http_info(job_id, opts = {})
|
2467
2467
|
if @api_client.config.debugging
|
@@ -2471,7 +2471,7 @@ module KlaviyoAPI
|
|
2471
2471
|
if @api_client.config.client_side_validation && job_id.nil?
|
2472
2472
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_delete_variants_job"
|
2473
2473
|
end
|
2474
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2474
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2475
2475
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_delete_job'] && !opts[:'fields_catalog_variant_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2476
2476
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_delete_job\", must include one of #{allowable_values}"
|
2477
2477
|
end
|
@@ -2485,7 +2485,7 @@ module KlaviyoAPI
|
|
2485
2485
|
# header parameters
|
2486
2486
|
header_params = opts[:header_params] || {}
|
2487
2487
|
# klaviyo api revision
|
2488
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2488
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2489
2489
|
# HTTP header 'Accept' (if needed)
|
2490
2490
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2491
2491
|
|
@@ -2519,11 +2519,11 @@ module KlaviyoAPI
|
|
2519
2519
|
end
|
2520
2520
|
|
2521
2521
|
# Get Delete Variants Jobs
|
2522
|
-
# Get all catalog variant bulk delete jobs.
|
2522
|
+
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2523
2523
|
# @param [Hash] opts the optional parameters
|
2524
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2525
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2526
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2524
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2525
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2526
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2527
2527
|
# @return [Hash<String, Object>]
|
2528
2528
|
def get_delete_variants_jobs(opts = {})
|
2529
2529
|
data, _status_code, _headers = get_delete_variants_jobs_with_http_info(opts)
|
@@ -2531,17 +2531,17 @@ module KlaviyoAPI
|
|
2531
2531
|
end
|
2532
2532
|
|
2533
2533
|
# Get Delete Variants Jobs
|
2534
|
-
# Get all catalog variant bulk delete jobs.
|
2534
|
+
# Get all catalog variant bulk delete jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2535
2535
|
# @param [Hash] opts the optional parameters
|
2536
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2537
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2538
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2536
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_delete_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2537
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2538
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2539
2539
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2540
2540
|
def get_delete_variants_jobs_with_http_info(opts = {})
|
2541
2541
|
if @api_client.config.debugging
|
2542
2542
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_delete_variants_jobs ...'
|
2543
2543
|
end
|
2544
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2544
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2545
2545
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_delete_job'] && !opts[:'fields_catalog_variant_bulk_delete_job'].all? { |item| allowable_values.include?(item) }
|
2546
2546
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_delete_job\", must include one of #{allowable_values}"
|
2547
2547
|
end
|
@@ -2557,7 +2557,7 @@ module KlaviyoAPI
|
|
2557
2557
|
# header parameters
|
2558
2558
|
header_params = opts[:header_params] || {}
|
2559
2559
|
# klaviyo api revision
|
2560
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2560
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2561
2561
|
# HTTP header 'Accept' (if needed)
|
2562
2562
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2563
2563
|
|
@@ -2591,12 +2591,12 @@ module KlaviyoAPI
|
|
2591
2591
|
end
|
2592
2592
|
|
2593
2593
|
# Get Update Categories Job
|
2594
|
-
# Get a catalog category bulk update job with the given job ID.
|
2594
|
+
# Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2595
2595
|
# @param job_id [String] ID of the job to retrieve.
|
2596
2596
|
# @param [Hash] opts the optional parameters
|
2597
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2598
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
2599
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2597
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2598
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2599
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2600
2600
|
# @return [Hash<String, Object>]
|
2601
2601
|
def get_update_categories_job(job_id, opts = {})
|
2602
2602
|
data, _status_code, _headers = get_update_categories_job_with_http_info(job_id, opts)
|
@@ -2604,12 +2604,12 @@ module KlaviyoAPI
|
|
2604
2604
|
end
|
2605
2605
|
|
2606
2606
|
# Get Update Categories Job
|
2607
|
-
# Get a catalog category bulk update job with the given job ID.
|
2607
|
+
# Get a catalog category bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `categories`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2608
2608
|
# @param job_id [String] ID of the job to retrieve.
|
2609
2609
|
# @param [Hash] opts the optional parameters
|
2610
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2611
|
-
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-
|
2612
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2610
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2611
|
+
# @option opts [Array<String>] :fields_catalog_category For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2612
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2613
2613
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2614
2614
|
def get_update_categories_job_with_http_info(job_id, opts = {})
|
2615
2615
|
if @api_client.config.debugging
|
@@ -2619,7 +2619,7 @@ module KlaviyoAPI
|
|
2619
2619
|
if @api_client.config.client_side_validation && job_id.nil?
|
2620
2620
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_categories_job"
|
2621
2621
|
end
|
2622
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2622
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2623
2623
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_update_job'] && !opts[:'fields_catalog_category_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2624
2624
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
2625
2625
|
end
|
@@ -2643,7 +2643,7 @@ module KlaviyoAPI
|
|
2643
2643
|
# header parameters
|
2644
2644
|
header_params = opts[:header_params] || {}
|
2645
2645
|
# klaviyo api revision
|
2646
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2646
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2647
2647
|
# HTTP header 'Accept' (if needed)
|
2648
2648
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2649
2649
|
|
@@ -2677,11 +2677,11 @@ module KlaviyoAPI
|
|
2677
2677
|
end
|
2678
2678
|
|
2679
2679
|
# Get Update Categories Jobs
|
2680
|
-
# Get all catalog category bulk update jobs.
|
2680
|
+
# Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2681
2681
|
# @param [Hash] opts the optional parameters
|
2682
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2683
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2684
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2682
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2683
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2684
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2685
2685
|
# @return [Hash<String, Object>]
|
2686
2686
|
def get_update_categories_jobs(opts = {})
|
2687
2687
|
data, _status_code, _headers = get_update_categories_jobs_with_http_info(opts)
|
@@ -2689,17 +2689,17 @@ module KlaviyoAPI
|
|
2689
2689
|
end
|
2690
2690
|
|
2691
2691
|
# Get Update Categories Jobs
|
2692
|
-
# Get all catalog category bulk update jobs.
|
2692
|
+
# Get all catalog category bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2693
2693
|
# @param [Hash] opts the optional parameters
|
2694
|
-
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2695
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2696
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2694
|
+
# @option opts [Array<String>] :fields_catalog_category_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2695
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2696
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2697
2697
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2698
2698
|
def get_update_categories_jobs_with_http_info(opts = {})
|
2699
2699
|
if @api_client.config.debugging
|
2700
2700
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_update_categories_jobs ...'
|
2701
2701
|
end
|
2702
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2702
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2703
2703
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_category_bulk_update_job'] && !opts[:'fields_catalog_category_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2704
2704
|
fail ArgumentError, "invalid value for \"fields_catalog_category_bulk_update_job\", must include one of #{allowable_values}"
|
2705
2705
|
end
|
@@ -2715,7 +2715,7 @@ module KlaviyoAPI
|
|
2715
2715
|
# header parameters
|
2716
2716
|
header_params = opts[:header_params] || {}
|
2717
2717
|
# klaviyo api revision
|
2718
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2718
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2719
2719
|
# HTTP header 'Accept' (if needed)
|
2720
2720
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2721
2721
|
|
@@ -2749,12 +2749,12 @@ module KlaviyoAPI
|
|
2749
2749
|
end
|
2750
2750
|
|
2751
2751
|
# Get Update Items Job
|
2752
|
-
# Get a catalog item bulk update job with the given job ID.
|
2752
|
+
# Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2753
2753
|
# @param job_id [String] ID of the job to retrieve.
|
2754
2754
|
# @param [Hash] opts the optional parameters
|
2755
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2756
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
2757
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2755
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2756
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2757
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2758
2758
|
# @return [Hash<String, Object>]
|
2759
2759
|
def get_update_items_job(job_id, opts = {})
|
2760
2760
|
data, _status_code, _headers = get_update_items_job_with_http_info(job_id, opts)
|
@@ -2762,12 +2762,12 @@ module KlaviyoAPI
|
|
2762
2762
|
end
|
2763
2763
|
|
2764
2764
|
# Get Update Items Job
|
2765
|
-
# Get a catalog item bulk update job with the given job ID.
|
2765
|
+
# Get a catalog item bulk update job with the given job ID. An `include` parameter can be provided to get the following related resource data: `items`.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2766
2766
|
# @param job_id [String] ID of the job to retrieve.
|
2767
2767
|
# @param [Hash] opts the optional parameters
|
2768
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2769
|
-
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-
|
2770
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2768
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2769
|
+
# @option opts [Array<String>] :fields_catalog_item For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2770
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2771
2771
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2772
2772
|
def get_update_items_job_with_http_info(job_id, opts = {})
|
2773
2773
|
if @api_client.config.debugging
|
@@ -2777,7 +2777,7 @@ module KlaviyoAPI
|
|
2777
2777
|
if @api_client.config.client_side_validation && job_id.nil?
|
2778
2778
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_items_job"
|
2779
2779
|
end
|
2780
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2780
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2781
2781
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_update_job'] && !opts[:'fields_catalog_item_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2782
2782
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_update_job\", must include one of #{allowable_values}"
|
2783
2783
|
end
|
@@ -2801,7 +2801,7 @@ module KlaviyoAPI
|
|
2801
2801
|
# header parameters
|
2802
2802
|
header_params = opts[:header_params] || {}
|
2803
2803
|
# klaviyo api revision
|
2804
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2804
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2805
2805
|
# HTTP header 'Accept' (if needed)
|
2806
2806
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2807
2807
|
|
@@ -2835,11 +2835,11 @@ module KlaviyoAPI
|
|
2835
2835
|
end
|
2836
2836
|
|
2837
2837
|
# Get Update Items Jobs
|
2838
|
-
# Get all catalog item bulk update jobs.
|
2838
|
+
# Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2839
2839
|
# @param [Hash] opts the optional parameters
|
2840
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2841
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2842
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2840
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2841
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2842
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2843
2843
|
# @return [Hash<String, Object>]
|
2844
2844
|
def get_update_items_jobs(opts = {})
|
2845
2845
|
data, _status_code, _headers = get_update_items_jobs_with_http_info(opts)
|
@@ -2847,17 +2847,17 @@ module KlaviyoAPI
|
|
2847
2847
|
end
|
2848
2848
|
|
2849
2849
|
# Get Update Items Jobs
|
2850
|
-
# Get all catalog item bulk update jobs.
|
2850
|
+
# Get all catalog item bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2851
2851
|
# @param [Hash] opts the optional parameters
|
2852
|
-
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2853
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
2854
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2852
|
+
# @option opts [Array<String>] :fields_catalog_item_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2853
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
2854
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
2855
2855
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2856
2856
|
def get_update_items_jobs_with_http_info(opts = {})
|
2857
2857
|
if @api_client.config.debugging
|
2858
2858
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_update_items_jobs ...'
|
2859
2859
|
end
|
2860
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2860
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2861
2861
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_item_bulk_update_job'] && !opts[:'fields_catalog_item_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2862
2862
|
fail ArgumentError, "invalid value for \"fields_catalog_item_bulk_update_job\", must include one of #{allowable_values}"
|
2863
2863
|
end
|
@@ -2873,7 +2873,7 @@ module KlaviyoAPI
|
|
2873
2873
|
# header parameters
|
2874
2874
|
header_params = opts[:header_params] || {}
|
2875
2875
|
# klaviyo api revision
|
2876
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2876
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2877
2877
|
# HTTP header 'Accept' (if needed)
|
2878
2878
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2879
2879
|
|
@@ -2907,12 +2907,12 @@ module KlaviyoAPI
|
|
2907
2907
|
end
|
2908
2908
|
|
2909
2909
|
# Get Update Variants Job
|
2910
|
-
# Get a catalog variate bulk update job with the given job ID.
|
2910
|
+
# Get a catalog variate bulk update job with the given job ID. An `include` parameter 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`
|
2911
2911
|
# @param job_id [String] ID of the job to retrieve.
|
2912
2912
|
# @param [Hash] opts the optional parameters
|
2913
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2914
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
2915
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2913
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2914
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2915
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2916
2916
|
# @return [Hash<String, Object>]
|
2917
2917
|
def get_update_variants_job(job_id, opts = {})
|
2918
2918
|
data, _status_code, _headers = get_update_variants_job_with_http_info(job_id, opts)
|
@@ -2920,12 +2920,12 @@ module KlaviyoAPI
|
|
2920
2920
|
end
|
2921
2921
|
|
2922
2922
|
# Get Update Variants Job
|
2923
|
-
# Get a catalog variate bulk update job with the given job ID.
|
2923
|
+
# Get a catalog variate bulk update job with the given job ID. An `include` parameter 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`
|
2924
2924
|
# @param job_id [String] ID of the job to retrieve.
|
2925
2925
|
# @param [Hash] opts the optional parameters
|
2926
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2927
|
-
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-
|
2928
|
-
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-
|
2926
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2927
|
+
# @option opts [Array<String>] :fields_catalog_variant For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2928
|
+
# @option opts [Array<String>] :include For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#relationships
|
2929
2929
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
2930
2930
|
def get_update_variants_job_with_http_info(job_id, opts = {})
|
2931
2931
|
if @api_client.config.debugging
|
@@ -2935,7 +2935,7 @@ module KlaviyoAPI
|
|
2935
2935
|
if @api_client.config.client_side_validation && job_id.nil?
|
2936
2936
|
fail ArgumentError, "Missing the required parameter 'job_id' when calling CatalogsApi.get_update_variants_job"
|
2937
2937
|
end
|
2938
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
2938
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
2939
2939
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_update_job'] && !opts[:'fields_catalog_variant_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
2940
2940
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_update_job\", must include one of #{allowable_values}"
|
2941
2941
|
end
|
@@ -2959,7 +2959,7 @@ module KlaviyoAPI
|
|
2959
2959
|
# header parameters
|
2960
2960
|
header_params = opts[:header_params] || {}
|
2961
2961
|
# klaviyo api revision
|
2962
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
2962
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
2963
2963
|
# HTTP header 'Accept' (if needed)
|
2964
2964
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2965
2965
|
|
@@ -2993,11 +2993,11 @@ module KlaviyoAPI
|
|
2993
2993
|
end
|
2994
2994
|
|
2995
2995
|
# Get Update Variants Jobs
|
2996
|
-
# Get all catalog variant bulk update jobs.
|
2996
|
+
# Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
2997
2997
|
# @param [Hash] opts the optional parameters
|
2998
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
2999
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
3000
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
2998
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
2999
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3000
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
3001
3001
|
# @return [Hash<String, Object>]
|
3002
3002
|
def get_update_variants_jobs(opts = {})
|
3003
3003
|
data, _status_code, _headers = get_update_variants_jobs_with_http_info(opts)
|
@@ -3005,17 +3005,17 @@ module KlaviyoAPI
|
|
3005
3005
|
end
|
3006
3006
|
|
3007
3007
|
# Get Update Variants Jobs
|
3008
|
-
# Get all catalog variant bulk update jobs.
|
3008
|
+
# Get all catalog variant bulk update jobs. Returns a maximum of 100 jobs per request.<br><br>*Rate limits*:<br>Burst: `350/s`<br>Steady: `3500/m` **Scopes:** `catalogs:read`
|
3009
3009
|
# @param [Hash] opts the optional parameters
|
3010
|
-
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-
|
3011
|
-
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-
|
3012
|
-
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-
|
3010
|
+
# @option opts [Array<String>] :fields_catalog_variant_bulk_update_job For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#sparse-fieldsets
|
3011
|
+
# @option opts [String] :filter For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>`status`: `equals`
|
3012
|
+
# @option opts [String] :page_cursor For more information please visit https://developers.klaviyo.com/en/v2023-08-15/reference/api-overview#pagination
|
3013
3013
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
3014
3014
|
def get_update_variants_jobs_with_http_info(opts = {})
|
3015
3015
|
if @api_client.config.debugging
|
3016
3016
|
@api_client.config.logger.debug 'Calling API: CatalogsApi.get_update_variants_jobs ...'
|
3017
3017
|
end
|
3018
|
-
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "
|
3018
|
+
allowable_values = ["job_id", "status", "created_at", "total_count", "completed_count", "failed_count", "completed_at", "errors", "expires_at"]
|
3019
3019
|
if @api_client.config.client_side_validation && opts[:'fields_catalog_variant_bulk_update_job'] && !opts[:'fields_catalog_variant_bulk_update_job'].all? { |item| allowable_values.include?(item) }
|
3020
3020
|
fail ArgumentError, "invalid value for \"fields_catalog_variant_bulk_update_job\", must include one of #{allowable_values}"
|
3021
3021
|
end
|
@@ -3031,7 +3031,7 @@ module KlaviyoAPI
|
|
3031
3031
|
# header parameters
|
3032
3032
|
header_params = opts[:header_params] || {}
|
3033
3033
|
# klaviyo api revision
|
3034
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3034
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3035
3035
|
# HTTP header 'Accept' (if needed)
|
3036
3036
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3037
3037
|
|
@@ -3065,7 +3065,7 @@ module KlaviyoAPI
|
|
3065
3065
|
end
|
3066
3066
|
|
3067
3067
|
# Spawn Create Categories Job
|
3068
|
-
# Create a catalog category bulk create job to create a batch of catalog categories.
|
3068
|
+
# Create a catalog category bulk create job to create a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3069
3069
|
# @param catalog_category_create_job_create_query [CatalogCategoryCreateJobCreateQuery]
|
3070
3070
|
# @param [Hash] opts the optional parameters
|
3071
3071
|
# @return [Hash<String, Object>]
|
@@ -3075,7 +3075,7 @@ module KlaviyoAPI
|
|
3075
3075
|
end
|
3076
3076
|
|
3077
3077
|
# Spawn Create Categories Job
|
3078
|
-
# Create a catalog category bulk create job to create a batch of catalog categories.
|
3078
|
+
# Create a catalog category bulk create job to create a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3079
3079
|
# @param catalog_category_create_job_create_query [CatalogCategoryCreateJobCreateQuery]
|
3080
3080
|
# @param [Hash] opts the optional parameters
|
3081
3081
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3096,7 +3096,7 @@ module KlaviyoAPI
|
|
3096
3096
|
# header parameters
|
3097
3097
|
header_params = opts[:header_params] || {}
|
3098
3098
|
# klaviyo api revision
|
3099
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3099
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3100
3100
|
# HTTP header 'Accept' (if needed)
|
3101
3101
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3102
3102
|
# HTTP header 'Content-Type'
|
@@ -3135,7 +3135,7 @@ module KlaviyoAPI
|
|
3135
3135
|
end
|
3136
3136
|
|
3137
3137
|
# Spawn Create Items Job
|
3138
|
-
# Create a catalog item bulk create job to create a batch of catalog items.
|
3138
|
+
# Create a catalog item bulk create job to create a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3139
3139
|
# @param catalog_item_create_job_create_query [CatalogItemCreateJobCreateQuery]
|
3140
3140
|
# @param [Hash] opts the optional parameters
|
3141
3141
|
# @return [Hash<String, Object>]
|
@@ -3145,7 +3145,7 @@ module KlaviyoAPI
|
|
3145
3145
|
end
|
3146
3146
|
|
3147
3147
|
# Spawn Create Items Job
|
3148
|
-
# Create a catalog item bulk create job to create a batch of catalog items.
|
3148
|
+
# Create a catalog item bulk create job to create a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3149
3149
|
# @param catalog_item_create_job_create_query [CatalogItemCreateJobCreateQuery]
|
3150
3150
|
# @param [Hash] opts the optional parameters
|
3151
3151
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3166,7 +3166,7 @@ module KlaviyoAPI
|
|
3166
3166
|
# header parameters
|
3167
3167
|
header_params = opts[:header_params] || {}
|
3168
3168
|
# klaviyo api revision
|
3169
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3169
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3170
3170
|
# HTTP header 'Accept' (if needed)
|
3171
3171
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3172
3172
|
# HTTP header 'Content-Type'
|
@@ -3205,7 +3205,7 @@ module KlaviyoAPI
|
|
3205
3205
|
end
|
3206
3206
|
|
3207
3207
|
# Spawn Create Variants Job
|
3208
|
-
# Create a catalog variant bulk create job to create a batch of catalog variants.
|
3208
|
+
# Create a catalog variant bulk create job to create a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3209
3209
|
# @param catalog_variant_create_job_create_query [CatalogVariantCreateJobCreateQuery]
|
3210
3210
|
# @param [Hash] opts the optional parameters
|
3211
3211
|
# @return [Hash<String, Object>]
|
@@ -3215,7 +3215,7 @@ module KlaviyoAPI
|
|
3215
3215
|
end
|
3216
3216
|
|
3217
3217
|
# Spawn Create Variants Job
|
3218
|
-
# Create a catalog variant bulk create job to create a batch of catalog variants.
|
3218
|
+
# Create a catalog variant bulk create job to create a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3219
3219
|
# @param catalog_variant_create_job_create_query [CatalogVariantCreateJobCreateQuery]
|
3220
3220
|
# @param [Hash] opts the optional parameters
|
3221
3221
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3236,7 +3236,7 @@ module KlaviyoAPI
|
|
3236
3236
|
# header parameters
|
3237
3237
|
header_params = opts[:header_params] || {}
|
3238
3238
|
# klaviyo api revision
|
3239
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3239
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3240
3240
|
# HTTP header 'Accept' (if needed)
|
3241
3241
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3242
3242
|
# HTTP header 'Content-Type'
|
@@ -3275,7 +3275,7 @@ module KlaviyoAPI
|
|
3275
3275
|
end
|
3276
3276
|
|
3277
3277
|
# Spawn Delete Categories Job
|
3278
|
-
# Create a catalog category bulk delete job to delete a batch of catalog categories.
|
3278
|
+
# Create a catalog category bulk delete job to delete a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3279
3279
|
# @param catalog_category_delete_job_create_query [CatalogCategoryDeleteJobCreateQuery]
|
3280
3280
|
# @param [Hash] opts the optional parameters
|
3281
3281
|
# @return [Hash<String, Object>]
|
@@ -3285,7 +3285,7 @@ module KlaviyoAPI
|
|
3285
3285
|
end
|
3286
3286
|
|
3287
3287
|
# Spawn Delete Categories Job
|
3288
|
-
# Create a catalog category bulk delete job to delete a batch of catalog categories.
|
3288
|
+
# Create a catalog category bulk delete job to delete a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3289
3289
|
# @param catalog_category_delete_job_create_query [CatalogCategoryDeleteJobCreateQuery]
|
3290
3290
|
# @param [Hash] opts the optional parameters
|
3291
3291
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3306,7 +3306,7 @@ module KlaviyoAPI
|
|
3306
3306
|
# header parameters
|
3307
3307
|
header_params = opts[:header_params] || {}
|
3308
3308
|
# klaviyo api revision
|
3309
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3309
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3310
3310
|
# HTTP header 'Accept' (if needed)
|
3311
3311
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3312
3312
|
# HTTP header 'Content-Type'
|
@@ -3345,7 +3345,7 @@ module KlaviyoAPI
|
|
3345
3345
|
end
|
3346
3346
|
|
3347
3347
|
# Spawn Delete Items Job
|
3348
|
-
# Create a catalog item bulk delete job to delete a batch of catalog items.
|
3348
|
+
# Create a catalog item bulk delete job to delete a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3349
3349
|
# @param catalog_item_delete_job_create_query [CatalogItemDeleteJobCreateQuery]
|
3350
3350
|
# @param [Hash] opts the optional parameters
|
3351
3351
|
# @return [Hash<String, Object>]
|
@@ -3355,7 +3355,7 @@ module KlaviyoAPI
|
|
3355
3355
|
end
|
3356
3356
|
|
3357
3357
|
# Spawn Delete Items Job
|
3358
|
-
# Create a catalog item bulk delete job to delete a batch of catalog items.
|
3358
|
+
# Create a catalog item bulk delete job to delete a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3359
3359
|
# @param catalog_item_delete_job_create_query [CatalogItemDeleteJobCreateQuery]
|
3360
3360
|
# @param [Hash] opts the optional parameters
|
3361
3361
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3376,7 +3376,7 @@ module KlaviyoAPI
|
|
3376
3376
|
# header parameters
|
3377
3377
|
header_params = opts[:header_params] || {}
|
3378
3378
|
# klaviyo api revision
|
3379
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3379
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3380
3380
|
# HTTP header 'Accept' (if needed)
|
3381
3381
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3382
3382
|
# HTTP header 'Content-Type'
|
@@ -3415,7 +3415,7 @@ module KlaviyoAPI
|
|
3415
3415
|
end
|
3416
3416
|
|
3417
3417
|
# Spawn Delete Variants Job
|
3418
|
-
# Create a catalog variant bulk delete job to delete a batch of catalog variants.
|
3418
|
+
# Create a catalog variant bulk delete job to delete a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3419
3419
|
# @param catalog_variant_delete_job_create_query [CatalogVariantDeleteJobCreateQuery]
|
3420
3420
|
# @param [Hash] opts the optional parameters
|
3421
3421
|
# @return [Hash<String, Object>]
|
@@ -3425,7 +3425,7 @@ module KlaviyoAPI
|
|
3425
3425
|
end
|
3426
3426
|
|
3427
3427
|
# Spawn Delete Variants Job
|
3428
|
-
# Create a catalog variant bulk delete job to delete a batch of catalog variants.
|
3428
|
+
# Create a catalog variant bulk delete job to delete a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3429
3429
|
# @param catalog_variant_delete_job_create_query [CatalogVariantDeleteJobCreateQuery]
|
3430
3430
|
# @param [Hash] opts the optional parameters
|
3431
3431
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3446,7 +3446,7 @@ module KlaviyoAPI
|
|
3446
3446
|
# header parameters
|
3447
3447
|
header_params = opts[:header_params] || {}
|
3448
3448
|
# klaviyo api revision
|
3449
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3449
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3450
3450
|
# HTTP header 'Accept' (if needed)
|
3451
3451
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3452
3452
|
# HTTP header 'Content-Type'
|
@@ -3485,7 +3485,7 @@ module KlaviyoAPI
|
|
3485
3485
|
end
|
3486
3486
|
|
3487
3487
|
# Spawn Update Categories Job
|
3488
|
-
# Create a catalog category bulk update job to update a batch of catalog categories.
|
3488
|
+
# Create a catalog category bulk update job to update a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3489
3489
|
# @param catalog_category_update_job_create_query [CatalogCategoryUpdateJobCreateQuery]
|
3490
3490
|
# @param [Hash] opts the optional parameters
|
3491
3491
|
# @return [Hash<String, Object>]
|
@@ -3495,7 +3495,7 @@ module KlaviyoAPI
|
|
3495
3495
|
end
|
3496
3496
|
|
3497
3497
|
# Spawn Update Categories Job
|
3498
|
-
# Create a catalog category bulk update job to update a batch of catalog categories.
|
3498
|
+
# Create a catalog category bulk update job to update a batch of catalog categories. Accepts up to 100 catalog categories per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3499
3499
|
# @param catalog_category_update_job_create_query [CatalogCategoryUpdateJobCreateQuery]
|
3500
3500
|
# @param [Hash] opts the optional parameters
|
3501
3501
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3516,7 +3516,7 @@ module KlaviyoAPI
|
|
3516
3516
|
# header parameters
|
3517
3517
|
header_params = opts[:header_params] || {}
|
3518
3518
|
# klaviyo api revision
|
3519
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3519
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3520
3520
|
# HTTP header 'Accept' (if needed)
|
3521
3521
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3522
3522
|
# HTTP header 'Content-Type'
|
@@ -3555,7 +3555,7 @@ module KlaviyoAPI
|
|
3555
3555
|
end
|
3556
3556
|
|
3557
3557
|
# Spawn Update Items Job
|
3558
|
-
# Create a catalog item bulk update job to update a batch of catalog items.
|
3558
|
+
# Create a catalog item bulk update job to update a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3559
3559
|
# @param catalog_item_update_job_create_query [CatalogItemUpdateJobCreateQuery]
|
3560
3560
|
# @param [Hash] opts the optional parameters
|
3561
3561
|
# @return [Hash<String, Object>]
|
@@ -3565,7 +3565,7 @@ module KlaviyoAPI
|
|
3565
3565
|
end
|
3566
3566
|
|
3567
3567
|
# Spawn Update Items Job
|
3568
|
-
# Create a catalog item bulk update job to update a batch of catalog items.
|
3568
|
+
# Create a catalog item bulk update job to update a batch of catalog items. Accepts up to 100 catalog items per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3569
3569
|
# @param catalog_item_update_job_create_query [CatalogItemUpdateJobCreateQuery]
|
3570
3570
|
# @param [Hash] opts the optional parameters
|
3571
3571
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3586,7 +3586,7 @@ module KlaviyoAPI
|
|
3586
3586
|
# header parameters
|
3587
3587
|
header_params = opts[:header_params] || {}
|
3588
3588
|
# klaviyo api revision
|
3589
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3589
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3590
3590
|
# HTTP header 'Accept' (if needed)
|
3591
3591
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3592
3592
|
# HTTP header 'Content-Type'
|
@@ -3625,7 +3625,7 @@ module KlaviyoAPI
|
|
3625
3625
|
end
|
3626
3626
|
|
3627
3627
|
# Spawn Update Variants Job
|
3628
|
-
# Create a catalog variant bulk update job to update a batch of catalog variants.
|
3628
|
+
# Create a catalog variant bulk update job to update a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3629
3629
|
# @param catalog_variant_update_job_create_query [CatalogVariantUpdateJobCreateQuery]
|
3630
3630
|
# @param [Hash] opts the optional parameters
|
3631
3631
|
# @return [Hash<String, Object>]
|
@@ -3635,7 +3635,7 @@ module KlaviyoAPI
|
|
3635
3635
|
end
|
3636
3636
|
|
3637
3637
|
# Spawn Update Variants Job
|
3638
|
-
# Create a catalog variant bulk update job to update a batch of catalog variants.
|
3638
|
+
# Create a catalog variant bulk update job to update a batch of catalog variants. Accepts up to 100 catalog variants per request. The maximum allowed payload size is 4MB.<br><br>*Rate limits*:<br>Burst: `75/s`<br>Steady: `700/m` **Scopes:** `catalogs:write`
|
3639
3639
|
# @param catalog_variant_update_job_create_query [CatalogVariantUpdateJobCreateQuery]
|
3640
3640
|
# @param [Hash] opts the optional parameters
|
3641
3641
|
# @return [Array<(Hash<String, Object>, Integer, Hash)>] Hash<String, Object> data, response status code and response headers
|
@@ -3656,7 +3656,7 @@ module KlaviyoAPI
|
|
3656
3656
|
# header parameters
|
3657
3657
|
header_params = opts[:header_params] || {}
|
3658
3658
|
# klaviyo api revision
|
3659
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3659
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3660
3660
|
# HTTP header 'Accept' (if needed)
|
3661
3661
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3662
3662
|
# HTTP header 'Content-Type'
|
@@ -3732,7 +3732,7 @@ module KlaviyoAPI
|
|
3732
3732
|
# header parameters
|
3733
3733
|
header_params = opts[:header_params] || {}
|
3734
3734
|
# klaviyo api revision
|
3735
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3735
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3736
3736
|
# HTTP header 'Accept' (if needed)
|
3737
3737
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3738
3738
|
# HTTP header 'Content-Type'
|
@@ -3808,7 +3808,7 @@ module KlaviyoAPI
|
|
3808
3808
|
# header parameters
|
3809
3809
|
header_params = opts[:header_params] || {}
|
3810
3810
|
# klaviyo api revision
|
3811
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3811
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3812
3812
|
# HTTP header 'Accept' (if needed)
|
3813
3813
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3814
3814
|
# HTTP header 'Content-Type'
|
@@ -3884,7 +3884,7 @@ module KlaviyoAPI
|
|
3884
3884
|
# header parameters
|
3885
3885
|
header_params = opts[:header_params] || {}
|
3886
3886
|
# klaviyo api revision
|
3887
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3887
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3888
3888
|
# HTTP header 'Accept' (if needed)
|
3889
3889
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3890
3890
|
# HTTP header 'Content-Type'
|
@@ -3960,7 +3960,7 @@ module KlaviyoAPI
|
|
3960
3960
|
# header parameters
|
3961
3961
|
header_params = opts[:header_params] || {}
|
3962
3962
|
# klaviyo api revision
|
3963
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
3963
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
3964
3964
|
# HTTP header 'Accept' (if needed)
|
3965
3965
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3966
3966
|
# HTTP header 'Content-Type'
|
@@ -4036,7 +4036,7 @@ module KlaviyoAPI
|
|
4036
4036
|
# header parameters
|
4037
4037
|
header_params = opts[:header_params] || {}
|
4038
4038
|
# klaviyo api revision
|
4039
|
-
header_params['revision'] = ENV['API_REVISION'] || "2023-
|
4039
|
+
header_params['revision'] = ENV['API_REVISION'] || "2023-08-15"
|
4040
4040
|
# HTTP header 'Accept' (if needed)
|
4041
4041
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4042
4042
|
# HTTP header 'Content-Type'
|