Covers all questions related to inventory management, order fulfillment, and shipping.
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
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
}
}