Admin Sales: RMA
Update an RMA rule
Partial update. Permission: sales.rma.rules.edit.
put/rma/rules/{id}
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Rma rule ID
Request body
Example request
{
"name": "Apparel 45-day returns",
"description": "Extended window for clothing.",
"status": 1,
"return_period": 45
}Response
The updated RMA rule.
Changes
No recorded changes to this operation across all 8 revisions of this API.