Weclapp icon

Weclapp

Interact with the Weclapp ERP/CRM API

Actions136

Variant Article → Update

AI-generated

Summary

Updates a Weclapp Variant Article by its internal Record ID. Set the fields to update and, optionally, custom attributes; enable Dry Run to validate the update without saving it.

Inputs

  • Record ID (required) — The Weclapp internal ID of the Variant Article to update.
  • Fields to Update — Optionally set the Variant Article Number, Variant Article Name, or Primary Article ID. The Variant Article Number is described as required on create, but that requirement does not apply to this update operation.
  • Custom Attributes — Optionally map custom attributes available for the Variant Article entity.
  • Dry Run — Defaults to false. When enabled, Weclapp validates the update and runs its business logic without persisting changes.

Output shape

A single updated record, or a success response for a dry run.

The source indicates that Weclapp returns "ok" on successful dry runs instead of the usual result. Fields omitted from the update are not specified by the provided source excerpt.

Examples

Example 1: Update a variant article's name

Set Record ID to the target record and Variant Article Name to the new name; optionally include other fields or custom attributes.

Example 2: Validate an update without saving

Set the target Record ID and proposed update fields, then enable Dry Run.

Links

Discussion