Update credit memo
documentedUpdate a credit memo.
POST /v3/company/{realmId}/creditmemo?operation=updateCreditMemosno 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}}/creditmemo?minorversion={{minorversion}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-Intuit-Secret: {{INTUIT_SECRET}}" \
-d '{"CreditMemo": {"Id": "{{$creditMemoId}}", "SyncToken": "{{$syncToken}}", "TxnDate": "{{$txnDate}}", "PrivateNote": "{{$privateNote}}", "Line": [ {"DetailType": "SalesItemLineDetail", "Amount": {{$amount}}, "SalesItemLineDetail": {"ItemRef": {"value": "{{$itemId}}", "name": "{{$itemName}}"}, "UnitPrice": {{$unitPrice}}, "Qty": {{$qty}} } } ], "CustomerRef": {"value": "{{$customerId}}", "name": "{{$customerName}}"} } }'"