Sales & CRMMu Mutation

upsertCustomerPriceOverride

Topics: Commerce

Create or update a customer price override. Requires customerPriceOverride:write permission.

Returns

UpsertCustomerPriceOverridePayload!

Arguments

Full override definition. When input.id is supplied the existing override is replaced field-for-field; when it is omitted a new override is created.

Exact field SDL
"""
Create or update a customer price override. Requires customerPriceOverride:write permission.
"""
upsertCustomerPriceOverride(
  """
  Full override definition. When `input.id` is supplied the existing override is replaced field-for-field; when it is omitted a new override is created.
  """
  input: UpsertCustomerPriceOverrideInput!
): UpsertCustomerPriceOverridePayload! @topic(names: ["commerce"])

Declared on Mutation. Access is checked by the platform for each operation.