updateProductPrices
Update the prices of a product.
Arguments
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-12008: Unable to find the product.
- KT-CT-12009: Specified product does not have a specification.
- KT-CT-12010: Unable to find the product's specification.
- KT-CT-12011: The list of provided prices contains validation errors.
- KT-CT-12012: Product prices start date is in the past.
- KT-CT-12013: Product prices would overwrite existing prices.
- KT-CT-7899: An internal error occurred.
Examples
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 UpdateProductPrices($input: UpdateProductPricesInput!) {
updateProductPrices(input: $input) {
prices {
...RateGroupPricesFragment
}
}
}
Variables
{
"input": UpdateProductPricesInput
}
Response
{
"data": {
"updateProductPrices": {
"prices": [RateGroupPrices]
}
}
}