Update a Metafield

Update the value or description of an existing metafield. The namespace and key cannot be changed after creation — to modify the identifier, delete the existing metafield and create a new one.

Note: Changing the value type may cause validation errors if the existing value is incompatible.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Available platforms

This endpoint is supported by 1 platform. Click on the platform to see its specific updatable fields and validation rules.

Shopify

Platform note. Metafields are currently available exclusively on Shopify. To change the namespace or key of a metafield, delete it and create a new one.

Path Params
string
required

The unique identifier of the metafield.

Body Params

Metafield fields to update.

string

Updated value for the metafield. Must match the existing or updated valueType.

string

Updated data type for the value. Accepted values: string, integer, json_string.

string

Updated human-readable description of the metafield's purpose.

Response

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