OrderError Object
type OrderError {
field: String
message: String
code: OrderErrorCode!
warehouse: ID
orderLines: [ID!]
variants: [ID!]
addressType: AddressTypeEnum
promoCodeDetails: PromoCodeRejectionDetails
}
Fields
field
field · String
Name of a field that caused the error. A value of null indicates that the error isn’t associated with a particular field.
message
message · String
The error message.
code
code · OrderErrorCode!
The error code.
warehouse
warehouse · ID
Warehouse ID which causes the error.
orderLines
orderLines · [ID!]
List of order line IDs that cause the error.
variants
variants · [ID!]
List of product variants that are associated with the error
addressType
addressType · AddressTypeEnum
A type of address that causes the error.
promoCodeDetails
promoCodeDetails · PromoCodeRejectionDetails
Details of the promo code that caused the error. Null when the error is not a promo code rejection.
Added in Saleor 3.23Used by
- DraftOrderBulkDelete (objects)
- DraftOrderComplete (objects)
- DraftOrderCreate (objects)
- DraftOrderDelete (objects)
- DraftOrderLinesBulkDelete (objects)
- DraftOrderUpdate (objects)
- FulfillmentApprove (objects)
- FulfillmentCancel (objects)
- FulfillmentRefundProducts (objects)
- FulfillmentReturnProducts (objects)
- FulfillmentUpdateTracking (objects)
- Order (objects)
- OrderAddNote (objects)
- OrderBulkCancel (objects)
- OrderCancel (objects)
- OrderCapture (objects)
- OrderConfirm (objects)
- OrderDiscountAdd (objects)
- OrderDiscountDelete (objects)
- OrderDiscountUpdate (objects)
- OrderFulfill (objects)
- OrderLineDelete (objects)
- OrderLineDiscountRemove (objects)
- OrderLineDiscountUpdate (objects)
- OrderLineUpdate (objects)
- OrderLinesCreate (objects)
- OrderMarkAsPaid (objects)
- OrderRefund (objects)
- OrderUpdate (objects)
- OrderUpdateShipping (objects)
- OrderVoid (objects)
Schema: Saleor 3.23.43. Download SDL.