All things Shopify and commerce
Hello Shopify Community, I'm looking for guidance on how to modify the order return status via API. I've tried using both the REST API and GraphQL, but haven't been successful.
My use case includes calling the refund api call but without a transaction I'd like to cancel, as the money does not go back to the customer via Shopify.
Any help or examples would be greatly appreciated. Thank you!
My (non working) code:
{
"query": "mutation {
orderUpdate(input: {id: \"gid://shopify/Order/$ORDER_ID\", returnStatus: RETURNED}) {
order {
id
returnStatus
}
userErrors {
field
message
}
}
}"
}
'{
"order": {
"id": $ORDER_ID,
"financial_status": "paid" // Tried also order_return_status
}
}'
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024