Campaigns

Copy Campaign

Creates a copy of the given Campaign, duplicating its segment and content records. The copy is created in an unsent state with no scheduled_at or sent_at values. Optionally provide a name for the copy; defaults to the original campaign's name if omitted.

post/shop/customers/campaigns/{campaignId}/copy

Request body

namestring

The display name for the copied campaign. Defaults to the original campaign's name if not provided.

Example request

{
  "name": "Summer Promotion 2024 (Copy)"
}

Response

The campaign was successfully retrieved.

Example response

{
  "data": {
    "name": "Summer Promotion 2024",
    "progress": 42.5,
    "segment": {
      "name": "Premium Members"
    },
    "status": "unsent"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.