question

kumarauriss avatar image
kumarauriss asked

How to get the Refund Details include the Quantity returned for a line item?

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"

}

]

}

'

Refund
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community