跳到主要内容
版本:202201

查询元字段定义列表

GET 

/openapi/2022-01/metafield_definition/:owner_resource

获取所有元字段定义的列表。

请求

Path参数

    owner_resource string必填

    所属资源类型。

    • shop: 店铺。
    • product: 商品。
    • product_image: 商品图片。
    • product_variant: 商品款式。
    • order: 订单。
    • page: 自定义页面。
    • customer: 顾客。
    • collection: 商品专辑。
    • blog: 博客。
    • article: 文章。
    • app: 应用。

响应

200

数据结构
    definitions object[]
  • Array [
  • idstring
    示例: 374034306256875562
    keystring
    示例: key2
    namestring
    示例: Big
    namespacestring
    示例: test
    owner_resourcestring
    示例: product
    typestring
    示例: boolean
    descriptionstring
    示例: boolean
    create_atstring
    示例: 2024-04-28T03:18:59Z
    updated_atstring
    示例: 2024-04-28T03:18:59Z
  • ]
  • totalinteger
    默认值: 0
    示例: 3