Anchor to DraftOrderInputDraftOrderUnavailableMerchandiseStrategyDraft
enumDraft Order Input Draft Order Unavailable Merchandise Strategy
Whether to treat unavailable merchandise as an error or a warning when creating, updating, or calculating a draft order.
Anchor to Valid valuesValid values
- ERROR
- WARN
- Anchor to ERRORERROR
Merchandise that cannot be added to the draft order should cause an error, and the draft will not be calculated, created, or updated.
- Anchor to WARNWARN
Merchandise that cannot be added to the draft order should add a warning to the draft, and the draft order may still be calculated, created, or updated.
If this results in an invalid draft with no line items, an error will still be generated, and the draft will not be calculated, created, or updated.
Was this section helpful?
Anchor to FieldsFields
- •INPUT OBJECT
The input fields used to create or update a draft order.
Was this section helpful?