Shopify Refund API Error

oneill_aloha
New Member
2 0 0

Hi,

While we requesting the create refund api we are getting the 'The remote server returned an error: (400) Bad Request'.

Here is the my url:
https://flip-critts.myshopify.com/admin/orders/3770046414953/refunds.json

Here is the my JSON:-

{
"refund": {
"restock": "true",
"notify": "true",
"currency": "USD",
"shipping": {
"full_refund": false
},
"refund_line_items": [

],
"transactions": {
"amount": "0",
"kind": "refund"
}
}
}

Here is the my Request ID:
X-Request-ID: 6f2673ef-aa5b-46fa-b910-4eb4afc3d983

Could you please tell us where we are missing.

Thanks,

0 Likes