Discussing APIs and development related to customers, discounts, and order management.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I am unable to return a list of orders via the ‘refund date’, I need this so we can get the API to search for any returns/refunds processed for that day.
Currently I use ‘order created_at date’ to query order information, but need to have the option to query by return date also. I have spent hours sifting through the Shopfiy dev docs for this unable to find a result?
Has anyone else been able to achieve this?
ie, querying for orders by refunded_at (pseudo graphql code):
orders(reverse: true, first: 10 query: "refunded_at:>’{DATETIME}' AND refunded_at:<'{DATETIME}'") {
edges {
node {
id,
createdAt,
..
etc...
TIA.