admin_add_po_line_item
Add a product line item to a purchase order. Requires the product to have stock tracking enabled.
Instructions
Add a line item to a purchase order. Note: the product must have maintain_stock=true or the API returns 422.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PO ID | |
| product_id | Yes | Product ID | |
| quantity | Yes | Quantity |