younifyd
Menu

productFullSync

Runs the full product sync for a given shop.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the productFullSync action (under Product).
  3. Fill in the fields below, then reference the result from later steps as {{productfullsync.response.data}}.

Query

This is the mutation the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
mutation ProductFullSync($beforeUpdatedAt: DateTime, $id: ID!, $updatedAtSince: DateTime) {
  productFullSync(
    beforeUpdatedAt: $beforeUpdatedAt
    id: $id
    updatedAtSince: $updatedAtSince
  ) {
    id
    userErrors {
      code
      field
      message
    }
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

beforeUpdatedAtstring

Syncs only products that haven't changed since the specified timestamp.

idstringrequired

The product feed which needs syncing.

updatedAtSincestring

Syncs only products that have changed since the specified timestamp.

json
{
  "id": "string",
  "beforeUpdatedAt": "string",
  "updatedAtSince": "string"
}

Response

Read the result with {{productfullsync.response.data.data.productFullSync}}. If the API returns errors, the step fails and they are at {{productfullsync.response.data.errors}}.

idstring
userErrorsarray<object>
codeobject
fieldobject
messageobject

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

productFullSync — Shopify — Documentation