Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2024-06-15/reference/update_campaign_send_job.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2024-06-15

You're reading the reference for API revision 2024-06-15. The latest revision is 2026-10-15. See this page in the latest revision.

Update Campaign Send Job

PATCHhttps://a.klaviyo.com/api/campaign-send-jobs/{id}/

Permanently cancel the campaign, setting the status to CANCELED or revert the campaign, setting the status back to DRAFT

Revision header
revision: 2024-06-15required
Scopes
campaigns:write
Rate limits
Burst: 10/sSteady: 150/m

Path parameters

  • id#stringrequired

    The ID of the currently sending campaign to cancel or revert

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2024-06-15

Request body

Content type: application/jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • campaign-send-job
    • id#stringrequired

      The ID of the currently sending campaign to cancel or revert

    • attributes#objectrequired
      Show 1 field
      • action#stringrequired

        The action you would like to take with this send job from among 'cancel' and 'revert'

        Example: cancel

Responses

204Success

This response has no body.

4XXClient Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string