returns.reject
Reject a return request with a reason; mails the shopper.
- method + path:
POST /v1/returns/{ret}/reddet - TR label: İade reddi
- auth: authenticated · scope gates: any of
admin,orders:read,orders:write— “İadeleri yalnızca mağaza sahibi görebilir”; then any ofadmin,orders:write— “Bu işlem için yetki yok” - agentPolicy:
propose— a live mutation — an Ajan token's call is recorded into its open proposal (202proposed: true); a Geliştirici token executes it directly. - effects:
db,mail - idempotency: server — the platform derives the key
- wraps:
order.return.reject
Machine-readable body schema: /schemas/routes/returns.reject.json.
Body
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"rejectCode": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"rejectText": {
"type": "string",
"maxLength": 500
}
}
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/routes/returns.reject.md