Anchor to inventoryTransferDeleteinventory
inventoryTransferDelete
mutation
Requires access scope. Also: The user must have permission to manage inventory.
Deletes an inventory transfer.
Anchor to Arguments
Arguments
- Anchor to transferIdtransfer•
Id ID!required The ID of the inventory transfer to delete.
Was this section helpful?
Anchor to InventoryTransferDeletePayload returnsInventoryTransferDeletePayload returns
- Anchor to deletedIddeleted•
Id The ID of the deleted inventory transfer.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation inventoryTransferDelete($transferId: ID!) {
inventoryTransferDelete(transferId: $transferId) {
deletedId
userErrors {
field
message
}
}
}
Input
{
"transferId": "gid://shopify/<objectName>/10079785100"
}
{
"transferId": "gid://shopify/<objectName>/10079785100"
}