Shipped orders / delivered orders in reporting

In the orders reporting, how do the Shipped Orders and Delivered Orders fields get updated?

We have a client that passes the fulfilment information via REST API, but the data for the Shipped orders is always 0. Is there any specific parameter they should pass to update this value?
This is a link to the docs, would we update the shipment_status parameter?

Hi Rossella,

Welcome to the .dev Community! I’m connecting with our product team on this - will update as soon as I learn more!

Hi again @rossella

Generally a fulfillment order that requires shipping will be fulfilled when the order is shipped, then the shipment status will update according to the package tracking info. So a single fulfillment can’t be “Shipped” and “Delivered” at the same time if they are using this field. Instead All fulfilled orders are likely shipped, and eventually all shipped orders should be delivered.

Hope this helps!

Thanks, @Liam-Shopify!

Is there an endpoint for the REST api where we could mark the order as shipped? Is it necessary to update the tracking to trigger this, like specified in this forum answer?

Thanks!

Hey again Rosella - I think you added the wrong link for the forum answer?

Oops, sorry! Edited the link

I’m not sure about REST but you can mark an order as shipped using the GraphQL Admin API, with the fulfillmentCreateV2 mutation.

Thanks @Liam-Shopify.
Going back to the initial question, this is the process the client’s ERP is following:

  • customer places the order
  • order confirmation is sent from Shopify
  • when the items are ready, the order is fulfilled with a REST Api call, setting the fulfilment service as manual
  • Within this call, the notify_customer flag is set to true, so a shipping confirmation email is sent to the customer from Shopify
  • Order is archived

I feel like we are missing a step to update the values in the first screenshot. Should we be adding a shipment_status update before fulfilling the order?