Mutation / commerce
updateCustomerPriceOverride
Update a customer price override. Only provided fields are changed. Requires customerPriceOverride:write permission.
Arguments
TypeID (cpo_ prefix) of the override to update. Must belong to the caller's tenant; otherwise the mutation returns a not-found error.
Patch to apply. Only fields present in the input are changed.
Returns UpsertCustomerPriceOverridePayload!
Explore in a view
View exact SDL
"""
Update a customer price override. Only provided fields are changed. Requires customerPriceOverride:write permission.
"""
updateCustomerPriceOverride(
"""
TypeID (`cpo_` prefix) of the override to update. Must belong to the caller's tenant; otherwise the mutation returns a not-found error.
"""
id: CustomerPriceOverrideID!
"""Patch to apply. Only fields present in the input are changed."""
input: UpdateCustomerPriceOverrideInput!
): UpsertCustomerPriceOverridePayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.