Hello!
I've got a problem with /subscriptionInfo API endpoint (link). In my app I need to get ASIN number of subscribed product, but version 2.0 of endpoint simply doesn't work with error:
{"message":"x-amzn-accept-type header must be provided with value: com.amazon.dash.replenishment.DrsSubscriptionInfoResult@1.0"}
Request with described in error header works properly, but it is version 1.0 of endpoint.
Any ideas of what is wrong?
Request example:
curl -H "x-amzn-accept-type: com.amazon.dash.replenishment.DrsSubscriptionInfoResult@2.0" -H "x-amzn-type-version: com.amazon.dash.replenishment.DrsSubscriptionInfoInput@1.0" -H "Authorization: Bearer (ACCESS_TOKEN)" https://dash-replenishment-service-na.amazon.com/subscriptionInfo