order.return.reject
Reject a return with a stated reason (the shopper mail carries the THH/consumer-court recourse).
- scope:
orders:write - storefront-visible (bumps the catalog generation): no
- destructive: yes — supports dryRun preview
Payload
| field | type | required | notes |
|---|---|---|---|
returnId | string (/^ret_[a-zA-Z0-9]{1,32}$/) | yes | |
rejectCode | "kullanilmis" | "eksik_parca" | "istisna_kapsaminda" | "sure_disi" | "diger" | yes | |
rejectText | string (≤200 chars) | no |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"returnId": {
"type": "string",
"pattern": "^ret_[a-zA-Z0-9]{1,32}$"
},
"rejectCode": {
"type": "string",
"enum": [
"kullanilmis",
"eksik_parca",
"istisna_kapsaminda",
"sure_disi",
"diger"
]
},
"rejectText": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"returnId",
"rejectCode"
],
"additionalProperties": false
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.return.reject.md