setMetafield
Attach a metafield to any Shopify resource by specifying the owner ID, namespace, key, and value. Supports custom field types.
Instructions
Set a metafield on a resource
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerId | Yes | The ID of the resource to attach the metafield to | |
| namespace | Yes | ||
| key | Yes | ||
| value | Yes | ||
| type | No | single_line_text_field |