Skip to main content
Version: 3.x

ProductChannelListingAddInput

No description

input ProductChannelListingAddInput {
channelId: ID!
isPublished: Boolean
publicationDate: Date
publishedAt: DateTime
visibleInListings: Boolean
isAvailableForPurchase: Boolean
availableForPurchaseDate: Date
availableForPurchaseAt: DateTime
addVariants: [ID!]
removeVariants: [ID!]
}

Fields

ProductChannelListingAddInput.channelId ● ID! non-null scalar

ID of a channel.

ProductChannelListingAddInput.isPublished ● Boolean scalar

Determines if object is visible to customers.

ProductChannelListingAddInput.publicationDate ● Date scalar

Publication date. ISO 8601 standard.

DEPRECATED: this field will be removed in Saleor 4.0. Use publishedAt field instead.

ProductChannelListingAddInput.publishedAt ● DateTime scalar

Publication date time. ISO 8601 standard.

Added in Saleor 3.3

ProductChannelListingAddInput.visibleInListings ● Boolean scalar

Determines if product is visible in product listings (doesn't apply to product collections).

ProductChannelListingAddInput.isAvailableForPurchase ● Boolean scalar

Determines if product should be available for purchase in this channel. This does not guarantee the availability of stock. When set to False, this product is still visible to customers, but it cannot be purchased.

ProductChannelListingAddInput.availableForPurchaseDate ● Date scalar

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.

DEPRECATED: this field will be removed in Saleor 4.0. Use availableForPurchaseAt field instead.

ProductChannelListingAddInput.availableForPurchaseAt ● DateTime scalar

A start date time from which a product will be available for purchase. When not set and isAvailable is set to True, the current day is assumed.

Added in Saleor 3.3

ProductChannelListingAddInput.addVariants ● [ID!] list scalar

List of variants to which the channel should be assigned.

ProductChannelListingAddInput.removeVariants ● [ID!] list scalar

List of variants from which the channel should be unassigned.

Member of

ProductChannelListingUpdateInput input


Was this page helpful?