ProductCreateInput Input Object
Fields
#
allowBackorders
Whether to allow backorders for this product variant, if backorders are permitted at the marketplace level
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.
externalId
The external ID from a foreign system if a product originated from that system, used in combination with provided externalSource. If submitting externalId, you must also provide an externalSource argument. If these two are provided, the productCreate mutation will attempt to perform an upsert instead of a creation.
externalSource
The external source identifier of a foreign system (e.g. nautical.fulfillment.shopify) if a product originated from that system, used in combination with provided externalId. If submitting externalSource, you must also provide an externalId argument. If these two are provided, the productCreate mutation will attempt to perform an upsert instead of a creation.
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.
startDate
A start date from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed.
stocks
Stocks of a product available for sale. 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.
subStatusReason
A reason for why the sub status changed, which will be displayed to the creator of the product.
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 productCreate from type Mutation