PUT
/
transform
/
v1
/
workflows
/
{id}
curl --request PUT \
  --url https://api.invopop.com/transform/v1/workflows/{id} \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data country=ES \
  --data 'description=<string>' \
  --data 'name=<string>' \
  --data schema=bill/invoice \
  --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 (any version) of the workflow to create.

Query Parameters

name
string

Name of the workflow.

description
string

Description of the workflow.

schema
string

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

country
string

ISO country code the workflow will be used in.

steps
object[]

Array of Steps to use for this workflow.

Body

application/x-www-form-urlencoded
country
string

ISO country code the workflow will be used in.

description
string

Description 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

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.