Metafields Create
tiendanube_metafields_createCreates a metafield for Tiendanube resources such as products, variants, categories, pages, orders, or customers by specifying namespace, key, value, and owner.
Instructions
Create a metafield. HTTP: POST /metafields Required scope: read_*/write_* matching owner_resource: products (Product, Product_Variant, Category) | content (Page) | orders (Order) | customers (Customer) API version: 2025-03
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key | |
| value | Yes | Value | |
| owner_id | Yes | Owner ID | |
| namespace | Yes | Namespace | |
| description | No | Description | |
| owner_resource | Yes | Owner resource type (Product | Product_Variant | Category | Page | Order | Customer) | |
| additional_fields | No | Extra raw API body fields not covered above; merged into the request body |