Routes
Purchase Orders
New Purchase Order
This request creates a new Purchase Order.
| Parameter | Type | Required | Description |
|---|---|---|---|
| locationID | Int | Required | The ID of the location this PO will be created for. |
| vendorID | Int | Required | The ID of the vendor that this PO will be associated with. |
| userID | Int | Required | The ID of the user that this PO will be assigned to. |
| taskID | Int | Optional | The ID of the task that this PO will be associated with. |
| budgetID | Int | Optional | The ID of the budget that this PO will be associated with. If not provided, this will be the location's default budget. |
| date | Int | Optional | The start time of the PO -- this can be in the past or the future and will still show up in the UI. Must be a unix timestamp. If not provided, this will default to the current time. |
| expectedDate | Int | Optional | The expected delivery date of this PO. Must be a unix timestamp. |
| requestDescription | String | Optional | A description of the "request" for this PO. |
| customField1 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField2 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField3 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField4 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField5 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
| customField6 | String | Optional | PO custom field, the customer chooses which custom fields are available on all POs. |
post/v2/po
Request
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
New Purchase Order
Changes
No recorded changes to this operation across all 4 revisions of this API.