Create Inventory Item
Create Inventory Item Mutation
Last updated
Was this helpful?
Create Inventory Item Mutation
Last updated
Was this helpful?
Was this helpful?
mutation {
createInventoryItem(
input: {
sku: "PRODUCT-123",
dataTypeSlug: "electronic_device",
data: {
"name": "Smartphone X",
"brand": "TechCorp",
"model": "X100",
"description": "Latest smartphone with advanced features",
"specifications": {
"display": "6.5 inch OLED",
"processor": "Octa-core",
"memory": "8GB",
"storage": "256GB",
"camera": "48MP"
},
"color": "black",
"weight": 180
}
}
) {
inventoryItem {
id
sku
data
}
workflows {
type
id
runID
}
}
}