Hello Team,
We created a Refund using following curl. However get refund [https://scl-sandbox.dev.clover.com/v1/refunds/refundId] doesn't have expand option to get the details of returned items. Is there any other method to get the returned items?
curl --request POST \
--url https://scl-sandbox.dev.clover.com/v1/orders/CX1Z0V2VJPFXT/returns \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {mytoken}' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"parent": "DXKT30G9J1TGG",
"quantity": 4,
"amount": 2600,
"description": "Classic BLTT",
"type": "sku"
}
]
}
'