PATCH
/
transform
/
v1
/
workflows
/
{id}
curl --request PATCH \
  --url https://api.invopop.com/transform/v1/workflows/{id} \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'description=<string>' \
  --data 'name=<string>' \
  --data 'steps=[
  {}
]'
{
  "country": "<string>",
  "created_at": "<string>",
  "description": "<string>",
  "disabled": true,
  "id": "186522a6-e697-4e34-8498-eee961bcb845",
  "name": "<string>",
  "schema": "<string>",
  "steps": [
    {}
  ],
  "updated_at": "<string>",
  "version": "<string>"
}

Path Parameters

id
string
required

UUID of the workflow to update.

Query Parameters

name
string

New name for the workflow.

description
string

Updated description.

steps
object[]

Array of Steps to use for this workflow.

Body

application/x-www-form-urlencoded
description
string

Updated description.

name
string

New name for the workflow.

steps
object[] | null

Array of Steps to use for this workflow.

Response

200 - application/json
country
string

ISO country code the workflow will be used for.

created_at
string

When the workflow was created.

description
string

Description of the workflow

disabled
boolean

When true, this workflow can no longer be used.

id
string

The UUID (any version) of the workflow.

name
string

Name of the workflow

schema
string

Short schema name that the workflow will be allowed to process.

steps
object[] | null

List of steps to execute

updated_at
string

When the workflow was last updated.

version
string

Version of the workflow's contents currently defined.