Dear @AsafGitai , we also can reproduce the issue exactly as @johncmt described regarding the productSet mutation in combination with the files/[FileSetInput!]. It would be great if that bug could be resolved.
Topic summary
Migrating to the 2024-07 GraphQL Product APIs raised issues around variant limits, media replacement, and inventory updates, leading to many API calls.
Key clarifications and fixes:
- Extended variants (up to 2k) are available only in dev stores via the “extended variants” preview toggle. No GA date shared.
- Media: Passing mediaIds in productSet should replace existing media (not append), so separate delete calls aren’t needed. In 2024-10, media creation via FileSetInput was added to productSet, reducing calls; publish integration is being considered.
- Inventory: Errors (ITEM_NOT_STOCKED_AT_LOCATION, LOCATION_NOT_FOUND) were traced to a fulfillment_service location with permitsSkuSharing=false. Setting permitsSkuSharing=true resolved activation. In 2024-10, productSet gained inventory input fields, further simplifying setup.
Outstanding requests and issues:
- Need a way to activate inventory for many variants in a single call; current approach is slow for 100+ variants.
- Requests to preserve the order of mediaIds and to accept non-image media IDs.
- A reproducible bug: repeated productSet calls with FileSetInput alternate between removing and restoring all product/variant images; team notified, fix pending.
Status: Partially resolved via 2024-10 updates; several enhancements and a media bug remain open.
1 Like