# Creates and commits a Request to be used in the Purchasing Document Workflow. Endpoint: POST /requests Version: v3.0: 3.26.2.2 Security: Auth API User Token ## Request fields (application/json-patch+json): - `lines` (array,null) - `lines.commdocLineID` (string,null) - `lines.commdocID` (string,null) - `lines.backLinkLineID` (string,null) - `lines.itemID` (string,null) - `lines.vendorPrice` (number,null) - `lines.lastVendorPrice` (number,null) - `lines.quantity` (number,null) - `lines.lineNumber` (integer,null) - `lines.notes` (string,null) - `lines.converted` (string,null) - `lines.computedCost` (number,null) - `lines.rowDeleted` (boolean) - `doCommit` (boolean) - `RequestType` (string,null) Valid Request Types: "Purchase", "Transfer", null - `commit` (boolean) - `id` (string) - `thirdPartyID` (string,null) - `docNumber` (string,null) - `reference` (string,null) - `description` (string,null) - `instructions` (string,null) - `totalAmount` (number) - `created` (string) - `lastUpdated` (string) - `vendor` (string,null) - `createdByUser` (string,null) - `store` (string,null) - `committed` (string,null) - `committedByUser` (string,null) - `needBy` (string,null) ## Response 500 fields (text/plain): - `message` (string,null) - `errors` (array,null) - `errors.extensions` (string,null) ## Response 429 fields