Campaign Content & Challenges

Edit or pause a micro-challenge template

Partial update of a RECURRING template — name, window (start_dow/start_time/end_dow/end_time, or an equivalent nested schedule object), pricing, excluded creators, or status: paused to stop it producing new instances.

Affects FUTURE instances only: windows already materialized are never rewritten. When a not-yet-started instance exists for the template, it is returned as already_scheduled_instance so the caller can see what the edit did not touch. Ownership is enforced on the full (template, campaign, shop) triple — a template id from another campaign 404s.

Requires read_write scope and an Idempotency-Key; X-Dry-Run: true echoes the patch without applying it.

patch/campaigns/{campaign_id}/micro-challenges/{template_id}

Request

  • Base URL
    https://api.reacherapp.com/public/v1
  • URL
    https://api.reacherapp.com/public/v1/campaigns/{campaign_id}/micro-challenges/{template_id}
  • Auth
    API key in header x-api-key and API key in header x-shop-id

Path parameters

campaign_idinteger required
template_idinteger required

Headers

Idempotency-Keystring nullable
X-Dry-Runstring nullable

Request body

namestring nullable
start_dowinteger nullable
start_timestring time nullable
end_dowinteger nullable
end_timestring time nullable
excluded_creator_idsinteger[] nullable
status'active' | 'paused' nullable

Response

Successful Response

unknown required

Changes

No operation changes recorded.