Returned when the Product Variant does not have a Price according to the Product priceMode value for a selected currency, country, Customer Group, or Channel.

The error is returned as a failed response to:

- [Add LineItem](ctp:api:type:CartAddLineItemAction), [Add CustomLineItem](ctp:api:type:CartAddCustomLineItemAction), and [Add DiscountCode](ctp:api:type:CartAddDiscountCodeAction) update actions on Carts.
- [Add LineItem](ctp:api:type:StagedOrderAddLineItemAction), [Add CustomLineItem](ctp:api:type:StagedOrderAddCustomLineItemAction), and [Add DiscountCode](ctp:api:type:StagedOrderAddDiscountCodeAction) update actions on Order Edits.
- [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 GraphQLMatchingPriceNotFoundError {
    channel?: ChannelReference;
    code: "MatchingPriceNotFound";
    country?: string;
    currency?: string;
    customerGroup?: CustomerGroupReference;
    productId: string;
    variantId: number;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Channel associated with the Price.

code: "MatchingPriceNotFound"
country?: string

Country code of the geographic location.

currency?: string

Currency code of the country.

customerGroup?: CustomerGroupReference

Customer Group associated with the Price.

productId: string

Unique identifier of a Product.

variantId: number

Unique identifier of a ProductVariant in the Product.

Generated using TypeDoc