List attributes

GET /PIM/GetAttributes — PIM API · Attributes

Returns all product attributes (color, size, gender, etc.) and their types for the company. The Attributes[].Key value in the product record corresponds to the AttributeId here.

If erpIntegrationParameterId is provided, the source name of each attribute in that integration is returned in the AttributeSourceValue field.

Parametreler

  • erpIntegrationParameterId (query, string): Integration ID. If provided, the attribute's source name in this integration (AttributeSourceValue) is included.
  • Tenant (header, string): Company code for users accessing multiple companies with Basic Auth. Not required if using Bearer token.

Yanıtlar

  • 200: List of attributes.
  • 401: Authentication failed (missing header, incorrect Basic credentials, or invalid token). Body is empty.
  • 500: Unexpected server-side error.

200 yanıt alanları

  • Code (string): Attribute code.
  • Sync (boolean): Synchronized with external system.
  • IsSynced (boolean): Last synchronization successful.
  • AttributeId (integer): Attribute ID; used as Attributes[].Key in the product record.
  • searchBoost (integer): Search weight.
  • ExternalCode (string): Attribute code in external system.
  • LastSyncDate (string<date-time>): Last synchronization time.
  • isSearchable (boolean): Used in search.
  • AttributeName (string): Attribute name.
  • AttributeType (string): Attribute type (e.g. Variant, Display Option).
  • searchPriority (integer): Search priority.
  • AttributeTypeId (integer): Attribute type ID.
  • searchQueryType (string): Search query type.
  • AttributeDataType (string): Data type (e.g. Text, Boolean).
  • AttributeDataTypeId (integer): Data type ID.
  • AttributeBindingType (string): Binding type (e.g. Auto, All).
  • AttributeSourceValue (string): If erpIntegrationParameterId is provided, the attribute's source name in that integration.
  • AttributeBindingTypeId (integer): Binding type ID.
  • AttributeRelationLevel (string): Level the attribute is linked to (e.g. Option, Variant).
  • AttributeRelationLevelId (integer): Relation level ID.