Admin Sales: RMA
Create an RMA rule
Permission: sales.rma.rules.create.
post/rma/rules
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Apparel 30-day returns",
"description": "Return window for all clothing.",
"status": 1,
"return_period": 30
}Response
The created RMA rule.
Changes
No recorded changes to this operation across all 8 revisions of this API.