Skip to main content

ProductChannelListingAddInput Input Type

No description

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

Fields

channelId ● ID!

ID of a channel.

isPublished ● Boolean

Determines if object is visible to customers.

publishedAt ● DateTime

Publication date time. ISO 8601 standard.

visibleInListings ● Boolean

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

isAvailableForPurchase ● Boolean

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.

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.

addVariants ● [ID!]

List of variants to which the channel should be assigned.

removeVariants ● [ID!]

List of variants from which the channel should be unassigned.

Show deprecated

Member Of

ProductChannelListingUpdateInput input