仅适用于卖家应用.
无授权操作是指你可以在没有销售伙伴明确授权的情况下调用的操作.这意味着当你[用亚马逊访问令牌请求登录](doc connecting-to-the-selling-partner-api#step-1-request-a-login-with-amazon-access-token)在调用无授权操作之前,你不需要提供刷新令牌.而是你使用scope参数来提供LWA授权的范围.如果你使用生成的Java SDK(参见[使用生成的Java SDK连接到Selling Partner API](doc connecting-to-the-selling-partner-api-using-a-generated-java-sdk))来调用无授权操作,在配置LWA凭证时,使用withScopes参数来为LWA授权授予设置一个或多个作用域.
关于销售伙伴API中的无授权操作,见下表.
无授权操作
操作名称 | HTTP方法和路径 |
---|---|
createDestination | POST /notifications/v1/destinations |
deleteDestination | DELETE /notifications/v1/destinations/{destinationId} |
deleteSubscriptionById | DELETE /notifications/v2/subscriptions/{notificationType}/{subscriptionId} |
getDestination | GET /notifications/v1/destinations/{destinationId} |
getDestinations | GET /notifications/v1/destinations |
getSubscriptionById | GET /notifications/v1/subscriptions/{notificationType}/{subscriptionId} |
getAuthorizationCode | GET /authorization/v1/authorizationCode |