← API reference
Mutation / commerce

createCustomerPriceOverride

Create a new customer price override. Requires customerPriceOverride:write permission.

Arguments

Definition of the override to create. The id is server-assigned (a cpo_ TypeID) and the override is scoped to the caller's tenant.

Returns UpsertCustomerPriceOverridePayload!

Explore in a view

Order Intake
View exact SDL
"""
Create a new customer price override. Requires customerPriceOverride:write permission.
"""
createCustomerPriceOverride(
  """
  Definition of the override to create. The id is server-assigned (a `cpo_` TypeID) and the override is scoped to the caller's tenant.
  """
  input: CreateCustomerPriceOverrideInput!
): UpsertCustomerPriceOverridePayload! @topic(names: ["commerce"])

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