The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Update return refund

PUT

https://api.pack.cloud/v1/organizations/{organizationId}/return-refunds/{returnRefundId}

Request

Path parameters

organizationIdstring
returnRefundIdstring

Payload

statusstring
Refund status
Allowed values:createdrequestedpendingcompletederror

Response

OK

Body

idstring
ID of the return refund
return_request_idstring
ID of the return request
codestringnull
Coupon / gift card code
Total value of refund
Shipping cost to include
methodstring
Refund method
Allowed values:integrationmanual
remarksstring
Refund remarks
statusstring
Refund status
Allowed values:createdrequestedpendingcompletederror
typestring
Refund type
Allowed values:couponexchangegift_cardmoney
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource