Product Features

Overview

The Product Features API allows you to manage additional characteristics and specifications associated with products in the Venddor platform. Features help categorize and differentiate products, making them easier for customers to search and compare.

Base URL: https://www.venddor.com.br/api/2.0/products/{product_id}/features

Working with Product Features

Types of Features

Features can be used in different ways to describe products:

Feature Structure

{
  "feature_id": "12345",
  "product_id": "678",
  "feature_code": "PROCESSOR",
  "feature_name": "Processor",
  "feature_type": "T",     // T - text, C - checkbox, N - number, etc.
  "feature_value": "Intel Core i7-10700K",
  "feature_group": "Technical Specifications",
  "feature_position": 10,
  "display_on_product": true,
  "display_on_catalog": false,
  "feature_comparison": true
}

Common API Operations

GET /api/2.0/products/{product_id}/features

Returns all features associated with the specified product.

GET /api/2.0/products/{product_id}/features/{feature_id}

Returns details of a specific feature for the given product.

POST /api/2.0/products/{product_id}/features

Creates a new feature for the specified product.

PUT /api/2.0/products/{product_id}/features/{feature_id}

Updates an existing feature for the given product.

DELETE /api/2.0/products/{product_id}/features/{feature_id}

Removes a feature from the specified product.

Note: Features are important for product discoverability through filters and search. Ensure your products have comprehensive feature sets with standardized terminology.

Best Practices

Tip: For category-specific features, you can retrieve recommended feature templates using GET /api/2.0/categories/{category_id}/feature_templates