如何使用Rest API获取Magento 2中所有管理员订单?

时间:2019-01-23 11:03:08

标签: magento2

我点击了这个网址-https://xyssssssssz.com/rest/V1/orders?searchCriteria

Response - 
[message] => Consumer is not authorized to access %resources

[parameters] => Array
    (
        [resources] => self
    )

我已经将此API用于客户订单

当我将其用于管理订单时,它会给我响应-

Response - 
[message] => Consumer is not authorized to access %resources

[parameters] => Array
    (
        [resources] => self
    )

0 个答案:

没有答案