--- title: DraftOrderInputDraftOrderUnavailableMerchandiseStrategy - GraphQL Admin description: >- Whether to treat unavailable merchandise as an error or a warning when creating, updating, or calculating a draft order. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/DraftOrderInputDraftOrderUnavailableMerchandiseStrategy md: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/DraftOrderInputDraftOrderUnavailableMerchandiseStrategy.md --- # Draft​Order​Input​Draft​Order​Unavailable​Merchandise​Strategy enum Whether to treat unavailable merchandise as an error or a warning when creating, updating, or calculating a draft order. ## Valid values * ERROR Merchandise that cannot be added to the draft order should cause an error, and the draft will not be calculated, created, or updated. * WARN 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. *** ## Fields * [Draft​Order​Input.unavailableMerchandiseStrategy](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DraftOrderInput#fields-unavailableMerchandiseStrategy) INPUT OBJECT The input fields used to create or update a draft order. *** ## Map ### Inputs with this enum * [Draft​Order​Input.unavailableMerchandiseStrategy](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DraftOrderInput#fields-unavailableMerchandiseStrategy)