← API reference
Mutation / commerce

upsertCustomerPriceOverride

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

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.

Returns UpsertCustomerPriceOverridePayload!

Explore in a view

Order Intake
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.