avanta icon

avanta

Consume avanta API

Actions57

Company - Sku → Create or Update

AI-generated

Overview

This node handles the creation or updating of a Company SKU (Stock Keeping Unit) within the Avanta API. It is useful for managing product identifiers specific to a company, allowing users to create new SKUs or update existing ones in bulk or individually. Practical scenarios include synchronizing product SKUs from an external system to Avanta or updating SKU details for inventory management.

Use Case Examples

  1. Creating multiple company SKUs in bulk using the bulk API option.
  2. Updating a single company SKU with specific details such as company customer ID, store group, and product SKU.

Properties

Name Meaning
Request Options Options to customize the API request behavior, including debug mode, SSL certificate validation, and request timeout.
Return to Webhook Whether to return the API response to a webhook, requiring a subsequent 'Respond to Webhook' node.
Use Bulk API Whether to use the bulk API for processing multiple items in one request.
Dataflow ID Optional override for the dataflow ID, automatically read from webhook input if not set.
Company Customer ID The unique identifier for the company customer, required for the SKU operation.
Company Store Group Name or ID The store group associated with the company SKU, selectable from a list or via expression.
Company SKU The SKU identifier specific to the company, required for the operation.
Product SKU The product SKU to associate with the company SKU, required for the operation.

Output

JSON

  • response - The API response data from creating or updating the company SKU.
  • debugInfo - Optional debug information including API request details if debug mode is enabled.

Dependencies

  • Avanta API with appropriate API key credentials

Troubleshooting

  • Ensure required fields like Company Customer ID, Company Store Group, Company SKU, and Product SKU are provided to avoid validation errors.
  • If using the bulk API, verify that the input data format matches the expected bulk structure.
  • Enable debug mode to get detailed API request and response information for troubleshooting connectivity or data issues.
  • Check SSL settings if connection errors occur due to certificate validation, especially when 'Ignore SSL Issues' is disabled.

Discussion