Shopify V3 - Draft Order Modules are not available

Can someone please tell me if Shopify Draft Order modules have been deprecated since there doesn’t seem to be any way of adding a Draft Order Module

I have existing scenarios that use them (via the Shopfiy V2 API) but it is no longer possible to create new Create Draft Order modules. They don’t exist.

Hey George,

Shopify completely reworked their API switching from REST API to GraphQL API. So pretty much all modules were deprecated and need to be replaced with the new ones.

Hi Stoyan,

Will there be a way to watch draft orders in Shopify that doesn’t involve using webhooks once the modules are back online?

Hi @George_OIC,

yes, some modules related to Draft Orders have been deprecated. However, you can still create Draft Orders using the Shopify API.

Here are the relevant GraphQL mutation docs you can refer to:
Create Draft Order: draftOrderCreate - GraphQL Admin

Create Draft Order with Line Items: draftOrderCreate - GraphQL Admin

Let me know if this helps :+1:

They are not coming back online. You will have to use the new ones available. Most likely a generic API call module.

Hey George,

The Draft Order modules haven’t been deprecated in Shopify itself, but Make.com removed them during the transition from Shopify’s REST API (V2) to their GraphQL API (V3). Unfortunately, they’re not coming back as dedicated modules.

Here’s the workaround:

You’ll need to use the “Make an API Call” module with Shopify’s GraphQL API. Here’s how to create a draft order:

Module: Shopify > Make an API Call

Method: POST

GraphQL Mutation:

mutation draftOrderCreate($input: DraftOrderInput!) {
  draftOrderCreate(input: $input) {
    draftOrder {
      id
      name
      customer {
        id
      }
      lineItems(first: 10) {
        edges {
          node {
            id
            title
            quantity
          }
        }
      }
    }
    userErrors {
      field
      message
    }
  }
}

Body (example):

{
  "query": "mutation draftOrderCreate($input: DraftOrderInput!) { draftOrderCreate(input: $input) { draftOrder { id name } userErrors { field message } } }",
  "variables": {
    "input": {
      "customerId": "gid://shopify/Customer/YOUR_CUSTOMER_ID",
      "lineItems": [
        {
          "variantId": "gid://shopify/ProductVariant/YOUR_VARIANT_ID",
          "quantity": 1
        }
      ]
    }
  }
}

Resources:

I know it’s more complex than the old modules, but once you set it up, you can save it as a template for reuse.

Let me know if you need help with the GraphQL structure!

Sam @ Flow Digital