How can I transition an order from fulfillment to completed? I'm running Commerce Marketplace and provide store owners a back-end portal for managing their store.
In their portal, they can view orders sitting in the &quot;fulfillment&quot; state with the shipping address.  Once they fulfill that order, I need to provide a button for them to move that order to the &quot;completed&quot; state.
How do I move an order to the &quot;completed&quot; state?  Do I send the user to a specific checkout route, or can I move the order itself to completed via the API?
Currently, the only way to move the order to &quot;completed&quot; is manually in the order under the Commerce administration.
Perhaps one way to do this would be similar to what you can find in modules/contrib/commerce/modules/order/templates/commerce-order--admin.html.twig
{# If the order has possible transitions, render the field for transition buttons. #}
{% if order_entity.getState.getTransitions is not empty %}
&lt;div class=&quot;entity-meta__header&quot;&gt;
  {{ order.state }}
&lt;/div&gt;
{% endif %}

If the order is configured to pass from state fullfilled to completed the appropriate button for moving state should be available there.  Make sure your order_entity is passed to the twig template.
Read more about order workflow states