ProductInput Input Object
Fields
#
basePrice
Default price for product variant. DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.
costPrice
Default cost price for product variant. DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.
isDigital
Set whether this product is digital by default, will be overridden by product type if provided
isPriceOverrideAllowed
Set whether this product allows price overrides by default, will be controlled by product type if provided
isShippingRequired
Set whether this product requires shipping by default, will be overridden by product type if provided
sku
Stock keeping unit of a product. Note: this field is only used if a product doesn't use variants. DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.
trackInventory
Determines whether to track changes to this variant's inventory. If set to 'false', the product's stock quantity won't reduce when a customer purchases this item. However, even when 'false', you must assign a stock quantity to a warehouse to allow checkouts. Usually, this involves allocating a placeholder stock amount that matches the maximum quantity purchased at once. Note: this field is applicable only for simple products.DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.
variantSize
Size of the variant. Note: this field is only used if product doesn't use variants. DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.
visibleInListings
Determines if product is visible in product listings (doesn't apply to product collections).
Usages
#
References
#
- Argument input of field productUpdate from type Mutation