Attributes Overview

Quick Reference

Endpoint Summary

This table provides quick access to the property and option query services under the Attributes section. Detailed request and response fields are included under the relevant sections.

NoServiceEndpoint
1Property QueryPOST /api/v1/query/properties
2Option QueryPOST /api/v1/query/options
General Usage

General Technical Information

Authentication

For the Attributes query endpoints on this page, authentication information is sent in the request body. ClientId and AppKey fields are required.

Attributes Scope

This section is prepared to query the property and option definitions used in the product and variant data model. The endpoints do not create or update data; they list existing definitions.

Pagination

In listing queries, PageIndex starts from 0. PageSize determines the number of records returned on a single page.

Sorting and Status

Sorting and Status fields can be used in supported endpoints to sort results and filter active/passive records.

Response Structure

Records are returned in the Result field, while the total record count is returned in the TotalCount field.

Property refers to technical or descriptive fields that describe a product or variant. Values such as processor type, screen size, or warranty period can be managed with this structure.

Option refers to selection fields that enable a product to be structured into variants. Sales-related sub-breakdowns such as color, size, capacity, or measurement can be managed with the option structure.

1. Property Query — POST /api/v1/query/properties

This endpoint is used to retrieve property definitions from the Properties management screen and product/variant detail screens in the PIM UI through the API.

Technical Note
  • GetProperties is used to query property records centrally defined in PIM.
  • Property records return metadata information for descriptive fields that can be used on products and variants.
  • GroupId and Group fields indicate the property group to which the property belongs.
  • DataType field determines the format in which the property will receive a value on a product or variant.
  • DefaultValue, Values, and ValueCollection fields can be used to standardize property values.

Property Data Type Usage

The data type selected for properties determines which input field is displayed in the UI and how the value is interpreted on the API side.

Data TypePurpose of Use
Single CodeUsed for property values that are unique or system-level codes.
Single-Line TextUsed for property values in short text format.
Long TextUsed for property values that contain longer descriptions or details.
Rich TextUsed for property values that require formatted text content.
Single SelectionUsed for properties where a single value must be selected from predefined values.
Multiple SelectionUsed for properties where multiple values can be selected from predefined values.
ListUsed for property values that will be managed in a list structure.
Yes/NoUsed for binary values such as yes/no or present/not present.
DateUsed for property values that must be stored in date format.
EmailUsed for fields that must receive values in email format.
Phone NumberUsed for fields that must receive values in phone number format.
URLUsed for property values in link or address format.
PriceUsed to define values in price format.
PercentageUsed for properties where percentage values must be stored.
DurationUsed for property values that contain duration information.
MeasurementUsed for values expressed with measurement units such as size, weight, or volume.

Endpoint-Specific Query Parameters

This endpoint does not include any additional endpoint-specific filter parameter other than BaseQuery parameters. It can be used with pagination, sorting, and status filters.

Only common parameters: ClientId, AppKey, PageIndex, PageSize, Sorting, Status, ThreadId.

API Response Parameters and UI Equivalents

Each Property object in the Result array contains the following fields:

API Response Field Type PIM UI Equivalent / Field Name Description
PropertyIdintegerProperty System IDUnique property number assigned by the system.
GroupIdinteger?Group IDID of the group to which the property belongs.
KeystringProperty KeyTechnical key displayed in the property list in the UI, such as weight or color.
DisplayNamestringDisplay NameProperty name displayed to the user in the UI, such as “Weight” or “Color”.
DataTypeintegerData TypeData type of the property, such as text, number, or boolean.
DefaultValuestringDefault ValueDefault value defined for the property.
ValuesstringPossible ValuesSelectable values defined for the property, usually separated by commas.
ExtrastringAdditional InformationAdditional configuration information for the property.
ImagePathstringImage PathImage link for the property.
DocumentIdstringDocument IDDocument reference linked to the property.
GroupobjectProperty GroupDetailed information about the group to which the property belongs.
StatusintegerStatus1 = Active, -1 = Passive.
CreateddatetimeCreation DateDate when the property was added to the system.
Updateddatetime?Update DateLast update date.

Usage Guide in the UI

  • Property Definitions: The definitions listed when you open the Properties page from the left menu in the UI come from this endpoint.
  • Product/Variant Properties: The key-value pairs displayed on the Properties tab of a product or variant detail page are based on the Key and DisplayName definitions returned here.
  • Data Types: The DataType field determines the input type shown in the UI when entering a property value, such as a text box, number input, or checkbox.

2. Option Query — POST /api/v1/query/options

This endpoint is used to retrieve option definitions, such as color, size, or material, from the Options management screen and product/variant detail screens in the PIM UI through the API.

Technical Note
  • GetOptions is used to query option records centrally defined in PIM.
  • Options represent selection fields that make up the variant structure of products.
  • GroupId and Group fields indicate the option group to which the option belongs.
  • Values field can be used to list the values linked to the related option.
  • The OptionValues field returned in variant queries should be interpreted by associating it with these option definitions.

Option Data Type Usage

For options, the data type determines the value format to be used when creating variants.

Data TypePurpose of Use
TextUsed for option values in text format.
IntegerUsed for option values in integer format.
Decimal NumberUsed for option values in decimal number format.
MeasurementUsed for option values expressed with measurement units such as size, capacity, weight, or similar values.

Endpoint-Specific Query Parameters

This endpoint does not include any additional endpoint-specific filter parameter other than BaseQuery parameters. It can be used with pagination, sorting, and status filters.

Only common parameters: ClientId, AppKey, PageIndex, PageSize, Sorting, Status, ThreadId.

API Response Parameters and UI Equivalents

Each Option object in the Result array contains the following fields:

API Response Field Type PIM UI Equivalent / Field Name Description
OptionIdintegerOption System IDUnique option number assigned by the system.
GroupIdinteger?Group IDID of the group to which the option belongs.
CodestringOption CodeUnique code of the option, such as color or size.
NamestringOption NameName displayed in the option list and product detail in the UI, such as “Color” or “Size”.
DisplayNamestringDisplay NameOption label displayed to the user.
IntegrationCodestringIntegration CodeExternal system matching code.
DataTypeintegerData TypeOption data type classification.
ValuesarrayOption ValuesList of values defined for the option, such as Red, Blue, S, M, or L.
GroupobjectOption GroupDetailed information about the group to which the option belongs.
ProductOptionsarrayProduct OptionsList of products to which this option is assigned.
TrademarkOptionsarrayBrand OptionsList of brands to which this option is assigned.
CategoryOptionsarrayCategory OptionsList of categories to which this option is assigned.
StatusintegerStatus1 = Active, -1 = Passive.
CreateddatetimeCreation DateDate when the option was added to the system.
Updateddatetime?Update DateLast update date.

Usage Guide in the UI

  • Option Management: The definitions listed when you open the Options page from the left menu in the UI come from this endpoint.
  • Option Values: The values under each option, such as the Red and Blue values of the Color option, are returned in the Values array. Each value has subfields such as ValueId, Name, and Code.
  • Variant Creation: Variants are created based on options. The option-value pairs you select when creating a variant in the UI are returned as OptionValues when you query variants from the API.

Error Management

Common Error Cases

The table below is prepared for the common error cases that may apply to the endpoints under the Attributes section. When endpoint-specific error messages are finalized, they can be added to the Error Message column.

HTTP StatusStatusError Message
400Bad Request
401Unauthorized
403Forbidden
404Not Found
422Unprocessable Entity
429Too Many Requests
500Internal Server Error