跳到主要内容
版本:202201

删除元字段

DELETE 

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

请求

Path参数

    resource string必填

    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 string必填

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

    id string必填

    Metafield's ID

响应

200

数据结构
    metafield object
    idstring
    示例: 374050809094090794
    store_idinteger
    默认值: 0
    示例: 633130
    created_atstring
    示例: 0001-01-01T00:00:00Z
    updated_atstring
    示例: 0001-01-01T00:00:00Z
    owner_resourcestring
    示例: product
    owner_idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    namespacestring
    示例:
    keystring
    示例:
    typestring
    示例:
    value
    descriptionstring
    示例:
    definition_idstring
    示例: 0