---
title: "resource_type and resource_field"

doc_type: static
doc_category: static
doc_version: v20260901
source_url:
  html: 'https://developer.shopline.com/docs/apps/api-instructions-for-use/references/resource-type-and-resource-field'
  md: 'https://developer.shopline.com/docs/apps/api-instructions-for-use/references/resource-type-and-resource-field.md'
---
# 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:
<table>
  <tr>
    <th>resource_type</th>
    <th>Resource type description</th>
    <th>resource_field</th>
    <th>Resource field description</th>
  </tr>
  <tr>
    <td rowspan="4">COLLECTION</td>
    <td rowspan="4">Collection</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td>body_html</td>
    <td>Body html</td>
  </tr>
  <tr>
    <td>meta_title</td>
    <td>Meta title</td>
  </tr>
  <tr>
    <td>meta_description</td>
    <td>Meta description</td>
  </tr>
  <tr>
    <td rowspan="5">PRODUCT</td>
    <td rowspan="5">Product</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td>subtitle</td>
    <td>Subtitle</td>
  </tr>
  <tr>
    <td>body_html</td>
    <td>Body html</td>
  </tr>
  <tr>
    <td>meta_title</td>
    <td>Meta title</td>
  </tr>
  <tr>
    <td>meta_description</td>
    <td>Meta description</td>
  </tr>
  <tr>
    <td rowspan="1">PRODUCT_Category</td>
    <td rowspan="1">Product category</td>
    <td>name,fullName</td>
    <td>Name, Full name</td>
  </tr>
  <tr>
    <td rowspan="1">PRODUCT_OPTION</td>
    <td rowspan="1">Product option</td>
    <td>option</td>
    <td>Option</td>
  </tr>
  <tr>
    <td rowspan="1">PRODUCT_VARIANT</td>
    <td rowspan="1">Product variant</td>
    <td>value</td>
    <td>Value</td>
  </tr>
  <tr>
    <td rowspan="1">SELLING_PLAN</td>
    <td rowspan="1">Selling plan</td>
    <td>selling_plan_name</td>
    <td>Selling plan name</td>
  </tr>
  <tr>
    <td rowspan="1">FILTER</td>
    <td rowspan="1">Filter</td>
    <td>label</td>
    <td>Label</td>
  </tr>
  <tr>
    <td rowspan="1">FILTER_GROUP</td>
    <td rowspan="1">Filter group</td>
    <td>label</td>
    <td>Label</td>
  </tr>
  <tr>
    <td rowspan="1">FILTER_VALUE</td>
    <td rowspan="1">Filter value</td>
    <td>label</td>
    <td>Label</td>
  </tr>
  <tr>
    <td rowspan="1">SORT</td>
    <td rowspan="1">Sort</td>
    <td>sort_text</td>
    <td>Sort text</td>
  </tr>
  <tr>
    <td rowspan="2">DELIVERY_METHOD</td>
    <td rowspan="2">Delivery method</td>
    <td>name</td>
    <td>Name</td>
  </tr>
  <tr>
    <td>description</td>
    <td>Description</td>
  </tr>
  <tr>
    <td rowspan="3">PAYMENT_METHOD</td>
    <td rowspan="3">Payment method</td>
    <td>name</td>
    <td>Name</td>
  </tr>
  <tr>
    <td>description</td>
    <td>Description</td>
  </tr>
  <tr>
    <td>extra_info</td>
    <td>Extra information</td>
  </tr>
  <tr>
    <td rowspan="2">TAXES</td>
    <td rowspan="2">Taxes</td>
    <td>tax_policy</td>
    <td>Tax policy</td>
  </tr>
  <tr>
    <td>duty_name</td>
    <td>Duty name</td>
  </tr>
  <tr>
    <td rowspan="7">SETTLE_CONFIG</td>
    <td rowspan="7">Settlement configuration</td>
    <td>tip_title</td>
    <td>Tip title</td>
  </tr>
  <tr>
    <td>tip_description</td>
    <td>Tip description</td>
  </tr>
  <tr>
    <td>tip_placeholder</td>
    <td>Tip placeholder</td>
  </tr>
  <tr>
    <td>tip_buttonText</td>
    <td>Tip button text</td>
  </tr>
  <tr>
    <td>tip_thanksNote</td>
    <td>Tip thanks note</td>
  </tr>
  <tr>
    <td>security_note</td>
    <td>Security note</td>
  </tr>
  <tr>
    <td>security_after_sale_note</td>
    <td>Security after sale note</td>
  </tr>
  <tr>
    <td rowspan="1">SETTLE_ADDITIONAL_INFO</td>
    <td rowspan="1">Settlement additional information</td>
    <td>extra_info</td>
    <td>Extra information</td>
  </tr>
  <tr>
    <td rowspan="5">WEBSITE_BLOG</td>
    <td rowspan="5">Website blog</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td>body_html</td>
    <td>Body html</td>
  </tr>
  <tr>
    <td>subtitle</td>
    <td>Subtitle</td>
  </tr>
  <tr>
    <td>meta_title</td>
    <td>Meta title</td>
  </tr>
  <tr>
    <td>meta_description</td>
    <td>Meta description</td>
  </tr>
  <tr>
    <td rowspan="3">WEBSITE_BLOG_COLLECTION</td>
    <td rowspan="3">Website blog collection</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td>meta_title</td>
    <td>Meta title</td>
  </tr>
  <tr>
    <td>meta_description</td>
    <td>Meta description</td>
  </tr>
  <tr>
    <td rowspan="4">WEBSITE_CUSTOMIZE_PAGE</td>
    <td rowspan="4">Website customize page</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td>body_html</td>
    <td>Body html</td>
  </tr>
  <tr>
    <td>meta_title</td>
    <td>Meta title</td>
  </tr>
  <tr>
    <td>meta_description</td>
    <td>Meta description</td>
  </tr>
  <tr>
    <td rowspan="1">WEBSITE_NAVIGATION</td>
    <td rowspan="1">Website navigation</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td rowspan="1">WEBSITE_POLICY_PAGE</td>
    <td rowspan="1">Website policy page</td>
    <td>body_html</td>
    <td>Body html</td>
  </tr>
  <tr>
    <td rowspan="1">LINK</td>
    <td rowspan="1">Link</td>
    <td>title</td>
    <td>Title</td>
  </tr>
  <tr>
    <td rowspan="5">METAFIELD</td>
    <td rowspan="5">Metafield</td>
    <td rowspan="5">&#123;owner_resource&#125;.metafields.&#123;namespace&#125;.&#123;key&#125;.value</td>
    <td rowspan="5">Metafield information.<br />&bull; <code>owner_resource</code>: The resource type to which the metafield definition belongs. Valid values include: <code>products</code>, <code>variants</code>, <code>collections</code>, <code>customers</code>, <code>orders</code>, <code>pages</code>, <code>blogs</code>, <code>articles</code>, <code>shop</code>.<br />&bull; <code>namespace</code>: The namespace of the metafield.<br />&bull; <code>key</code>: The unique identifier of the metafield within its <code>namespace</code>.<br />&bull; <code>value</code>: The data stored in the metafield.</td>
  </tr>
  <tr>
  </tr>
  <tr>
  </tr>
  <tr>
  </tr>
  <tr>
  </tr>
</table>
