---
updatedAt: 2025-07-10T10:46:07.000Z
agentTools:
  projectIndex: https://api.agiliron.com/llms.txt
---

# Update PurchaseReturn

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "purchasereturn",
    "version": "4.0"
  },
  "servers": [
    {
      "url": "https://{yourCompany}.agiliron.net/agiliron/api-40/PurchaseReturn",
      "variables": {
        "yourCompany": {
          "default": "yourCompany"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "key",
        "x-default": "0"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "apiKey",
        "x-default": "0"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/": {
      "put": {
        "summary": "Update PurchaseReturn",
        "description": "",
        "operationId": "update-purchasereturn",
        "parameters": [
          {
            "name": "Accept",
            "in": "header",
            "description": "e.g. application/json or application/xml",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "JSON": {
                    "type": "string",
                    "description": "Enter JSON Data",
                    "format": "json"
                  },
                  "XML": {
                    "type": "string",
                    "description": "Enter XML Data"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```