Custom Fields Get By Entity Id
tiendanube_custom_fields_get_by_entity_idRetrieves the custom field values for a specific Tiendanube entity, such as a product, customer, order, category, or variant, using its ID. Use it to inspect custom metadata for one record.
Instructions
Get the custom field values of one entity instance (e.g. one product). HTTP: GET /{entity}/{entity_id}/custom-fields Required scope: read_products/write_products (categories, products, products/variants) | read_customers/write_customers (customers) | read_orders/write_orders (orders) API version: 2025-03
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity": "<entity>",
"entity_id": "<entity_id>"
},
"name": "tiendanube_custom_fields_get_by_entity_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity whose custom fields are managed (categories | customers | orders | products | products/variants) | |
| fields | No | Comma-separated list of fields to return, to reduce payload size (e.g. 'id,name,variants') | |
| entity_id | Yes | ID of the product/customer/order/category/variant | |
| response_format | No | Output format: 'json' (default, full data) or 'markdown' (human-readable) | json |