添加自定义订阅 Objects - Commercestool

Adding subscription for Custom Objects - Commercetool

我正在尝试在商务工具中为自定义 objects 添加订阅。我正在这样使用我的 body

    {
  "destination" : {
    "type" : "AzureServiceBus",
    "connectionString" : "**********************"
  },
  "messages" : [ {
    "resourceTypeId" : "key-value-document",
    "types" : [ ]
  } ],
  "key" : "customeobj"
}

但我收到类似资源类型 ID 'key-value-document' 未知或消息订阅不支持的错误。支持这些资源类型 ID:评论、购物车、付款、订单、客户、类别、inventory-entry、产品、customer-group、商店、product-type、product-selection”。 如果有人知道这件事就太好了。

如错误所示,目前仅支持订单、产品、类别、付款、客户、评论、库存条目和商店的消息订阅。 如果足以满足您的用例,更改订阅支持资源类型键值文档。