Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

FileCreateInputDuplicateResolutionMode on other inputs

Solved

FileCreateInputDuplicateResolutionMode on other inputs

cloudev0
Shopify Partner
11 0 6

This field (FileCreateInputDuplicateResolutionMode) currently can only be used on fileCreate mutations (FileCreateInput) as far as I'm aware. Can Shopify add this field to CreateMediaInput so that we can use them when creating/updating products and variants as well?

some mutations that are using CreateMediaInput
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productVariantsBulkUpdate
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productVariantsBulkCreate
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productUpdate
https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/productCreate

Accepted Solution (1)

AsafGitai
Shopify Staff
109 16 45

This is an accepted solution.

Will share with relevant team

View solution in original post

Reply 1 (1)

AsafGitai
Shopify Staff
109 16 45

This is an accepted solution.

Will share with relevant team