draftOrderInvoiceSend GraphQL call error

I am trying to make a call to send an invoice for draft order. When I create a draft order my id returns in the following format:

 

{

 "id": "gid://shopify/DraftOrder/2103322192"

}

 

Docs: https://help.shopify.com/en/api/graphql-admin-api/reference/mutation/draftorderinvoicesend

The documentation state the id must look like this to send an invoice:

{
"id": "Z2lkOi8vU2hvcGlmeS9FeGFtcGxlLzE="
}

 

Does this call work properly? am I missing something?

 

current error

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 0b5fbe89-c989-439b-9256-cb0c3f8bda52 (include this in support requests)."
    }
  ]
}

 

0 Likes
Shopify Partner
5 0 1

Did you figure out a solution for this? I'm having the same issue.

0 Likes
Shopify Partner
64 3 4

Do you have the proper permissions set to use that call?

scratch that, the error states that it is an internal error, something happened on their end. This isn't something you're doing. It has a support ticket id at the end you can use to ask about it.

Most people, it turns out, just aren't interested unless they have to pay for it. Go figure.
0 Likes