Orders created by API are in paid status, is that expected?

Hi.

We tried creating an order using API: https://shopify.dev/api/admin-rest/2021-10/resources/order#[post]/admin/api/2021-10/orders.json

The orders are getting created but are visible in “paid” state in admin dashboard. Wanted to check whether that is expected behaviour or have we configured something wrongly?

Thanks!

Hi,

Set the financial_status property when you are creating the order. Ref here