Returned when the Price, Tax Rate, or Shipping Rate of some Line Items changed since they were last added to the Cart.

The error is returned as a failed response to:

- [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests on Orders.
- [Create Order from Cart](ctp:api:endpoint:/{projectKey}/me/orders:POST) and [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/me/orders:POST) requests on My Orders.
interface PriceChangedError {
    code: "PriceChanged";
    lineItems: string[];
    message: string;
    shipping: boolean;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "PriceChanged"
lineItems: string[]

Unique identifiers of the Line Items for which the Price or TaxRate has changed.

message: string

Plain text description of the reason for the Price change. For example, "The price or tax of some line items changed at the time of placing the order: $lineItems.".

shipping: boolean

true if the ShippingRate has changed.

Generated using TypeDoc