Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

updateInventoryItem

Audience: Programmer

Served by: inventory

Arguments

Name
Type
Default
Description

Returns

InventoryItemOutput

Example

Updates an existing inventory item. Supply any fields to change (sku, data, dataTypeID); omitted fields are left unchanged.

mutation UpdateInventoryItem($id: ID!, $input: UpdateInventoryItemInput!) {
  updateInventoryItem(id: $id, input: $input) {
    eventCount
    inventoryItem {
      createdAt
      createdBy
      data
      dataTypeID
      dataTypeSlug
      deletedAt
      deletedBy
      id
      sku
      tenantID
      updatedAt
      updatedBy
    }
    transactionID
  }
}

Variables

Last updated

Was this helpful?