Skip to main content

Import attributes

Product specifications such as material, weight or voltage are attributes in Propeller. Each attribute has two parts: an attribute description that defines it once for your tenant and a value on every product that has it. An import from a PIM or ERP therefore creates or updates the attribute descriptions first and then sends the values with the products. Definitions and values explains how the two parts relate.

Import order​

Import your data in this order:

  1. Valuesets, only if you use enum attributes
  2. Attribute descriptions
  3. Products with their attribute values

A value that refers to an attribute description that does not exist is not saved. The product itself is still saved, so check the per-value results described in Check the attribute results.

Endpoints​

POST /v2/valuesets
POST /v2/attribute-descriptions/bulk/name
GET /v2/attribute-descriptions
POST /v2/products/bulk/sourceId
GET /v2/attributes/products/sourceId/{sourceId}/attributes?source={source}
POST /v2/attributes/products/bulk
POST /v2/attributes/products/validate

Create a valueset for enum attributes​

An enum attribute takes its values from a valueset. Create the valueset before the attribute description and pass its id as valuesetId.

POST /v2/valuesets
{
"name": "VOLTAGE",
"descriptions": [{ "language": "EN", "value": "Voltage" }],
"valuesetItems": [
{
"value": "230V",
"descriptions": [
{ "language": "EN", "value": "230 V" },
{ "language": "NL", "value": "230 V" }
]
},
{
"value": "400V",
"descriptions": [
{ "language": "EN", "value": "400 V" },
{ "language": "NL", "value": "400 V" }
]
}
]
}

The endpoint answers 201 with the new valueset:

{
"id": 1402,
"name": "VOLTAGE",
"type": "CUSTOM",
"descriptions": [{ "language": "EN", "value": "Voltage" }],
"createdAt": "2026-12-04T09:38:03.884Z",
"lastModifiedAt": "2026-12-04T09:38:03.884Z",
"createdBy": null,
"lastModifiedBy": null
}

The value of each item is what you send as the attribute value later, for example 230V.

A valueset name is unique: creating a second valueset with the same name answers 409. On later runs, find the valueset with GET /v2/valuesets?names=VOLTAGE and read its items with GET /v2/valuesets/items?valuesetIds=1402. Add only the values that are not in the valueset yet, with POST /v2/valuesets/items and a body that holds valuesetId, value and optional descriptions.

Create or update attribute descriptions​

POST /v2/attribute-descriptions/bulk/name

The body is a JSON array of attribute descriptions, not an object. Each one is matched on its name within its attributeClass: a new name is created and an existing one is updated.

[
{
"name": "HOUSING_MATERIAL",
"attributeClass": "product",
"type": "text",
"descriptions": [
{ "language": "EN", "value": "Housing material" },
{ "language": "NL", "value": "Materiaal behuizing" }
],
"group": "SPECIFICATIONS",
"isSearchable": true
},
{
"name": "WEIGHT_GRAMS",
"attributeClass": "product",
"type": "integer",
"descriptions": [
{ "language": "EN", "value": "Weight" },
{ "language": "NL", "value": "Gewicht" }
],
"units": [
{ "language": "EN", "value": "g" },
{ "language": "NL", "value": "g" }
],
"group": "SPECIFICATIONS"
},
{
"name": "CABLE_LENGTH",
"attributeClass": "product",
"type": "decimal",
"descriptions": [
{ "language": "EN", "value": "Cable length" },
{ "language": "NL", "value": "Kabellengte" }
],
"units": [
{ "language": "EN", "value": "m" },
{ "language": "NL", "value": "m" }
],
"group": "SPECIFICATIONS"
},
{
"name": "VOLTAGE",
"attributeClass": "product",
"type": "enum",
"valuesetId": 1402,
"descriptions": [
{ "language": "EN", "value": "Voltage" },
{ "language": "NL", "value": "Spanning" }
],
"group": "SPECIFICATIONS",
"isSearchable": true
}
]

