createProduct
Create a new product.
Arguments
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-12003: Specified product brand does not exist.
- KT-CT-12004: Invalid product tag type.
- KT-CT-12005: A selection of a terms and conditions type does not exist.
- KT-CT-12006: Provided product characteristic overrides are not in the correct format.
- KT-CT-12007: Unable to create product.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreateProduct($input: CreateProductInput!) {
createProduct(input: $input) {
product {
...SupplyProductTypeFragment
}
}
}
Variables
{
"input": CreateProductInput
}
Response
{
"data": {
"createProduct": {
"product": SupplyProductType
}
}
}