Update item
documentedUpdate an existing 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 "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"sparse": true, "Id": "{{$item_id}}", "SyncToken": "{{$sync_token}}", "Name": "{{$item_name}}", "Description": "{{$item_description}}", "Active": {{$item_active}}, "Type": "{{$item_type}}", "UnitPrice": {{$item_unit_price}}, "IncomeAccountRef": {"value": "{{$income_account_id}}", "name": "{{$income_account_name}}"}, "PurchaseCost": {{$item_purchase_cost}}, "TrackQtyOnHand": {{$item_track_qty_on_hand}}, "Taxable": {{$item_taxable}} }'