11/4/2026, 12:00:44 AM
The schema introduces a new inventoryBinMoveCreate mutation that allows moving inventory between bins or between a bin and a system bin at a specified location. The mutation is idempotent; retrying with the same idempotency key returns the original bin move. A payload type InventoryBinMoveCreatePayload is returned, containing the created InventoryBinMove object and a list of InventoryBinMoveCreateUserError for validation errors. The fileDelete mutation now accepts a ignoreMissing: Boolean argument (default false) so deletions can skip missing file IDs without error. The AutomationWorkflow type receives a new trigger field, exposing the trigger task and event schema via the AutomationTrigger type. Accompanying object types (InventoryBinMove, AutomationTrigger, etc.) are added to represent these new features.
Moves inventory between bins at a location, or between a bin and a system bin.
Requires an @idempotent directive. Retrying with the same key returns the original bin move.
Deletes file assets that were previously uploaded to your store.
Use the fileDelete mutation to permanently remove media and file assets from your store when they are no longer needed.
This mutation handles the complete removal of files from both your store's file library and any associated references
to products or other resources.
The fileDelete mutation supports removal of multiple file types:
When you delete files that are referenced by products, the mutation automatically removes those references and
reorders any remaining media to maintain proper positioning. Product file references are database relationships
managed through a media reference system, not just links in product descriptions. The Shopify admin provides a UI
to manage these relationships, and when files are deleted, the system automatically cleans up all references.
Files that are currently being processed by other operations are rejected to prevent conflicts.
Caution:
File deletion is permanent and can't be undone. When you delete a file that's being used in your store,
it will immediately stop appearing wherever it was displayed. For example, if you delete a product image,
that product will show a broken image or placeholder on your storefront and in the admin. The same applies
to any other files linked from themes, blog posts, or pages. Before deleting files, you can use thefilesquery to list and review
your store's file assets.
Learn how to manage
product media and file assets
in your app.
The trigger of an automation version, with the schema of the event payload it receives.
A record of stock moved between bins at a location.
Return type for inventoryBinMoveCreate mutation.
An error that occurs during the execution of InventoryBinMoveCreate.
Possible error codes that can be returned by InventoryBinMoveCreateUserError.
The input fields for moving units of an inventory item between bins.
Represents a posted change to inventory quantities between two inventory groups.
The input fields for a bin that is the origin or destination of an inventory movement item.
An auto-generated type for paginating through multiple InventoryMovements.
An auto-generated type which holds one InventoryMovement and a cursor during pagination.
The origin or destination of an inventory movement item.
The input fields for the origin or destination of an inventory movement item. Specify exactly one.
Represents an inventory item moved between two inventory groups as part of an inventory movement.
An auto-generated type for paginating through multiple InventoryMovementItems.
An auto-generated type which holds one InventoryMovementItem and a cursor during pagination.
A system-managed inventory bin.
The identifier of a system bin.
triggerThe trigger of this version and the schema of its event payload. Null when the version has no trigger, has more than one, or its trigger task can't be found.