Prototype return cause for a creation form
POST/api/v2/return-causes/new
Returns a non-persisted return cause pre-populated with backend defaults (enabled=true, current company, next code). Optional JSON hints: companyId, copyFromId. The response has no id, version or audit fields; call POST /api/v2/return-causes afterwards to persist.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Return cause prototype with defaults
Invalid prepare-create hints
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_CAUSADEVOLUCION permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.