The request includes:

  • name identifies the attribute. Use capitals, digits and underscores only (HOUSING_MATERIAL), up to 64 characters. Products refer to the attribute by this name.
  • attributeClass is the entity type the attribute belongs to: product, category, cluster, company, contact, customer, order or orderItem. A name is unique per class, so MATERIAL for products and MATERIAL for categories are two separate attribute descriptions.
  • type is text, integer, decimal, datetime, color or enum, in lowercase. The type cannot change once the attribute description exists: to use another type, create an attribute description with a new name.
  • descriptions holds the label per language and is required. units holds the unit per language for numeric attributes.
  • valuesetId links an enum attribute to its valueset.
  • group keeps related attributes together, for example in one section of a specifications table.
  • isSearchable makes the attribute available as a product filter (default false), see Get available filters. isPublic decides whether storefronts show the attribute (default true).

Derive the name from the attribute code in your source system, in capitals with underscores (screenSize becomes SCREEN_SIZE). Your product import can then refer to the attribute without a lookup table.

Response​

The endpoint answers 201 with one result per attribute description:

[
{
"message": "Attribute description successfully created",
"success": true,
"action": "create",
"name": "HOUSING_MATERIAL",
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a41"
},
{
"message": "Attribute description successfully updated",
"success": true,
"action": "update",
"name": "WEIGHT_GRAMS",
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a43"
},
{
"message": "Attribute description unchanged, no update needed",
"success": true,
"action": "ignored",
"name": "CABLE_LENGTH",
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a45"
},
{
"message": "Attribute description successfully created",
"success": true,
"action": "create",
"name": "VOLTAGE",
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a47"
}
]
  • action is create for a new attribute description, update when something changed and ignored when the attribute description already matches what you sent
  • id is the id of the attribute description, which you can use as attributeDescriptionId

One invalid attribute description, such as a name with lowercase letters or a missing descriptions, refuses the whole request with 400. None of the attribute descriptions in that request are saved:

{
"statusCode": 400,
"message": "Name must be in SCREAMING_SNAKE_CASE format (all caps divided by underscores)"
}

Send each name once per request and send up to 100 attribute descriptions per request.

Send the full set on every run​

An unchanged attribute description is answered with ignored and nothing changes, so your import can send its full set of attribute descriptions on every run. Two rules decide what an update changes:

  • The labels you send replace all labels of the attribute description. A language you leave out is removed, so send every language each time.
  • Fields you leave out keep their current value. This applies to isSearchable, isPublic, group and units. Leave a field out when it is maintained in Propeller, for example in the Backoffice, so your import does not overwrite it.

If labels are maintained in Propeller after the first import, list the existing attribute descriptions first and send only the names that do not exist yet.

List attribute descriptions​

GET /v2/attribute-descriptions?attributeClass=product&page=1&offset=100

The response is a page of attribute descriptions (one item shown):

{
"items": [
{
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a43",
"name": "WEIGHT_GRAMS",
"attributeClass": "product",
"type": "integer",
"descriptions": [
{ "language": "EN", "value": "Weight" },
{ "language": "NL", "value": "Gewicht" }
],
"units": [
{ "language": "EN", "value": "g" },
{ "language": "NL", "value": "g" }
],
"valuesetId": null,
"group": "SPECIFICATIONS",
"isSearchable": false,
"isPublic": true,
"isSystem": false,
"isHidden": false,
"defaultValue": { "type": "integer", "id": "0", "intValue": 0 },
"createdAt": "2026-12-04T09:38:04.278Z",
"lastModifiedAt": "2026-12-04T09:38:04.278Z",
"createdBy": null,
"lastModifiedBy": null
}
],
"itemsFound": 214,
"offset": 100,
"page": 1,
"pages": 3,
"start": 1,
"end": 100
}

