resource_type and resource_field
resource_type indicates the type of the resource. For example, PRODUCT represents a product resource.
resource_field indicates the attribute associated with the content of resource_content. For example, if resource_content is a product title, resource_field is title.
The valid values for resource_type and resource_field are as follows:
| resource_type | Resource type description | resource_field | Resource field description |
|---|---|---|---|
| COLLECTION | Collection | title | Title |
| body_html | Body html | ||
| meta_title | Meta title | ||
| meta_description | Meta description | ||
| PRODUCT | Product | title | Title |
| subtitle | Subtitle | ||
| body_html | Body html | ||
| meta_title | Meta title | ||
| meta_description | Meta description | ||
| PRODUCT_Category | Product category | name,fullName | Name, Full name |
| PRODUCT_OPTION | Product option | option | Option |
| PRODUCT_VARIANT | Product variant | value | Value |
| SELLING_PLAN | Selling plan | selling_plan_name | Selling plan name |
| FILTER | Filter | label | Label |
| FILTER_GROUP | Filter group | label | Label |
| FILTER_VALUE | Filter value | label | Label |
| SORT | Sort | sort_text | Sort text |
| DELIVERY_METHOD | Delivery method | name | Name |
| description | Description | ||
| PAYMENT_METHOD | Payment method | name | Name |
| description | Description | ||
| extra_info | Extra information | ||
| TAXES | Taxes | tax_policy | Tax policy |
| duty_name | Duty name | ||
| SETTLE_CONFIG | Settlement configuration | tip_title | Tip title |
| tip_description | Tip description | ||
| tip_placeholder | Tip placeholder | ||
| tip_buttonText | Tip button text | ||
| tip_thanksNote | Tip thanks note | ||
| security_note | Security note | ||
| security_after_sale_note | Security after sale note | ||
| SETTLE_ADDITIONAL_INFO | Settlement additional information | extra_info | Extra information |
| WEBSITE_BLOG | Website blog | title | Title |
| body_html | Body html | ||
| subtitle | Subtitle | ||
| meta_title | Meta title | ||
| meta_description | Meta description | ||
| WEBSITE_BLOG_COLLECTION | Website blog collection | title | Title |
| meta_title | Meta title | ||
| meta_description | Meta description | ||
| WEBSITE_CUSTOMIZE_PAGE | Website customize page | title | Title |
| body_html | Body html | ||
| meta_title | Meta title | ||
| meta_description | Meta description | ||
| WEBSITE_NAVIGATION | Website navigation | title | Title |
| WEBSITE_POLICY_PAGE | Website policy page | body_html | Body html |
| LINK | Link | title | Title |
| METAFIELD | Metafield | {owner_resource}.metafields.{namespace}.{key}.value | Metafield information. • owner_resource: The resource type to which the metafield definition belongs. Valid values include: products, variants, collections, customers, orders, pages, blogs, articles, shop.• namespace: The namespace of the metafield.• key: The unique identifier of the metafield within its namespace.• value: The data stored in the metafield. |
Was this article helpful to you?