curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination} \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"nango_connection_id": "<string>",
"object_type": "<string>",
"identifier_field": "<string>",
"segment_id": "<string>",
"field_map": {},
"schedule_minutes": 727
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}"
payload = {
"enabled": True,
"nango_connection_id": "<string>",
"object_type": "<string>",
"identifier_field": "<string>",
"segment_id": "<string>",
"field_map": {},
"schedule_minutes": 727
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
nango_connection_id: '<string>',
object_type: '<string>',
identifier_field: '<string>',
segment_id: '<string>',
field_map: {},
schedule_minutes: 727
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'nango_connection_id' => '<string>',
'object_type' => '<string>',
'identifier_field' => '<string>',
'segment_id' => '<string>',
'field_map' => [
],
'schedule_minutes' => 727
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}"
response = http.request(request)
puts response.read_body{
"data": {
"destination": "netsuite",
"enabled": true,
"configured": true,
"nango_connection_id": "org-7NxQ2mP8kL4dFvW3nJ5bC9ya",
"object_type": "Customer",
"identifier_field": "email",
"segment_id": "seg_01H8A2C3X9",
"field_map": {
"email": "email",
"first_name": "FirstName",
"last_name": "LastName"
},
"schedule_minutes": 60,
"available_object_types": [
"Customer",
"Contact"
],
"default_identifier_field": "email",
"last_sync_at": "2026-08-07T12:00:00.000Z",
"last_sync_status": "ok"
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Update one ERP object-sync mapping
Wire or update a segment → ERP-object mapping for one destination (netsuite | sap_erp | workday | quickbooks). Only the supplied keys are touched; sibling destinations and every other settings key are preserved. object_type is validated against the destination’s whitelist, and the field map + identifier field are domain-validated as a pair (the identifier must be a mapped destination field; no duplicate destination fields). Owner / admin / developer.
curl --request PATCH \
--url https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination} \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"nango_connection_id": "<string>",
"object_type": "<string>",
"identifier_field": "<string>",
"segment_id": "<string>",
"field_map": {},
"schedule_minutes": 727
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}"
payload = {
"enabled": True,
"nango_connection_id": "<string>",
"object_type": "<string>",
"identifier_field": "<string>",
"segment_id": "<string>",
"field_map": {},
"schedule_minutes": 727
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
enabled: true,
nango_connection_id: '<string>',
object_type: '<string>',
identifier_field: '<string>',
segment_id: '<string>',
field_map: {},
schedule_minutes: 727
})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'enabled' => true,
'nango_connection_id' => '<string>',
'object_type' => '<string>',
'identifier_field' => '<string>',
'segment_id' => '<string>',
'field_map' => [
],
'schedule_minutes' => 727
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}"
payload := strings.NewReader("{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}")
.header("Content-Type", "application/json")
.body("{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/config/{destination}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"enabled\": true,\n \"nango_connection_id\": \"<string>\",\n \"object_type\": \"<string>\",\n \"identifier_field\": \"<string>\",\n \"segment_id\": \"<string>\",\n \"field_map\": {},\n \"schedule_minutes\": 727\n}"
response = http.request(request)
puts response.read_body{
"data": {
"destination": "netsuite",
"enabled": true,
"configured": true,
"nango_connection_id": "org-7NxQ2mP8kL4dFvW3nJ5bC9ya",
"object_type": "Customer",
"identifier_field": "email",
"segment_id": "seg_01H8A2C3X9",
"field_map": {
"email": "email",
"first_name": "FirstName",
"last_name": "LastName"
},
"schedule_minutes": 60,
"available_object_types": [
"Customer",
"Contact"
],
"default_identifier_field": "email",
"last_sync_at": "2026-08-07T12:00:00.000Z",
"last_sync_status": "ok"
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Path Parameters
Body
Gate the destination for on-demand runs; a disabled destination always 409s POST /erp-sync/run/:destination.
Which connected ERP account to write into (a Nango connection IDENTIFIER — no secret).
200Destination object to upsert (validated against the destination's whitelist, e.g. NetSuite Customer/Contact).
120Destination field the upsert matches on (must be one of the field_map's destination values).
120Source segment the sync draws profiles from.
200Source→destination trait map { : }. Validated as a pair with identifier_field.
Show child attributes
Show child attributes
Optional scheduled-sync cadence read by the warehouse-fed scheduler.
15 <= x <= 1440Response
The destination's resolved public config after the merge — the same shape the GET /erp-sync/config list returns per destination.
The destination's resolved public config after the merge — the same shape the GET /erp-sync/config list returns per destination.