跳到主要内容
版本:202201

更新元字段定义

PUT 

/openapi/2022-01/metafield_definition/:id

通过元字段定义 ID 更新现有元字段定义的详细信息。

请求

Path参数

    id string必填

    待更新的元字段定义 ID。

请求体

    descriptionstring

    Description of metafield definition

    namestring

    Name of metafield definition

响应

200

数据结构
    idstring
    示例: 374034306256875562
    keystring
    示例: key2
    namestring
    示例: long
    namespacestring
    示例: test
    owner_resourcestring
    示例: product
    typestring
    示例: boolean
    descriptionstring
    示例: desc2
    create_atstring
    示例: 2024-04-28T03:18:59Z
    updated_atstring
    示例: 2024-04-28T03:42:42Z