Skip to main content
PATCH
/
consumers
/
{consumer_id}
/
syncs
/
{syncid}
/
flows
/
{flowid}
Update flow settings for a specific consumer
curl --request PATCH \
  --url https://api.chift.eu/consumers/{consumer_id}/syncs/{syncid}/flows/{flowid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "triggerid": "trigger-1",
  "data": {}
}
'
{
  "message": "The flow is not yet activated for this consumer",
  "status": "error"
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

syncid
string<uuid>
required
flowid
string<uuid>
required
consumer_id
string<uuid>
required

Body

application/json
triggerid
string | null
default:trigger-1
data
Data · object

Object containing the configuration of the flow for the consumer

Response

Successful Response