Magento REST API 密钥和凭据

Magento REST API Keys and credentials

在哪里可以找到 oauth_customer.php 的 PHP 文件?

$callbackUrl = "http://yourhost/oauth_customer.php";

我应该保留这些默认值吗?

$adminAuthorizationUrl = 'http://magentohost/oauth/authorize';
$accessTokenRequestUrl = 'http://magentohost/oauth/token';
$apiUrl = 'http://magentohost/api/rest';
$consumerKey = 'yourconsumerkey';
$consumerSecret = 'yourconsumersecret';

如果您想使用 REST API 请按照以下步骤操作...

这适用于 SOAP,但与 REST 相同 API。

https://bmagento.wordpress.com/2015/04/03/how-to-create-soap-api-in-magento/