Appearance
DELETE
/config/return-reason/return-reasons/{returnReasonId}Required scope:
viskan:returnreason:deleteDeletes a return reason by its unique identifier.
Parameters
Path parameters
returnReasonId integerThe unique identifier of the return reason to delete.
Response
The return reason was deleted successfully.
| Error code | Description |
|---|---|
cannot-delete-referenced-entity | The return reason cannot be deleted because it is referenced by other entities. |
return-reason-not-found | The return reason with the given ID was not found. |