Update item
documentedUpdate an item.
POST /v3/company/{realmId}/item?operation=updateItemsno 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://quickbooks.api.intuit.com/v3/company/{{$realmId}}/item?operation=update" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Id": "{{$item_id}}", "SyncToken": "{{$sync_token}}", "Name": "{{$name}}", "Description": "{{$description}}", "Type": "{{$type}}", "Active": {{$active}}, "IncomeAccountRef": {"value": "{{$income_account_id}}", "name": "{{$income_account_name}}"}, "ExpenseAccountRef": {"value": "{{$expense_account_id}}", "name": "{{$expense_account_name}}"}, "AssetAccountRef": {"value": "{{$asset_account_id}}", "name": "{{$asset_account_name}}"}, "InvStartDate": "{{$inv_start_date}}", "QtyOnHand": {{$qty_on_hand}}, "TrackQtyOnHand": {{$track_qty_on_hand}}, "UnitPrice": {{$unit_price}}, "PurchaseCost": {{$purchase_cost}} }'"