POST:workflows.json
Commerce APIPOST:workflows.json

POST:workflows.json

Description

Modify one or multiple workflow endpoints.

Permission bit: "workflows.modify"

Topic: Workflows

Query Parameters

ids: Comma-separated array of String, required

List of workflow ids. See also: Unique Identifiers

Example: ?ids=wf_EQzGqWoY,wf_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of WorkflowModify

[
  {
    "api_key_id": "ke_EQzGqWoY",
    "description": "",
    "enabled": true,
    "name": "Tag orders",
    "script": "",
    "trigger": "product.created"
  }
]

Response Body

Array of Workflow

Response Body Type

Loading module