Skip to main content
Version: 202201

Delete Metafield

DELETE 

/openapi/2022-01/:resource/:resource_id/metafields/:id

Request

Path Parameters

    resource stringrequired

    The type of resource that the metafield is attached to. Available resources: shop, product, product_image, product_variant, order, page, customer, collection, blog, article.

    resource_id stringrequired

    The unique ID of the resource that the metafield is attached to.

    id stringrequired

    Metafield's ID

Responses

200

Schema
    metafield object
    idstring
    Example: 374050809094090794
    store_idinteger
    Default value: 0
    Example: 633130
    created_atstring
    Example: 0001-01-01T00:00:00Z
    updated_atstring
    Example: 0001-01-01T00:00:00Z
    owner_resourcestring
    Example: product
    owner_idstring
    Example: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    namespacestring
    Example:
    keystring
    Example:
    typestring
    Example:
    value
    descriptionstring
    Example:
    definition_idstring
    Example: 0