returns.approve
Approve a return request with shipping instructions; mails the shopper.
- method + path:
POST /v1/returns/{ret}/onayla - TR label: İade onayı
- 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.approve
Machine-readable body schema: /schemas/routes/returns.approve.json.
Body
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"instructions": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"instructions"
]
}Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/routes/returns.approve.md