PATCH
/
consumers
/
{consumerid}
/
syncs
/
{syncid}
Update flow mappings for a specific consumer
curl --request PATCH \
  --url https://api.chift.eu/consumers/{consumerid}/syncs/{syncid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "name": "<string>",
    "description": "<string>",
    "display_order": 0,
    "challenge_question": "<string>",
    "values": [
      {
        "source_id": "<string>",
        "target_id": "<string>"
      }
    ],
    "sub_mapping_name": "<string>",
    "sub_mapping_description": "<string>"
  }
]'
This response does not have an example.

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

Body

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

Response

Successful Response