---
updatedAt: 2026-07-03T14:22:18.000Z
agentTools:
  projectIndex: https://developer.xentral.com/llms.txt
---

# Send return order V3

This endpoint requires the following scopes: `return:send`.

Send a return order.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Xentral Business Documents API v3",
    "description": "The Xentral Business Documents API v3 for working with sales orders, offers, invoices, credit notes, delivery notes, return orders, purchase orders, proforma invoices and productions.\n\nIndividual endpoints marked as *Beta* may still change without prior notice — see the respective endpoint descriptions.\n\nRequest payloads may contain properties that an endpoint does not define; these are ignored rather than rejected. Nothing is stored for them and no error is returned, so check the response body to confirm which values were actually applied.",
    "contact": {
      "name": "API Support",
      "url": "https://xentral.com",
      "email": "api@xentral.com"
    },
    "version": "0.2.0"
  },
  "servers": [
    {
      "url": "https://{xentralId}.xentral.biz",
      "description": "Your xentral instance",
      "variables": {
        "xentralId": {
          "default": "my-company",
          "description": "Your Xentral instance ID"
        }
      }
    },
    {
      "url": "https://{domain}",
      "description": "Xentral with a custom domain",
      "variables": {
        "domain": {
          "default": "demo.xentral.com",
          "description": "Your Xentral custom domain"
        }
      }
    }
  ],
  "components": {
    "schemas": {
      "PrinterReferenceData": {
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "description": "ID of the printer",
            "type": "string",
            "example": "43"
          }
        },
        "type": "object"
      },
      "SendBusinessDocumentData": {
        "properties": {
          "email": {
            "$ref": "#/components/schemas/SendViaEmailData",
            "description": "Data for sending the document via email."
          },
          "printer": {
            "$ref": "#/components/schemas/PrinterReferenceData",
            "description": "Data for sending the document via printer."
          },
          "markAsSent": {
            "description": "Whether to mark the document as sent. Only true is supported.",
            "type": "boolean",
            "example": true
          }
        },
        "type": "object"
      },
      "SendViaEmailData": {
        "properties": {
          "to": {
            "description": "Recipient email address. If not provided, the email from the recipient address will be used.",
            "type": "string",
            "example": "laura.schneider@xentral.com"
          },
          "name": {
            "description": "Recipient name. If not provided, the name from the recipient address will be used. Can only be used if \"to\" is also provided.",
            "type": "string",
            "example": "Laura Schneider"
          },
          "cc": {
            "description": "List of CC email addresses. If not provided, CC addresses will be used from the address settings.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "bcc": {
            "description": "List of BCC email addresses.",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "subject": {
            "description": "Subject of the email. If not provided, the system default subject will be used.",
            "type": "string"
          },
          "body": {
            "description": "Email body of the email. If not provided, the system default body will be used.",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "ReturnOrder",
      "description": "ReturnOrder"
    }
  ],
  "paths": {
    "/api/v3/returnOrders/{id}/actions/send": {
      "patch": {
        "tags": [
          "ReturnOrder"
        ],
        "summary": "Send return order V3",
        "description": "This endpoint requires the following scopes: `return:send`.\n\nSend a return order.",
        "operationId": "PATCH::api-v3-returnorders-id-actions-send",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendBusinessDocumentData"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Failed validation",
            "content": {
              "application/problem+json": {
                "schema": {
                  "properties": {
                    "type": {
                      "description": "Error messages",
                      "type": "string",
                      "example": "https://api.xentral.biz/problems/request-validation"
                    },
                    "title": {
                      "description": "Error messages",
                      "type": "string",
                      "example": "Request payload validation failed."
                    },
                    "violations": {
                      "description": "Error messages",
                      "type": "object",
                      "example": {
                        "email": [
                          "The email field is invalid."
                        ],
                        "printer": [
                          "The printer field is invalid."
                        ],
                        "markAsSent": [
                          "The mark as sent field must be accepted."
                        ]
                      }
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Problem occurred",
            "content": {
              "application/problem+json": {
                "schema": {
                  "properties": {
                    "type": {
                      "description": "A URI reference that identifies the problem type.",
                      "type": "string",
                      "example": "https://api.xentral.biz/problems/write-protected"
                    },
                    "title": {
                      "description": "A short, human-readable summary of the problem type.",
                      "type": "string",
                      "example": "The resource is write-protected."
                    }
                  },
                  "type": "object"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "message": {
                      "description": "Too Many Requests",
                      "type": "string",
                      "example": "Too Many Requests"
                    }
                  },
                  "type": "object"
                }
              }
            }
          }
        },
        "x-scopes": [
          "return:send"
        ]
      }
    }
  }
}
```