Anchor to inventoryTransferEditinventory
inventoryTransferEdit
mutation
Requires access scope. Also: The user must have permission to manage inventory.
Edits an inventory transfer.
Anchor to Arguments
Arguments
- •ID!required
The ID of the inventory Transfer to be edited.
- Anchor to inputinput•Inventory
Transfer requiredEdit Input! The input fields to edit the inventory transfer.
Was this section helpful?
Anchor to InventoryTransferEditPayload returnsInventoryTransferEditPayload returns
- Anchor to inventoryTransferinventory•
Transfer The edited inventory transfer.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation inventoryTransferEdit($id: ID!, $input: InventoryTransferEditInput!) {
inventoryTransferEdit(id: $id, input: $input) {
inventoryTransfer {
# InventoryTransfer fields
}
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100",
"input": {
"dateCreated": "2019-07-16",
"destinationId": "gid://shopify/<objectName>/10079785100",
"note": "<your-note>",
"originId": "gid://shopify/<objectName>/10079785100",
"referenceName": "<your-referenceName>",
"tags": [
"<your-tags>"
]
}
}
{
"id": "gid://shopify/<objectName>/10079785100",
"input": {
"dateCreated": "2019-07-16",
"destinationId": "gid://shopify/<objectName>/10079785100",
"note": "<your-note>",
"originId": "gid://shopify/<objectName>/10079785100",
"referenceName": "<your-referenceName>",
"tags": [
"<your-tags>"
]
}
}
input InventoryTransferEditInput {
dateCreated: Date
destinationId: ID
note: String
originId: ID
referenceName: String
tags: [String!]
}