createProductRates
Create one or more product rates for a product.
Arguments
List of rates to be created for the specified product.
Code of the product for which the rates are being created.
Possible Errors
Allowed Viewers
Required Permissions
Can update product ratesQuery 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 CreateProductRates(
$input: CreateProductRatesInputType!,
$productCode: String!
) {
createProductRates(
input: $input,
productCode: $productCode
) {
productRates {
...ProductRateTypeFragment
}
}
}
Variables
{
"input": CreateProductRatesInputType,
"productCode": "benefit-arrive-data-into-and"
}
Response
{
"data": {
"createProductRates": {
"productRates": [ProductRateType]
}
}
}