Skip to main content

CreateProductInput

No description

input CreateProductInput {
clientId: ID
eventId: ID!
categoryId: ID!
name: String!
description: String
imageUrl: String
assetsUrls: [String!]
translations: [ProductTranslationInput!]
exhibitorIds: [ID!]
customFields: [CustomFieldUnionInput!]
withEvent: ProductWithEventInput
}

Fields

CreateProductInput.clientId ● ID scalar

Represents an external ID used to create a product only one time. If "clientId" already matches a product, the mutation will be ignored.

CreateProductInput.eventId ● ID! non-null scalar

The event where the product should be created.

CreateProductInput.categoryId ● ID! non-null scalar

The category where the product should be created.

CreateProductInput.name ● String! non-null scalar

CreateProductInput.description ● String scalar

CreateProductInput.imageUrl ● String scalar

The URL to the main image of the product.

CreateProductInput.assetsUrls ● [String!] list scalar

A list of assets URLs attached to the product.

CreateProductInput.translations ● [ProductTranslationInput!] list input

Translated content for the product.

CreateProductInput.exhibitorIds ● [ID!] list scalar

Link the product to one or more exhibitors.

CreateProductInput.customFields ● [CustomFieldUnionInput!] list input

Set custom fields for the product.

CreateProductInput.withEvent ● ProductWithEventInput input

Create product related with event.

Member Of

createProduct mutation