Metafields List By Resource
tiendanube_metafields_list_by_resourceList metafields for a Tiendanube resource type and filter by owner, namespace, key, or value to inspect custom data attached to products, variants, categories, pages, orders, or customers.
Instructions
List metafields of a resource type, optionally filtered by owner/namespace/key/value. HTTP: GET /metafields/{owner_resource} Required scope: read_*/write_* matching owner_resource: products (Product, Product_Variant, Category) | content (Page) | orders (Order) | customers (Customer) API version: 2025-03 Returns {count, page, per_page, total?, has_more, next_page?, items[]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Key | |
| page | No | Page number (default 1). Orders: page * per_page must be <= 10000 | |
| value | No | Value | |
| fields | No | Comma-separated list of fields to return, to reduce payload size (e.g. 'id,name,variants') | |
| owner_id | No | Only metafields of this owner | |
| per_page | No | Items per page (default 30, max 200; max 50 for external invoices) | |
| namespace | No | Namespace | |
| owner_resource | Yes | Owner resource type (Product | Product_Variant | Category | Page | Order | Customer) | |
| response_format | No | Output format: 'json' (default, full data) or 'markdown' (human-readable) | json |