Skip to main content

productVariantPreorderDeactivate Mutation

DEPRECATED

Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set trackInventory to false to sell without a stock limit.

Deactivates product variant preorder. It changes all preorder allocation into regular allocation.

DEPRECATED: Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set trackInventory to false to sell without a stock limit.

Requires the MANAGE_PRODUCTSpermission.
productVariantPreorderDeactivate(
id: ID!
): ProductVariantPreorderDeactivate @deprecated
Details
type ProductVariantPreorderDeactivate {
productVariant: ProductVariant
errors: [ProductError!]!
}

Arguments

id ● ID!

ID of a variant which preorder should be deactivated.

Type

ProductVariantPreorderDeactivate

Deactivates product variant preorder. It changes all preorder allocation into regular allocation.

DEPRECATED: Preorder is deprecated and will be removed. Model pre-sales with regular stock instead: create the planned quantity in a warehouse, or set trackInventory to false to sell without a stock limit.

Requires the MANAGE_PRODUCTSpermission.