Returned when a preview to find an appropriate Shipping Method for an OrderEdit could not be generated.

The error is returned as a failed response to the [Get Shipping Methods for an OrderEdit](ctp:api:endpoint:/{projectKey}/shipping-methods/matching-orderedit:GET) request.
interface GraphQLEditPreviewFailedError {
    code: "EditPreviewFailed";
    result: OrderEditPreviewFailure;
    [key: string]: any;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: any

Properties

Properties

code: "EditPreviewFailed"

One of the error codes that is listed on the Errors page.

State of the OrderEdit where the stagedActions cannot be applied to the Order.