我已经好好看看了,但我无法弄清楚如何在Magento Enterprise Edition中获得和设置奖励积分
我该怎么做这样的事情:
$customer = Mage::getModel('customer/customer')->load($customer_id);
Mage::getModel('enterprise_reward/reward')->setPoints($customer, $points);
$points = Mage::getModel('enterprise_reward/reward')->getPoints($customer);
Run Code Online (Sandbox Code Playgroud) 在Netsuite的REST Web服务帮助文档中,有对Postman集合的引用:https : //netsuite.custhelp.com/app/answers/detail/a_id/86958/kw/postman
您可以从SuiteTalk工具下载页面https:// [accountID] .app.netsuite.com / app / external / integration / integrationDownloadPage.nl下载REST Web服务Postman环境模板和示例请求集合。要访问该页面,必须在URL中替换您的帐户ID。
注意:要访问Postman环境模板和集合,必须启用REST Web服务功能,并且必须为角色分配REST Web服务权限。有关更多信息,请参阅REST Web服务先决条件和设置。
但是,当我转到下载页面(具有正确的帐户ID和REST Web服务权限)时,只有适用于“ NetSuiteDataLoader.zip”的下载,其中不包含邮递员集合。