itemProfileAttributeSet
Requires permission biddesk:assembly:read.
The technical attributes a product's profile answers to: those of its categories and their ancestors, one per key (the deepest category wins, then the primary category's chain). Archived attributes are left out. Requires Bid Desk and permission to read assemblies.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query ItemProfileAttributeSet($productId: ID!) {
itemProfileAttributeSet(productId: $productId) {
id
type
createdAt
archived
categoryId
key
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query ItemProfileAttributeSet($productId: ID!) {\n itemProfileAttributeSet(productId: $productId) {\n id\n type\n createdAt\n archived\n categoryId\n key\n }\n}",
"variables": {
"productId": "id"
}
}
EOF
Variables:
{
"productId": "id"
}
Response:
{
"data": {
"itemProfileAttributeSet": [
{
"id": "id",
"type": "BOOLEAN",
"createdAt": "2025-01-15T00:00:00Z",
"archived": true,
"categoryId": "id",
"key": "string"
}
]
}
}
itemProfileAttributeSet(
productId: ID!
): [CategoryAttributeDefinition!]!
Arguments
itemProfileAttributeSet.productId ● ID! non-null scalar
The product whose attribute set to read.
Type
CategoryAttributeDefinition object
One typed technical attribute of a category (for example power or voltage), with an optional unit, a required flag, its choices and its bounds.