Actions39
- Catalog Operation Actions
- Common Operation Actions
- Contact Operation Actions
- HRMS Operation (India) Actions
- Purchase Operation Actions
- Sales Operation Actions
- Tax Operation (India) Actions
Catalog Operation → Update Variant (Existing Catalog)
AI-generatedOverview
This node operation updates an existing product variant within a specified catalog in the LEDGERS system. It is useful for scenarios where product variant details such as price, currency, SKU, status, or description need to be modified. For example, a user can update the price or status of a variant to reflect current inventory or pricing changes.
Use Case Examples
- Updating the price and currency of a product variant in a catalog.
- Changing the status of a variant from inactive to active.
- Modifying the SKU or description of a variant to correct or enhance product information.
Properties
| Name | Meaning |
|---|---|
| Catalog ID | The unique identifier of the catalog containing the variant to update. This is required to specify which catalog the variant belongs to. |
| Variant Name or ID | The identifier or name of the variant to update within the catalog. This can be selected from a list of existing variants or specified via an expression. |
| Update Variant Fields | A collection of fields to update on the variant, including currency, non-taxable amount, price, price type, SKU ID, status, variant description, and variant name. |
Output
JSON
variantId- The ID of the updated variant.catalogId- The ID of the catalog containing the updated variant.updatedFields- The fields that were updated on the variant with their new values.
Dependencies
- An API key credential for authenticating with the LEDGERS API.
- User credentials including email and password for API login.
Troubleshooting
- Authentication failures due to incorrect API key, email, or password. Ensure credentials are correct and have necessary permissions.
- Empty or invalid Catalog ID or Variant ID leading to failure in locating the variant to update.
- Invalid field values in the Update Variant Fields collection, such as unsupported currency codes or invalid price formats.
- Network or API endpoint issues causing HTTP request failures.