Skip to main content
PATCH
cURL
Updates the refund, wrapped in purchase_refund. Only alternate_date, reference, note and custom_attributes can change; any other key returns 400, and the amount cannot change.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

purchase_refund_id
string
required

The purchase refund's id. The update and delete do not accept its uuid.

Body

application/json
purchase_refund
object
required

Response

The updated purchase refund, under purchase_refund.

purchase_refund
object