2 augustus 2024
Get return refunds
GET
https://api.pack.cloud/v1/organizations/{organizationId}/return-refunds
Request
Path parameters
organizationIdstring
Query parameters
filter[method]array
Allowed values:integrationmanual
filter[status]array
Allowed values:createdrequestedpendingcompletederror
filter[type]array
Allowed values:couponexchangegift_cardmoney
includearray
Allowed values:return_request
sortstring
Allowed values:created_at-created_at
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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25
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
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25