【问题标题】:How to integrate rest Api with Magento如何将rest Api与Magento集成
【发布时间】:2015-01-16 13:44:22
【问题描述】:

您好,我有第三方 REST API,我想将该 REST API 与我的 Magento 项目集成 那么,这在 Magento 中可能吗? 如果是,那么如何将它集成到我的 Magento 项目中 请帮忙...... 提前致谢

【问题讨论】:

  • 看看前任。在 Magento 的新 PayPal 模块中 - 它应该与 PayPal REST API 集成 - 并且在最后做类似的事情,你可能会有类似的东西:$response = $client->call(METHOD_NAME, $optionsArray));

标签: api rest magento integration


【解决方案1】:

是的,

Magento 有一个 REST API,通常使用 Soap Client。

一些例子:http://www.magentocommerce.com/api/soap/introduction.html

尝试使用最新版本 (V2) 的集成并关注 V2 Magento API 的示例。

首先你需要创建用户来使用这个 API:

Magento 管理 -> 系统 -> Web 服务 -> SOAP/XML 用户

并创建您的用户以获得 api 集成功能。

【讨论】:

  • SOAP API 不等于 REST API。
猜你喜欢
  • 2017-08-01
  • 2018-09-20
  • 2011-05-04
  • 2015-06-26
  • 2019-07-14
  • 1970-01-01
  • 1970-01-01
  • 2012-11-20
  • 1970-01-01
相关资源
最近更新 更多