Mutation
mutation ConfigureWorkerSync($request: ConfigureWorkerSyncCommandRequestInput!) {
ConfigureWorkerSync(request: $request) {
identifier
syncName
salesChannelName
salesChannelId
interval
reportProgress
}
}Variables
{
"request": {
"syncId": "id"
}
}Response
{
"data": {
"ConfigureWorkerSync": {
"identifier": "id",
"syncName": "string",
"salesChannelName": "string",
"salesChannelId": "id",
"interval": "value",
"reportProgress": true
}
}
}Mutations
ConfigureWorkerSync
Configures a worker sync (interval and configuration values).
If a request with this mutation’s Idempotency-Key was already completed, the response’s extensions contains an idempotency.{responseName} entry with wasReplayed: true.
MUTATION
ConfigureWorkerSync(request: ConfigureWorkerSyncCommandRequestInput!): WorkerSyncItem!Arguments
request
Returns
identifier
ID!
The unique identifier of a sync.
syncName
String!
The name of the sync.
salesChannelName
String
The name of the sales channel.
salesChannelId
ID!
The sales channel for the sync.
interval
TimeSpan
The sync interval.
reportProgress
Boolean!
Indicates whether the sync reports progress in percent.
configurations
[WorkerSyncConfig!]!
The configuration entries of the worker sync.
Mutation
mutation ConfigureWorkerSync($request: ConfigureWorkerSyncCommandRequestInput!) {
ConfigureWorkerSync(request: $request) {
identifier
syncName
salesChannelName
salesChannelId
interval
reportProgress
}
}Variables
{
"request": {
"syncId": "id"
}
}Response
{
"data": {
"ConfigureWorkerSync": {
"identifier": "id",
"syncName": "string",
"salesChannelName": "string",
"salesChannelId": "id",
"interval": "value",
"reportProgress": true
}
}
}Was this page helpful?