Routes
Purchase Orders
Items
New Purchase Order Item
This request creates a new Purchase Order Item.
| Parameter | Type | Required | Description |
|---|---|---|---|
| itemType | Int | Required | A number describing what type of PO Item this is. Valid values are: 1 (Part), 2 (Service), 4 (Other). If itemType is 1, name and taskID cannot be present and partID is required. If itemType is 2 or 4, name is required and partID cannot be present. If itemType is 2, a checklistID is required. |
| name | String | Optional | A short line-item title for this PO Item. |
| description | String | Optional | A more detailed description for this PO Item. |
| glID | Int | Optional | The ID of the General Ledger that this PO Item will belong to. |
| taskID | Int | Optional | The ID of the Task that this PO Item will belong to. |
| assetID | Int | Optional | The ID of the Asset that this PO Item will belong to. |
| partID | Int | Optional | The ID of the Part that this PO Item will belong to. |
| quantity | Int | Optional | A number for how many items are represented in this line. If not provided, the minimum and default values are 1. |
| rate | Float | Optional | A decimal (precision 4) representing the cost of one of the item(s). Default is 0.0000 |
| tax | Float | Optional | A decimal (precision 4) representing the amount of tax on the item(s) as a percent. Default is 0.0000 |
| discount | Float | Optional | A decimal (precision 4) representing the discounted cost on the item(s) as a percent. Default is 0.0000 |
| shipping | Float | Optional | A decimal (precision 4) representing the cost of shipping for the item(s). Default is 0.0000 |
post/v2/po/{poID}/items
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 Item
Changes
No recorded changes to this operation across all 4 revisions of this API.