Skip to main content

CreateProductInput

Provides the fields and values to use when creating a product.

input CreateProductInput {
code: String
name: String
description: String
status: ProductStatus
unit: ProductUnit
groupId: ID
taxRateId: ID
prices: ProductPricesInput
}

Fields

CreateProductInput.code ● String scalar

The product's code.

CreateProductInput.name ● String scalar

The product's name.

CreateProductInput.description ● String scalar

The product's description.

CreateProductInput.status ● ProductStatus enum

The product's status.

CreateProductInput.unit ● ProductUnit enum

The product's unit.

CreateProductInput.groupId ● ID scalar

The product's group.

CreateProductInput.taxRateId ● ID scalar

The product's tax rate.

CreateProductInput.prices ● ProductPricesInput input

The product's prices.

Member Of

createProduct mutation