How to orderCreate an order and mark it as local delivery or in-store pickup?

Hello!

I’m looking for guidance on how to create an order for local delivery or in-store pickup within GQL API.

I’ve looked through the docs and checked orderCreate mutation but couldn’t find anything relevant.

Did I miss something or do I have to go through a different mutation? Is it even possible to do it as of right now?

Any help (even a confirmation that it’s not possible) will be greatly appreciated.

Thank you

I’ve had more look using draftOrderCreate, but the problem with that is you need to know the hexadecimal code for the shipping rate you want, and to my knowledge, shipping rate queries to the API exclude local delivery and pick up hexes. Unclear if that’s intended or a bug in the API