productsEdit
Update an existing product by id.
MUTATION
productsEdit(_id: String!, name: String, shortName: String, slug: String, categoryId: String, type: String, description: String, barcodes: [String], unitPrice: Float, salePrice: Float, compareAtPrice: Float, code: String, costPrice: Float, currency: String, mpn: String, gtin: String, requireShipping: Boolean, channels: [String], unlimitedQuantity: Boolean, saleStart: Date, saleEnd: Date, maxPerOrder: Int, maxPerCustomer: Int, isAvailable: Boolean, hideQuantity: Boolean, customFieldsData: JSON, attachment: AttachmentInput, attachmentMore: [AttachmentInput], media: [AttachmentInput], vendorId: String, uom: String, subUoms: JSON, taxType: String, taxCode: String, sku: String, externalUrl: String, source: String, status: String, productOptions: JSON, productVariants: JSON, priceRange: JSON, hasVariants: Boolean, weight: Float, weightUnit: String, dimensions: JSON, inventory: JSON, seo: JSON): ProductArguments
_id
String!
required
name
String
shortName
String
slug
String
categoryId
String
type
String
description
String
barcodes
[String]
unitPrice
Float
salePrice
Float
compareAtPrice
Float
code
String
costPrice
Float
currency
String
mpn
String
gtin
String
requireShipping
Boolean
channels
[String]
unlimitedQuantity
Boolean
saleStart
Date
saleEnd
Date
maxPerOrder
Int
maxPerCustomer
Int
isAvailable
Boolean
hideQuantity
Boolean
customFieldsData
JSON
attachment
AttachmentInput
attachmentMore
[AttachmentInput]
media
[AttachmentInput]
vendorId
String
uom
String
subUoms
JSON
taxType
String
taxCode
String
sku
String
externalUrl
String
source
String
status
String
productOptions
JSON
productVariants
JSON
priceRange
JSON
hasVariants
Boolean
weight
Float
weightUnit
String
dimensions
JSON
inventory
JSON
seo
JSON
Returns
_id
String!
name
String
shortName
String
slug
String
status
String
code
String
type
String
description
String
barcodes
[String]
unitPrice
Float
salePrice
Float
costPrice
Float
currency
String
categoryId
String
customFieldsData
JSON
customFieldsDataByFieldCode
JSON
createdAt
Date
updatedAt
Date
publishedAt
Date
createdBy
String
updatedBy
String
getTags
[Tag]
tagIds
[String]
attachment
attachmentMore
media
vendorId
String
workspaceId
String
uom
String
subUoms
JSON
category
vendor
taxType
String
taxCode
String
sku
String
externalUrl
String
source
String
mpn
String
gtin
String
requireShipping
Boolean
channels
[String]
unlimitedQuantity
Boolean
saleStart
Date
saleEnd
Date
maxPerOrder
Int
maxPerCustomer
Int
isAvailable
Boolean
hideQuantity
Boolean
productOptions
productVariants
priceRange
hasVariants
Boolean
hasCatalogWarning
Boolean
weight
Float
weightUnit
String
dimensions
inventory
seo
Mutation
Variables
Response
Last modified on August 8, 2026
Mutation
Variables
Response