question

ankit007_shah avatar image
0 Likes"
ankit007_shah asked ·

How to update quantity and price?

I have configured the below, but I am getting error. Request : { "requests": [ { "offers": [ { "availableQuantity": 30, "offerId": " ", "price": { "currency": "USD", "value": "299.0" } }, { "availableQuantity": 20, "offerId": " ", "price": { "currency": "GBP", "value": "232.0" } } ], "shipToLocationAvailability": { "quantity": 50 }, "sku": " " }, { "offers": [ { "availableQuantity": 15, "offerId": " ", "price": { "currency": "USD", "value": "249.0" } }, { "availableQuantity": 10, "offerId": " ", "price": { "currency": "GBP", "value": "182.0" } } ], "shipToLocationAvailability": { "quantity": 25 }, "sku": "" } ] } Getting the below response : The remote server returned an error: (403) Forbidden. Response Url: https://api.ebay.com/sell/inventory/v1/bulk_update_price_quantity Status Code: Forbidden Response Body: {"errors":[{"errorId":1100,"domain":"ACCESS","category":"REQUEST","message":"Access denied","longMessage":"Insufficient permissions to fulfill the request."}]} ![alt text][1] [1]: /storage/temp/1181-configured.jpg Am I doing anything wrong? Please do the needful.
sellingapi call
configured.jpg (103.2 KiB)
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered ·
Hi, The error message says "Insufficient permissions to fulfill the request" . You might need to check 2 things: - Your APPID is OAuth enabled - The user whose token you are using to make the call was generated with the scope: https://api.ebay.com/oauth/api_scope/sell.inventory for making the bulk_update_price_quantity API Call. Check the API Call reference: http://developer.ebay.com/devzone/rest/api-ref/inventory/bulk_update_price_quantity__post.html Cheers!!!
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

claudipom_0 avatar image
0 Likes"
claudipom_0 answered ·
I'm following this guide http://developer.ebay.com/devzone/rest/ebay-rest/content/oauth-gen-app-token.html to get an access token and I can get it wihtout problem. If I use this access token to list or create and item (as using this url https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item?limit=20&offset=0) I get this error { "errors": [ { "errorId": 1100, "domain": "ACCESS", "category": "REQUEST", "message": "Access denied", "longMessage": "Insufficient permissions to fulfill the request." } ] } any suggestions?
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.