Skip to main content
PATCH
/
consumers
/
{consumer_id}
/
syncs
/
{syncid}
Update flow mappings for a specific consumer
curl --request PATCH \
  --url https://api.chift.eu/consumers/{consumer_id}/syncs/{syncid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "name": "<string>",
    "values": [
      {
        "source_id": "<string>",
        "target_id": "<string>"
      }
    ],
    "hidden_source_ids": [
      "<string>"
    ],
    "sub_mapping_name": "<string>",
    "description": "<string>",
    "display_order": 0,
    "challenge_question": "<string>",
    "conditions": {},
    "sub_mapping_description": "<string>"
  }
]
'
{
  "message": "The flow is not yet activated for this consumer",
  "status": "error"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chift.eu/llms.txt

Use this file to discover all available pages before exploring further.

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
consumer_id
string<uuid>
required

Body

application/json
name
string
required
values
ReadMappingItem · object[]
required
hidden_source_ids
string[]
required
sub_mapping_name
string
required
description
string | null
display_order
integer
default:0
challenge_question
string | null
conditions
Conditions · object
sub_mapping_description
string | null

Response

Successful Response