LEDGERS icon

LEDGERS

Interact with LEDGERS API

Catalog Operation → Add Variant (Existing Catalog)

AI-generated

Overview

This node operation allows users to add a new variant to an existing product catalog in the LEDGERS system. It is useful for scenarios where a product needs additional variants with specific attributes such as name, price, currency, SKU, tax type, and description. For example, a retailer can add a new size or color variant to an existing product catalog entry.

Use Case Examples

  1. Adding a new size variant 'Large' with a specific price and currency to an existing catalog item.
  2. Adding a variant with a unique SKU and tax type to manage inventory and taxation accurately.

Properties

Name Meaning
Catalog ID The unique identifier of the catalog to which the variant will be added.
Variant Name The name of the new variant to be added to the catalog.
Price The price of the new variant.
Additional Fields Optional additional fields for the variant such as currency, non-taxable amount, SKU ID, tax type, and variant description.

Output

JSON

  • variantId - The unique identifier of the newly added variant.
  • variantName - The name of the newly added variant.
  • price - The price set for the variant.
  • currency - The currency used for the variant price.
  • sku - The SKU ID of the variant.
  • taxType - The tax type applied to the variant.
  • description - The description of the variant.

Dependencies

  • Requires API key credential for LEDGERS API authentication.

Troubleshooting

  • Authentication failures due to incorrect API credentials will prevent the node from executing successfully. Verify API key, email, and password.
  • Missing required fields such as Catalog ID, Variant Name, or Price will cause errors. Ensure all mandatory inputs are provided.
  • Invalid currency codes or tax type values may cause the API to reject the request. Use supported options as listed in the Additional Fields.

Discussion