Interface GraphQLInvalidItemShippingDetailsError

Returned when Line Item or Custom Line Item quantities set under ItemShippingDetails do not match the sum of the quantities in their respective shipping details.

The error is returned as a failed response to the [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.
interface GraphQLInvalidItemShippingDetailsError {
    code: "InvalidItemShippingDetails";
    itemId: string;
    subject: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

code: "InvalidItemShippingDetails"
itemId: string

Unique identifier of the Line Item or Custom Line Item.

subject: string

"LineItem" or "CustomLineItem"

Generated using TypeDoc