Approve a return → issue refund + credit note + restock (§2.11)
POST
/admin/v1/returns/{id}/approve
const url = 'https://your-store.example.com/admin/v1/returns/example/approve';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-store.example.com/admin/v1/returns/example/approveParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string