Managing Product Variants
Overview
- API Purpose: This documentation covers the API designed to manage product variants for configurable products. It enables the creation, searching, and modification of product variants, each with unique specifications such as SKU, dedicated images, and inventory data, ensuring precise stock management.
- Core Functionalities:
- Create and manage a wide range of customized product variants based on a 'parent' product definition.
- Unique identification and management of each product variant through SKUs.
- Efficient inventory management associated with each product variant.
- Architecture Overview: Briefly highlights the overarching structure of the API, ensuring clarity on how it integrates with the 'parent' product model to manage variant configurations.
API Endpoints and Operations
CSM-CRMV-01 - Search
- Usage: Retrieve details of existing product variants based on specific criteria.
- Method:
GET - Parameters: Filters and query parameters for searching product variants.
- Responses: Expected response structure and sample data.
CSM-CRMV-03 - Add New Variant
- Usage: Create a new product variant under a defined 'parent' product.
- Method:
POST - Parameters: Data required to define the new variant, including unique SKU, configurations, and associated inventory data.
- Responses: Sample request and response data illustrating successful creation.
CSM-CRMV-04 - Modify Existing Variant
- Usage: Update details or configurations of an existing product variant.
- Method:
PUT - Parameters: Identification of the variant to be modified and the specific data updates.
- Responses: Examples of modification requests and the expected outcomes.
Una volta creata l'anagrafica base della Variante è possibile operare con le API dei Prodotti per popolare le varie sezioni, come le immagini, attributi etc.

