v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-29208421.4 MB
Specification field

Create specification field

Creates a specification field in a category.

⚠️ This is a legacy endpoint. We recommend using Create specification instead.

Permissions

Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:

ProductCategoryResource
CatalogCommercialSKU management

There are no applicable predefined roles for this resource list. You must create a custom role and add at least one of the resources above in order to use this endpoint. To learn more about machine authentication at VTEX, see Authentication overview.

❗ To prevent integrations from having excessive permissions, consider the best practices for managing API keys when assigning License Manager roles to integrations.

post/api/catalog_system/pvt/specification/field

Headers

Content-Typestring required

Type of the content being sent.

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Request body

Namestring required

Specification field name. Limited to 100 characters.

CategoryIdinteger nullable required

Category ID.

FieldIdinteger nullable required

Specification field ID.

IsActiveboolean required

Defines if the specification field is active. The default value is true.

IsRequiredboolean required

Makes the specification field mandatory (true) or optional (false).

FieldTypeIdinteger required

Specification field type ID.

FieldValueIdinteger nullable required

Specification field value ID.

Descriptionstring nullable required

Specification field description.

IsStockKeepingUnitboolean required

If true, it will be added as a SKU specification. If false, it will be added as a product specification field.

IsFilterboolean required

Store Framework - Deprecated. Legacy CMS Portal - To allow the specification to be used as a facet (filter) on the search navigation bar.

IsOnProductDetailsboolean required

Store Framework - Deprecated. Legacy CMS Portal -If specification is visible on the product page.

Positioninteger required

Specification field position.

IsWizardboolean required

Deprecated field.

IsTopMenuLinkActiveboolean required

Store Framework - Deprecated. Legacy CMS Portal - To make the specification visible in the store's upper menu.

IsSideMenuLinkActiveboolean required

Store Framework - Deprecated. Legacy CMS Portal - To make the specification field clickable in the search navigation bar.

DefaultValuestring nullable required

Specification field default value.

FieldGroupIdinteger required

Specification field group ID.

FieldGroupNamestring required

Specification field group name.

Example request

{
  "Name": "Material",
  "CategoryId": 4,
  "FieldId": 88,
  "IsActive": true,
  "IsRequired": true,
  "FieldTypeId": 1,
  "FieldValueId": 1,
  "Description": "Composition of the product.",
  "IsFilter": true,
  "Position": 1,
  "IsTopMenuLinkActive": true,
  "IsSideMenuLinkActive": true,
  "FieldGroupId": 20,
  "FieldGroupName": "Clothes specifications"
}

Response

OK

integer required

Specification field ID.