stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > InventoryItemUpdateInput

AdminTypes.InventoryItemUpdateInput interface

The input fields for an inventory item.

Signature:

export interface InventoryItemUpdateInput 

Properties

Property Modifiers Type Description
cost?   InputMaybe<Scalars[‘Decimal’][‘input’]> (Optional) Unit cost associated with the inventory item, the currency is the shop’s default currency.
countryCodeOfOrigin?   InputMaybe<CountryCode | `${CountryCode}`> (Optional) The ISO 3166-1 alpha-2 country code of where the item originated from.
countryHarmonizedSystemCodes?   InputMaybe<Array<CountryHarmonizedSystemCodeInput>> (Optional) List of country-specific harmonized system codes.
harmonizedSystemCode?   InputMaybe<Scalars[‘String’][‘input’]> (Optional) The harmonized system code of the inventory item. This must be a number between 6 and 13 digits.
provinceCodeOfOrigin?   InputMaybe<Scalars[‘String’][‘input’]> (Optional) The ISO 3166-2 alpha-2 province/state code of where the item originated from.
tracked?   InputMaybe<Scalars[‘Boolean’][‘input’]> (Optional) Whether the inventory item is tracked. The value must be true to adjust the item’s inventory levels.