Create MetafieldCopy Pagepost https://{subdomain}.myshoplaza.com/openapi/2025-06/metafields/{owner_resource}/{owner_id}Create a new metafieldPath Paramsowner_resourcestringrequiredThe type of resource the metafield is attached to. Available values: shop, product, product_image, product_variant, order, page, customer, collection, blog, articleowner_idstringrequiredThe unique ID of the resource to which the metafield is attached.Body Paramsdefinition_idstringrequiredSpecify definition id for creating meta fieldsnamespacestringrequiredA container for a group of metafields. Grouping metafields within a namespace prevents your metafields from conflicting with other metafields with the same key name.keystringrequiredThe key of the metafieldvaluestringrequiredRepresents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.typestringrequiredThe type of the metafield. Valid values: date date_time weight volume dimension integer number_decimal file_reference single_line_text_field json multi_line_text_field color rating url booleandescriptionstringA brief description of the metafield.Response 200OKUpdated 3 months ago