Update purchase order item
documentedUpdate an existing purchase order item.
PUT /api/V2/PurchaseOrderItem/{Id}Stock Controlno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.eposnowhq.com/api/V2/PurchaseOrderItem/{{$purchase_order_item_id}}" \
-X PUT \
-H "Authorization: Basic {{EPOSNOWHQ_API_KEY}}:{{EPOSNOWHQ_SECRET}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"PurchaseOrderId": {{$purchase_order_id}}, "ProductId": {{$product_id}}, "Quantity": {{$quantity}}, "UnitCost": {{$unit_cost}}, "UnitPrice": {{$unit_price}}, "TaxRate": {{$tax_rate}}, "TaxAmount": {{$tax_amount}}, "Description": "{{$description}}"}'