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.

Get or create return receipt

POST

https://api.pack.cloud/v1/warehouses/{warehouseId}/return-receipt

Request

Path parameters

warehouseIdstring

Payload

organization_idstringrequired
return_request_idstringrequired

Response

OK

Body

idstring
ID of the return receipt
return_request_idstring
ID of the return request
organization_idstring
ID of the organization
remarksstringnull
Remarks of the return receipt
statusstring
Status of the return receipt
Allowed values:createdpendingcompleted
completed_atstringnull
Receipt marked completed at
created_atstring
Creation time of resource
updated_atstring
Latest update time of resource