Open
Description
When using the api explorer at https://developer.squareup.com/explorer/square/catalog-api/search-catalog-objects....I can see that my ITEM has my custom attribute value that I set via the dashboard.
However this field is not available on the skd lib.https://github.com/square/square-nodejs-sdk/blob/42.2.0/src/api/types/CatalogItem.ts
Is there a reason? Is this field being deprecated or is it just missed by accident?
Explorer Request
curl https://connect.squareupsandbox.com/v2/catalog/search \
-X POST \
-H 'Square-Version: 2025-04-16' \
-H 'Authorization: Bearer AAAAAAAA' \
-H 'Content-Type: application/json' \
-d '{
"object_types": [
"ITEM"
],
"include_related_objects": true
}'
Explorer Response
{
"objects": [
{
"type": "ITEM",
"id": "iiiiiiiii",
"updated_at": "2025-05-14T21:19:04.975Z",
"created_at": "2025-05-14T15:24:21.339Z",
"version": 1747257544975,
"custom_attribute_values": {
"Square:xxxxxxxxxx": {
"name": "is_featured",
"custom_attribute_definition_id": "yyyyyyyyy",
"type": "BOOLEAN",
"boolean_value": true,
"key": "zzzzzzzz"
}
}
},
]
.......
}
Metadata
Metadata
Assignees
Labels
No labels