Skip to main content

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 miscellaneous

ID of a channel.

ProductChannelListingAddInput.isPublished ● Boolean scalar miscellaneous

Determines if object is visible to customers.

ProductChannelListingAddInput.publicationDate ● Date scalar miscellaneous

Publication date. ISO 8601 standard.

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

ProductChannelListingAddInput.publishedAt ● DateTime scalar miscellaneous

Publication date time. ISO 8601 standard.

Added in Saleor 3.3

ProductChannelListingAddInput.visibleInListings ● Boolean scalar miscellaneous

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

ProductChannelListingAddInput.isAvailableForPurchase ● Boolean scalar miscellaneous

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 miscellaneous

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 miscellaneous

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 miscellaneous

List of variants to which the channel should be assigned.

ProductChannelListingAddInput.removeVariants ● [ID!] list scalar miscellaneous

List of variants from which the channel should be unassigned.

Member Of

ProductChannelListingUpdateInput input