Create Features - Venddor API

← Back to API Documentation
POST {{baseUrl}}/Features

This endpoint allows you to create a new product feature in the system, such as size, color, material, etc.

Important: Marketplace administrator credentials are required to use this endpoint.

Request Headers

Header Value Description
Authorization Basic Auth Base64 encoded username:password combination

Request Body Parameters

Parameter Type Required Description
company_id* string Yes Always set to "0" to make the feature available to all sellers
feature_type* string Yes Always set to "S" for a select box feature
description* string Yes Name of the feature (e.g., "Size", "Color", "Material")
status* string Yes Set to "A" for activated or "D" for deactivated

Example Request

{
  "company_id": "0",
  "feature_type": "S",
  "description": "Print",
  "status": "A"
}

Response

The endpoint returns the ID of the newly created feature.

Example Response

{
  "feature_id": "586"
}
Tip: After creating a feature, you can update it to add variants (values) using the Update Features endpoint.