Workflows

Duplicate a workflow

Changed on

Copy a workflow as a new draft. Omit target_shop_id to copy inside the same shop; name another shop on the same account to copy across, in which case product, list and group references are stripped because they mean nothing there. The copy is never published.

post/workflows/{workflow_id}/duplicate

Request

  • Base URL
    https://api.reacherapp.com/public/v1
  • URL
    https://api.reacherapp.com/public/v1/workflows/{workflow_id}/duplicate
  • Auth
    API key in header x-api-key and API key in header x-shop-id

Path parameters

workflow_idstring required

The workflow's uuid, as POST /workflows/list returns it.

Headers

Idempotency-Keystring nullable

Request body

target_shop_idinteger nullable

Shop to copy into. Omit to copy inside the same shop. A different shop must be one this api key is authorized for, on the same account.

namestring nullable

Response

Successful Response

Changes