从SAP官网上找到api的说明:
https://api.sap.com/api/commerce_services/resource
api endpoint: /rest/v2/electronics/products/I042416/references
其中referenceType参数的值从枚举类ProductReferenceTypeEnum里获得:
下图是Hybris commerce On-Premises里对应的代码,当然也可以查询SAP帮助文档找到这些枚举值:
这种reference关系类似于CRM里的relationship,可以到表ProductReference里查询获得:
要调用这个API,必须创建一个grant_type为client_credentials的oauth client:
并且authorities要维护成ROLE_TRUSTED_CLIENT:
继续阅读与本文标签相同的文章
-
消息总线真的能保证幂等?
2026-05-20栏目: 教程
-
cassandra vs mongoDB in 2019,如何选型
2026-05-20栏目: 教程
-
腾讯云接入备案流程 新手必看教程
2026-05-20栏目: 教程
-
如何选购腾讯云数据库MySQL及如何初始化访问数据库
2026-05-20栏目: 教程
-
grant_type为client_credentials和password二者的区别
2026-05-20栏目: 教程
