Anchor to productFullSyncproduct
productFullSync
mutation
Requires Access allowed for apps with scope.
Runs the full product sync for a given shop.
Anchor to Arguments
Arguments
- Anchor to beforeUpdatedAtbefore•
Updated At Syncs only products that haven't changed since the specified timestamp.
- •ID!required
The product feed which needs syncing.
- Anchor to updatedAtSinceupdated•
At Since Syncs only products that have changed since the specified timestamp.
Was this section helpful?
Anchor to ProductFullSyncPayload returnsProductFullSyncPayload returns
- Anchor to userErrorsuser•
Errors [ProductFull non-nullSync User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation productFullSync($beforeUpdatedAt: DateTime, $id: ID!, $updatedAtSince: DateTime) {2 productFullSync(beforeUpdatedAt: $beforeUpdatedAt, id: $id, updatedAtSince: $updatedAtSince) {3 userErrors {4 field5 message6 }7 }8}
Input
1{2 "beforeUpdatedAt": "2019-09-07T15:50:00Z",3 "id": "gid://shopify/<objectName>/10079785100",4 "updatedAtSince": "2019-09-07T15:50:00Z"5}
{
"beforeUpdatedAt": "2019-09-07T15:50:00Z",
"id": "gid://shopify/<objectName>/10079785100",
"updatedAtSince": "2019-09-07T15:50:00Z"
}