Skip to main content

ProductVariantChannelListingAvailabilityUpdate Object

Toggle whether a product variant can be bought in the given channels, without touching its prices. An unavailable variant is hidden from customers and cannot be added to a checkout or an order.

Added in Saleor 3.23.

Requires the MANAGE_PRODUCTSpermission.
type ProductVariantChannelListingAvailabilityUpdate {
variant: ProductVariant
errors: [ProductVariantChannelListingAvailabilityUpdateError!]!
}

Fields​

variant ● ProductVariant​

An updated product variant instance.

errors ● [ProductVariantChannelListingAvailabilityUpdateError!]!​

Returned By​

productVariantChannelListingAvailabilityUpdate mutation