Request the next page until you reach pages. Without attributeClass the list holds the attribute descriptions of every class. To read a single attribute description, use GET /v2/attribute-descriptions/name/WEIGHT_GRAMS?attributeClass=product, which answers 404 when the name does not exist in that class.

Set attribute values on products​

Send the values with the product in the products bulk endpoint. Each entry in attributes refers to the attribute description by attributeDescriptionName (or by its id in attributeDescriptionId) and holds a value with exactly one typed field.

POST /v2/products/bulk/sourceId
{
"products": [
{
"source": "MY_PIM",
"sourceId": "AG125-1200",
"names": [
{ "language": "EN", "value": "Angle grinder 125 mm 1200 W" },
{ "language": "NL", "value": "Haakse slijper 125 mm 1200 W" }
],
"attributes": [
{
"attributeDescriptionName": "HOUSING_MATERIAL",
"value": {
"textValues": [
{ "language": "EN", "values": ["Aluminum", "Polyamide"] },
{ "language": "NL", "values": ["Aluminium", "Polyamide"] }
]
}
},
{
"attributeDescriptionName": "WEIGHT_GRAMS",
"value": { "intValue": 2100 }
},
{
"attributeDescriptionName": "CABLE_LENGTH",
"value": { "decimalValue": 4.5 }
},
{
"attributeDescriptionName": "VOLTAGE",
"value": { "enumValues": ["230V"] }
}
]
}
]
}

The typed field depends on the type of the attribute description:

TypeField in valueExample
texttextValues, one or more values per language{ "textValues": [{ "language": "EN", "values": ["Aluminum", "Polyamide"] }] }
integerintValue, a whole number{ "intValue": 2100 }
decimaldecimalValue{ "decimalValue": 4.5 }
datetimedateTimeValue, an ISO 8601 date and time{ "dateTimeValue": "2026-03-01T00:00:00Z" }
colorcolorValue, a # followed by six hexadecimal digits{ "colorValue": "#1A1A1A" }
enumenumValues, one or more values from the valueset{ "enumValues": ["230V"] }

Language codes follow the format described in Localized strings.

Check the attribute results​

Each product result carries an attributesResponse with the outcome of every value. Each entry in details also returns the saved value and its id.

{
"data": [
{
"action": "create",
"lookupKey": "sourceId",
"key": "AG125-1200",
"id": 14802,
"productId": 14802,
"success": true,
"statusCode": 201,
"attributesResponse": {
"processed": 4,
"successful": 4,
"failed": 0,
"details": [
{
"message": "Attribute successfully created",
"success": true,
"action": "create",
"name": "HOUSING_MATERIAL",
"productId": 14802
},
{
"message": "Attribute successfully created",
"success": true,
"action": "create",
"name": "WEIGHT_GRAMS",
"productId": 14802
},
{
"message": "Attribute successfully created",
"success": true,
"action": "create",
"name": "CABLE_LENGTH",
"productId": 14802
},
{
"message": "Attribute successfully created",
"success": true,
"action": "create",
"name": "VOLTAGE",
"productId": 14802
}
]
}
}
],
"total": 1,
"messages": ["Created 1 products"],
"errors": null
}

A value that cannot be saved does not fail the product. The product is saved with success: true and the value appears in details with success: false. This happens when the attribute description does not exist for the class. It also happens when the value uses a field that does not match the type, for example textValues for an integer attribute:

{
"key": "BLADE_DIAMETER",
"name": "",
"success": false,
"action": "ignored",
"message": "Attribute description with name BLADE_DIAMETER not found for class product",
"productId": 14802
}

Check failed for every product and log the message of each detail with success: false.

When only attribute values change, the product result reports "action": "skip" with "error": "No changes detected for product". The changes to the values are in attributesResponse.

Some errors refuse the whole request with 400 instead, for example a value without a typed field, an intValue that is not a whole number or a colorValue that is not a hexadecimal color:

{
"error": {
"status": 400,
"messages": ["products.0.attributes.0.value.intValue must be an integer number"],
"code": 10017,
"type": "SchemaValidationException"
}
}

