Update Bulk Sync Schema
Changed onReplaces the configuration of a single schema on a bulk sync.
This is a full replacement: every field in the request body is written to the schema, and any field you omit is cleared or reset to its default. Fetch the current configuration with GET /api/bulk/syncs/{id}/schemas/{schema_id} first if you want to preserve existing settings while changing only a subset.
Omitting fields enables all available fields on the schema. To control which fields are enabled, include the fields array with explicit enabled values. Primary-key fields stay enabled while the schema is enabled, even when the request sets enabled: false for them.
📘 To update multiple schemas in a single request without affecting others, use the partial-update endpoint PATCH /api/bulk/syncs/{id}/schemas instead.
Request
- Base URLhttps://app.polytomic.com
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
Unique identifier of the bulk sync
Source-side schema identifier
Headers
Request body
Example request
{
"data_cutoff_timestamp": "2023-04-25T12:00:00Z",
"enabled": true,
"fields": [
{
"enabled": true,
"id": "email",
"user_output_name": "my_email"
}
],
"filters": [
{
"field_id": "field1",
"value": "value"
}
],
"partition_key": "email",
"tracking_field": "updated_at",
"user_output_name": "my_contact"
}Response
OK
Example response
{
"data": {
"data_cutoff_timestamp": "2023-04-25T12:00:00Z",
"destination_history_output_name": "contact__history",
"enabled": true,
"fields": [
{
"enabled": true,
"id": "email",
"output_name": "email",
"user_output_name": "my_email"
}
],
"filters": [
{
"field_id": "field1",
"value": "value"
}
],
"id": "Contact",
"output_name": "contact",
"partition_key": "email",
"tracking_field": "updated_at",
"user_output_name": "my_contact"
}
}Changes
- info
the response optional property
//became read-only for the status - info
the response optional property
////became read-only for the status - info
the response optional property
//became read-only for the status
- info
- breaking
added to the
//request propertyallOflist - breaking
removed the enum value
ArrayContainsof the request property// - breaking
removed the enum value
ArrayDoesNotContainof the request property// - breaking
removed the enum value
Betweenof the request property// - breaking
removed the enum value
Equalityof the request property// - breaking
removed the enum value
Falseof the request property// - breaking
removed the enum value
GreaterThanof the request property// - breaking
removed the enum value
GreaterThanEqualof the request property// - breaking
removed the enum value
InTheLastof the request property// - breaking
removed the enum value
Inequalityof the request property// - breaking
removed the enum value
IsNotNullof the request property// - breaking
removed the enum value
IsNullof the request property// - breaking
removed the enum value
LessThanof the request property// - breaking
removed the enum value
LessThanEqualof the request property// - breaking
removed the enum value
OnOrAfterof the request property// - breaking
removed the enum value
OnOrBeforeof the request property// - breaking
removed the enum value
RelativeOnOrAfterof the request property// - breaking
removed the enum value
RelativeOnOrBeforeof the request property// - breaking
removed the enum value
StringContainsof the request property// - breaking
removed the enum value
StringDoesNotContainof the request property// - breaking
removed the enum value
StringDoesNotEndWithof the request property// - breaking
removed the enum value
StringDoesNotStartWithof the request property// - breaking
removed the enum value
StringEndsWithof the request property// - breaking
removed the enum value
StringLikeof the request property// - breaking
removed the enum value
StringMatchesTrimmedof the request property// - breaking
removed the enum value
StringNotLikeof the request property// - breaking
removed the enum value
StringNotOneOfof the request property// - breaking
removed the enum value
StringOneOfof the request property// - breaking
removed the enum value
StringStartsWithof the request property// - breaking
removed the enum value
Trueof the request property// - breaking
the
//request property type changed fromstringto no type - breaking
the
response's property type changed fromobjectto no type for status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
added to the
response propertyallOflist for the response status
- breaking