Klaviyo · Schema

CampaignCloneQueryResourceObject

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
type object
id string The campaign ID to be cloned
attributes object
View JSON Schema on GitHub

JSON Schema

klaviyo-campaignclonequeryresourceobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CampaignCloneQueryResourceObject",
  "title": "CampaignCloneQueryResourceObject",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/CampaignEnum"
    },
    "id": {
      "description": "The campaign ID to be cloned",
      "type": "string"
    },
    "attributes": {
      "type": "object",
      "properties": {
        "new_name": {
          "description": "The name for the new cloned campaign",
          "type": "string",
          "example": "My cloned campaign's new name",
          "nullable": true
        }
      }
    }
  },
  "required": [
    "type",
    "id",
    "attributes"
  ]
}