Read attribute values​

The product endpoints do not return attribute values. Read them through the attributes endpoints:

GET /v2/attributes/products/sourceId/AG125-1200/attributes?source=MY_PIM

The response lists the attributes the product has a value for (one item shown):

[
{
"attributeClass": "product",
"id": "019a7d22-0b6f-7c1e-8d4a-5e2f9a7c3b12",
"attributeDescriptionId": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a43",
"productId": 14802,
"value": {
"type": "integer",
"id": "019a7d22-0b6f-7c1e-8d4a-5e2fa1d4e6c8",
"intValue": 2100,
"createdAt": "2026-12-04T09:41:04.595Z",
"lastModifiedAt": "2026-12-04T09:41:04.595Z",
"createdBy": 0,
"lastModifiedBy": 0
},
"attributeDescription": {
"id": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a43",
"name": "WEIGHT_GRAMS",
"attributeClass": "product",
"type": "integer",
"descriptions": [
{ "language": "EN", "value": "Weight" },
{ "language": "NL", "value": "Gewicht" }
],
"units": [
{ "language": "EN", "value": "g" },
{ "language": "NL", "value": "g" }
],
"valuesetId": null,
"group": "SPECIFICATIONS",
"isSearchable": false,
"isPublic": true,
"isSystem": false,
"isHidden": false
},
"createdAt": "2026-12-04T09:41:04.595Z",
"lastModifiedAt": "2026-12-04T09:41:04.595Z",
"createdBy": null,
"lastModifiedBy": null
}
]
  • value holds the typed field from the table above plus the type of the attribute
  • attributeDescription holds the full attribute description, including its name

Pass source with a sourceId lookup: without it the call answers 404. With the Propeller product id, use GET /v2/attributes/products/id/14802/attributes.

To read one attribute, add its name: GET /v2/attributes/products/sourceId/AG125-1200/attributes/name/WEIGHT_GRAMS?source=MY_PIM. This answers 404 when the product has no value for it, also when the attribute description exists.

To read the values of many products at once, search by their Propeller ids:

POST /v2/attributes/search?includeAttributeDescription=true
{
"productIds": [14802, 14803, 14804],
"page": 1,
"offset": 100
}

The response is a page with items, itemsFound, page and pages. Each item has the shape shown above. includeAttributeDescription=true adds the attributeDescription to each item, so you can see the name of every attribute.

Filters on the attribute description go inside attributeDescription, for example "attributeDescription": { "names": ["WEIGHT_GRAMS"] }. The search has no top-level names or class filter: such fields are ignored and the call returns every attribute value in your tenant. Send one id list per request, such as productIds or companyIds. A request with two id lists is refused with 400.

Update and remove values​

An unchanged value is reported as ignored, so your import can send every value on every run. To change or remove values:

ToSendResult
Change a valueThe attribute with its new valueFor a text attribute, only the languages you send change
Empty one language of a text valueThat language with "values": []The other languages keep their values
Remove the attribute from the productThe attribute without value (or with "value": null)The result reports delete and reading the attribute answers 404
Keep a valueNothing: leave the attribute out of the payloadThe value stays as it is

An empty string in values, an empty enumValues list, a dateTimeValue of null and 0 are saved as values, so the attribute stays on the product. When your source system no longer has a value, remove the attribute instead.

The product directives do not change this. resetOnUpdate, skipIfNotEmpty and mergeTranslationsOnUpdate leave attribute values as described in this section.

This update removes CABLE_LENGTH from the product and empties the French text of HOUSING_MATERIAL:

{
"products": [
{
"source": "MY_PIM",
"sourceId": "AG125-1200",
"attributes": [
{ "attributeDescriptionName": "CABLE_LENGTH" },
{
"attributeDescriptionName": "HOUSING_MATERIAL",
"value": {
"textValues": [{ "language": "FR", "values": [] }]
}
}
]
}
]
}

