Create item
documentedCreate a product or service item.
POST /v3/company/{realmId}/itemItemsno 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?minorversion={{$minorversion}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Name": "{{$title}}", "Type": "Service", "Description": "{{$description}}", "Active": true, "IncomeAccountRef": {"value": "{{$income_account_id}}", "name": "{{$income_account_name}}"}, "UnitPrice": {{$unit_price}}, "PurchaseCost": {{$purchase_cost}}, "TrackQtyOnHand": false, "domain": "QBO", "sparse": false}'