Query Regarding Shopify API for Return Closure Timestamp

Hi Team,

Could you please provide guidance on how to retrieve the timestamp or date when a return was closed on Shopify using the API?

For reference, here is an example order: https://admin.shopify.com/store/support-dk/orders/5581258981619

Thank you in advance for your assistance.

Regards,
Dinesh

Hi @dinesh-fulfil

If you use Shopify Rest Api: https://{{storeName}}.myshopify.com/admin/api/{{apiVersion}}/orders/5581258981619.json , canceled-at/closed_at may be what you need,

If you use Shopify GraphQL Api, canceledAt/closedAt may be what you need.

query order($id: ID!){
    order(id:$id) {
      name
      cancelReason
      cancelledAt
      createdAt
      closed
      closedAt
    }
}