Creating orders via admin api gives no delivery_method

Hi all,

I’ve been directed to post by shopify partner support. I’m creating test orders in my development store. When I create orders via the UI, FulfillmentOrder.Delivery_Method is returned with some values (the key one for me being DeliveryMethod.methodType)

However when i create an order via the Admin API, FulfillmentOrder.Delivery_Method returns as null.

I can see in the spec that FulfillmentOrder is created automatically when an order is created. Does anyone know what data needs to be present / available to create the DeliveryMethod object?

Update: I’ve discovered that creating and then converting a draft order will set the required information on the Fulfillment order object.

The new issue is that i don’t know how to mark this as a test transaction. This could result in locking the store checkouts.

Any one got any ideas?