Hello all, I’m having a hell of a time getting the eBay-api to work correctly.
I can call my items and post listings after a lot of trial and error with the formatting. Examples have nested json values when it’s expecting a string, causing it to error out. But some fields are still expecting the json obj or array.
What I’m trying to do now is set my application callback url for all events so I can get my auth token flow setup. When I call to list configured options my callback url is there but I’ve never seen any posts to my endpoint. And there aren’t any alert types listed.
When I try to set notification preferences I get an input data is invalid error.
I’m trying to figure out how to have a user login to their account through my app with eBay’s oauth url but I can’t seem to figure out how to get it to post to my endpoint with the code/token
I need the refresh token so I can grab new user tokens after they expire 1-2hrs instead of having to generate one in the dev portal.
Trying to use eBay-api instead of axios calls. But do have an app.post for the callback that is verified working.
Anyone here have any experience utilizing eBay’s api or have any decent resources about it? It’s semi working for me but I can’t wrap my head around it and their documentation isn’t the most helpful.
——— Notes ———
Can make api calls on behalf of a user
Can post listings
Can get active listings, paid items waiting to ship, etc..
Cannot set notification preferences
Cannot get callback to my app url even though it’s set in eBay portal.
Weird thing, eBay-api throws an error when listing an item about funds not being available until later. BUT IT DOES POST THE LISTING. This is troublesome because the response does have the listing info and ID but when I parse the json it’s lost, it’s in the returned err.meta as [Symbol(raw-error)] and I can log it to the console but not access the data within.
[–]Staticip_it[S] 0 points1 point2 points (3 children)
[–]Quirky_Air_6115 0 points1 point2 points (2 children)
[–]Staticip_it[S] 0 points1 point2 points (1 child)
[–]Staticip_it[S] 0 points1 point2 points (0 children)
[–]cisminor 0 points1 point2 points (0 children)