Interface GraphQLShippingMethodDoesNotMatchCartError

Returned when the Cart contains a ShippingMethod that is not allowed for the Cart. In this case, the ShippingMethodState value is DoesNotMatchCart.

The error is returned as a failed response to the [Create Order from Cart](ctp:api:endpoint:/{projectKey}/orders:POST) or [Create Order in Store from Cart](ctp:api:endpoint:/{projectKey}/in-store/orders:POST) requests.
interface GraphQLShippingMethodDoesNotMatchCartError {
    code: "ShippingMethodDoesNotMatchCart";
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

code: "ShippingMethodDoesNotMatchCart"

Generated using TypeDoc