API: Mark Sales Order as Open + Custom Status

API: Mark Sales Order as Open + Custom Status

Hi,

it's possible to create Custom Status (sub-status actually) states for the Sales Order.

So you have Open, Void.

Then under Open you can have Open, and create one called Order Paid, Order Shipped, etc etc...which is grouped under Open.


I can use the API to set the status as Void, or Open.

For example open, the API call is:
/salesorders/:salesorder_id/status/open
- but how would I use the API to include the Sub Status as well?

Thank you.