Magidoc

ProductInput
Input Object

Fields

#

attributes

List of attributes.

basePrice

Default price for product variant. DEPRECATED: All products are now configurable instead of simple. This field will be removed after 2024-07-01.

brand

Product brand

category

ID of the product's category.

chargeTaxes

Determine if taxes are being charged for the product.

collections

[ ID !]

List of IDs of collections that the product belongs to.

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.

currency

Choose a currency to assign to the product prices.

customFields

List of custom fields.

description

Product description (plaintext, read-only).

descriptionHtml

Product description (html).

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

isPublished

Determines if product is visible to customers.

isShippingRequired

Set whether this product requires shipping by default, will be overridden by product type if provided

manufacturer

Manufacturer of the product

model

Product model code

mpn

Manufacturer product number

name

Product name.

overrideCurrency

Override currency for product

overridePrice

Override price for grouped products

productType

ID of the type that product belongs to.

publicationDate

Publication date. ISO 8601 standard.

seo

Search engine optimization fields.

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.

slug

Product slug.

sortPriorityWeight

Sort priority for product

subStatus

Substatus the product is to be changed to.

taxCode

Tax rate for enabled tax gateway.

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).

weight

Weight of the Product.

Usages

#

References

#

  • Argument input of field productUpdate from type Mutation