order.return.approve

Approve a return — issues the instructions the shopper sees (snapshotted as evidence).

Payload

fieldtyperequirednotes
returnIdstring (/^ret_[a-zA-Z0-9]{1,32}$/)yes
instructionsobjectyes
addressstring (≤300 chars)yes
carrierNamestring (≤60 chars)no
costBearer"merchant" | "consumer"yes
costKurusinteger (0..10000000000000)no
notestring (≤500 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}$"
    },
    "instructions": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "minLength": 1,
          "maxLength": 300
        },
        "carrierName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 60
        },
        "costBearer": {
          "type": "string",
          "enum": [
            "merchant",
            "consumer"
          ]
        },
        "costKurus": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10000000000000
        },
        "note": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        }
      },
      "required": [
        "address",
        "costBearer"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "returnId",
    "instructions"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.return.approve.md