UpdateProductInput
Provides the fields and values to use when updating a product.
input UpdateProductInput {
id: ID!
code: String
name: String
description: String
status: ProductStatus
unit: ProductUnit
groupId: ID
taxRateId: ID
prices: ProductPricesInput
}
Fields
UpdateProductInput.id
● ID!
non-null scalar
Specifies the product to update.
UpdateProductInput.code
● String
scalar
The product's code.
UpdateProductInput.name
● String
scalar
The product's name.
UpdateProductInput.description
● String
scalar
The product's description.
UpdateProductInput.status
● ProductStatus
enum
The product's status.
UpdateProductInput.unit
● ProductUnit
enum
The product's unit.
UpdateProductInput.groupId
● ID
scalar
The product's group.
UpdateProductInput.taxRateId
● ID
scalar
The product's tax rate.
UpdateProductInput.prices
● ProductPricesInput
input
The product's prices.
Member Of
updateProduct
mutation