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

channelId (ID!)

ID of a channel.

isPublished (Boolean)

Determines if object is visible to customers.

publicationDate (Date)

Publication date. ISO 8601 standard.

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

publishedAt (DateTime)

Publication date time. ISO 8601 standard.

Added in Saleor 3.3.

visibleInListings (Boolean)

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

isAvailableForPurchase (Boolean)

Determine if product should be available for purchase.

availableForPurchaseDate (Date)

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.

availableForPurchaseAt (DateTime)

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.

addVariants ([ID!])

List of variants to which the channel should be assigned.

removeVariants ([ID!])

List of variants from which the channel should be unassigned.