# syncShopifyProducts

### Arguments

| Argument                                                                                                                           | Description                        |
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| input ([SyncShopifyProductsInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/sync-shopify-products-input)!) | Parameters for SyncShopifyProducts |

### SyncShopifyProductsInput Arguments

| Argument                                                                                                                | Description                                                                                                                                                    |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| updateExistingProducts ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))           | Whether to update existing products.                                                                                                                           |
| createNewProducts ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                | Whether to create new products that don't exist yet.                                                                                                           |
| archiveProductsWithoutTag ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))        | Whether to archive products that no longer have a Firmhouse tag in Shopify.                                                                                    |
| productGroups ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                    | Whether to sync product groups for variants of the same Shopify product. This controls how products are displayed in the Self Service Center.                  |
| updateFields (\[[String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)!])                   | <p>List of fields to update. Available fields:<br>image, title, price, sku, tax\_rate, shipping, billing, contract\_terms, vendor, shopify\_product\_type.</p> |
| createAssets ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))                     | Whether to create assets for products.                                                                                                                         |
| onlyCreateProductsFromTags ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean))       | Whether to only create products that have Firmhouse tags.                                                                                                      |
| onlyCreateProductsWithMetafields ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean)) | Whether to only create products that have metafields.                                                                                                          |

### Return fields

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)

#### status ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

#### syncId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id))
