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.

Create return reason

POST

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

Request

Path parameters

organizationIdstring

Payload

namestringrequired
Name of the return reason (localized)
Example:Damaged
codestringrequired
Code of the return reason
Example:DAMAGED
parent_idstring
ID of the parent return reason
Example:DAMAGED

Response

Created

Body

idstring
ID of the return reason
parent_idstring
ID of the parent return reason
created_atstring
Creation time of resource
codestring
Reference (code) of the return reason
namestring
Name of the return reason
updated_atstring
Latest update time of resource