Create Shop Metafield

The Create Shop Metafield API allows developers to create a new metafield for a shop. This endpoint requires the meta field data in the request body.

Body Params
string
required

The namespace of the meta field. For example, "global", etc.

string
required

The key of the meta field. For example, "color", etc.

string
required

The type of the meta field. Allowed values are "json" and "string".

string
required

Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.

string

The description of the meta field. For example, "The color of the product", etc.

string

The definition ID of the meta field. For example, "123456", etc.

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json