propose_write

Upsert a single metafield on any Shopify owner (Product, Variant, Order, …). `owner_gid` is the full gid, e.g. gid://sho

Upsert a single metafield on any Shopify owner (Product, Variant, Order, …). owner_gid is the full gid, e.g. gid://shopify/Product/123. Approval/auto-apply gated.

post/api/v1/tools/shopify_set_metafield

Request

  • Base URL: https://app.magistry.io
  • URL: https://app.magistry.io/api/v1/tools/shopify_set_metafield
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.magistry.io/api/oauth/authorize, token URL https://app.magistry.io/api/oauth/token, scopes: catalog:write)

Request body

owner_gidstring required

Full Shopify GID of the owner resource.

namespacestring required
keystring required
valuestring required
typestring

Metafield type (default single_line_text_field).

Response

Tool result

okboolean required
resultunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.