curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination} \
--header 'Content-Type: application/json' \
--data '
{
"segment_id": "<string>",
"profiles": [
{}
]
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}"
payload = {
"segment_id": "<string>",
"profiles": [{}]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({segment_id: '<string>', profiles: [{}]})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{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/run/{destination}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'segment_id' => '<string>',
'profiles' => [
[
]
]
]),
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/run/{destination}"
payload := strings.NewReader("{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}")
.header("Content-Type", "application/json")
.body("{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "9c1b2f4d-7a5e-4f2a-9b3c-1d8e6f0a2b4c",
"ts": "2026-08-07T12:00:00.000Z",
"destination": "netsuite",
"object_type": "Customer",
"segment_id": "seg_01H8A2C3X9",
"requested": 250,
"matched": 248,
"skipped": 2,
"batches": 1,
"dispatched": 1,
"dispatch_skipped": 0,
"status": "ok",
"error": null,
"rows": {
"attempted": 248,
"delivered": 248,
"rejected": 2,
"failed": 0
},
"dispatch_failures": []
},
"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>"
}
}Run an on-demand ERP object sync
Execute one destination’s reverse-ETL object sync synchronously: map the supplied segment profiles through the stored field map into destination object records (keyed on the upsert identifier — profiles without a key value are skipped, never blind-inserted), chunk them into batches, and upsert each batch into the ERP system via Nango. The destination + mapping come from the stored config, so 409 applies until the destination is enabled and field-mapped. Each run is appended to the sync-run history. Owner / admin / developer.
curl --request POST \
--url https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination} \
--header 'Content-Type: application/json' \
--data '
{
"segment_id": "<string>",
"profiles": [
{}
]
}
'import requests
url = "https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}"
payload = {
"segment_id": "<string>",
"profiles": [{}]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({segment_id: '<string>', profiles: [{}]})
};
fetch('https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{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/run/{destination}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'segment_id' => '<string>',
'profiles' => [
[
]
]
]),
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/run/{destination}"
payload := strings.NewReader("{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}")
.header("Content-Type", "application/json")
.body("{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/erp-sync/run/{destination}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"segment_id\": \"<string>\",\n \"profiles\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "9c1b2f4d-7a5e-4f2a-9b3c-1d8e6f0a2b4c",
"ts": "2026-08-07T12:00:00.000Z",
"destination": "netsuite",
"object_type": "Customer",
"segment_id": "seg_01H8A2C3X9",
"requested": 250,
"matched": 248,
"skipped": 2,
"batches": 1,
"dispatched": 1,
"dispatch_skipped": 0,
"status": "ok",
"error": null,
"rows": {
"attempted": 248,
"delivered": 248,
"rejected": 2,
"failed": 0
},
"dispatch_failures": []
},
"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
Response
The recorded sync run — request / match / skip counts, batch dispatch outcome, per-row attempted / delivered / rejected / failed breakdown, and bounded dispatch-failure detail. Batches report dispatch_skipped (never a hard error) when no Nango connection is wired.
The recorded sync run — request / match / skip counts, batch dispatch outcome, per-row attempted / delivered / rejected / failed breakdown, and bounded dispatch-failure detail. Batches report dispatch_skipped (never a hard error) when no Nango connection is wired.