Create/update register entries (import a reference table)
wflow_upsert_registerWrite register entries using PUT to replace the whole set or PATCH to update only submitted entries. Match by externalId or code.
Instructions
Write entries to a register. Two modes: • method='PUT' replaces the WHOLE set — entries missing from your list are marked invalid (this is how ERP reference-table imports work). Match is by externalId, or code if externalId is empty. • method='PATCH' updates only the entries you send, leaving the rest untouched. Each entry: {externalId?, code, description?, isValid?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Register type. | |
| method | No | PUT=replace whole set, PATCH=partial update. | PATCH |
| entries | Yes | Array of register entries to write. | |
| organization | No |