The attributesResponse reports delete for CABLE_LENGTH and update for HOUSING_MATERIAL.

Remove attributes your source no longer has​

Propeller keeps every value until you remove it. To clean up attributes that were dropped in your source system:

  1. Read the attributes of the product. For a batch of products, use the attribute search.
  2. Compare their names with the attributes your source system has for the product.
  3. Send every name that is missing without a value in your next upsert.

Write values without the product record​

When attribute values come from a different system than the product data, write them through the attributes endpoints without sending the products themselves.

POST /v2/attributes/products/bulk
[
{
"source": { "id": "AG125-1200", "name": "MY_PIM" },
"attributes": [
{ "attributeDescriptionName": "WEIGHT_GRAMS", "value": { "intValue": 2150 } },
{ "attributeDescriptionName": "CABLE_LENGTH" }
]
},
{
"source": { "id": "AG230-2400", "name": "MY_PIM" },
"attributes": [
{ "attributeDescriptionName": "WEIGHT_GRAMS", "value": { "intValue": 5200 } }
]
}
]
  • source identifies the product: id is its source id and name the source name. You can send classId with the Propeller product id instead.
  • attributes takes the same entries as the products endpoint, including entries without value to remove an attribute

The endpoint answers 201 with one result per value:

{
"data": [
{
"key": "WEIGHT_GRAMS",
"name": "WEIGHT_GRAMS",
"success": false,
"action": "ignored",
"message": "Resource with sourceId [AG230-2400] (source: MY_PIM) not found for class product"
},
{
"message": "Attribute successfully updated",
"success": true,
"action": "update",
"name": "WEIGHT_GRAMS",
"productId": 14802
},
{
"message": "Attribute successfully deleted",
"success": true,
"action": "delete",
"name": "CABLE_LENGTH",
"productId": 14802
}
]
}

A product that does not exist is reported with success: false while the other products are processed. The results can come back in another order than the request, so match them on productId and name.

For a single product, POST /v2/attributes/products/sourceId/AG125-1200/attributes?source=MY_PIM takes the attributes array as its body. The same endpoints exist for the other entity types: replace products in the path with categories, clusters, companies, contacts or customers.

Validate values before you send them​

The validate endpoint checks values against their attribute descriptions without saving anything. Use it to test a mapping, for example whether the enum values of your source system exist in the valuesets.

POST /v2/attributes/products/validate
[
{ "attributeDescriptionName": "WEIGHT_GRAMS", "value": { "intValue": 2100 } },
{ "attributeDescriptionName": "VOLTAGE", "value": { "enumValues": ["110V"] } },
{ "attributeDescriptionName": "BLADE_DIAMETER", "value": { "intValue": 125 } }
]
{
"data": {
"valid": false,
"results": [
{
"attributeDescriptionId": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a43",
"attributeDescriptionName": "WEIGHT_GRAMS",
"valid": true,
"errors": []
},
{
"attributeDescriptionId": "019a7d21-5c4e-7b13-9f2a-3c8e1d6b0a47",
"attributeDescriptionName": "VOLTAGE",
"valid": false,
"errors": ["Value(s) [110V] are not members of valueset 1402."]
},
{
"attributeDescriptionName": "BLADE_DIAMETER",
"valid": false,
"code": "DESCRIPTION_NOT_FOUND",
"errors": ["Attribute description not found for class product: BLADE_DIAMETER"]
}
]
}
}

valid at the top is false as soon as one value fails. The results follow the order of the request. code names the problem when the attribute description itself is at fault (for example DESCRIPTION_NOT_FOUND) and is absent when only the value does not fit.

Delete an attribute description​

caution

Deleting a product attribute description with DELETE /v2/attribute-descriptions/id/{id} also deletes its values on every product, at once and without a confirmation step.

Batch size​

Send up to 100 attribute descriptions per request. For products with attribute values, start with roughly 100 products per request, as described in Batch sizing.

See also​