Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation to JSON_LISTINGS_FEED #820

Open
KemnaMOL opened this issue Nov 18, 2024 · 10 comments
Open

Documentation to JSON_LISTINGS_FEED #820

KemnaMOL opened this issue Nov 18, 2024 · 10 comments

Comments

@KemnaMOL
Copy link

Problem description:

Hello,
I can´t find a documentation who I can upload data with the newer JSON_LISTINGS_FEED.
At the moment I use the older XML-version.

I don´t want to use the new Transformer.

@jlevers
Copy link
Owner

jlevers commented Nov 18, 2024

There's pretty thorough documentation on migrating to the Listings API (the JSON_LISTINGS_FEED is basically just a wrapper for sending many Listings API requests at the same time) here. Once you've built the feed contents, the process is the same as submitting any other feed type, which is documented in the README, here.

Out of curiosity, what's holding you back from using the feed transformer?

@KemnaMOL
Copy link
Author

Many thanks.
I think it´s easyer to give the right data, than installing a new tool. Also I can mix price and stock data at one time.
Best regards, René

@KemnaMOL
Copy link
Author

Your documentation is only for XML-files. What I have to change?
feedType to JSON_LISTINGS_FEED and at feedContents the JSON-file is enough?

@jlevers
Copy link
Owner

jlevers commented Nov 21, 2024

Yeah, all you need to do is change the feed type and the library will handle the rest.

@KemnaMOL
Copy link
Author

Yeah, I got it in this way.
But nothing changed. Now I will try to read the feed status and answer.

@NoxArt
Copy link

NoxArt commented Dec 4, 2024

Check out this https://developer-docs.amazon.com/sp-api/docs/listings-management-workflow-migration

Also you can use this to get JSON feed schema

$schema = $definitionsApi->getDefinitionsProductType($type, [ $marketplace->getId() ], $sellerId, locale: 'en_US'); > $meta = $schema->getSchema()->getLink()->getResource();

base $type is "PRODUCT"

Here are some examples + a place where to ask questions
https://github.com/amzn/selling-partner-api-models/tree/main/schemas/feeds

@NoxArt
Copy link

NoxArt commented Dec 4, 2024

Also note that JSON has way harsher restrictions on feed file size and message count - aside from format conversion we also had to implement way to generate the feed into multiple files + internal queue that is sending the files one by one with some delay (and retry)

@NoxArt
Copy link

NoxArt commented Dec 4, 2024

If you have a question feel free to contact me @KemnaMOL

@jordan26
Copy link

jordan26 commented Dec 6, 2024

Hi @NoxArt - mind me getting in touch? I am really struggling to understand the process of converting what I had for sending stock over to the JSON method etc. I've spent weeks now reading 'snippets' of code but I need a full overview realistically. See my latest issue thread for example: #829

Happy to discuss over email or other means if easier.

@jordan26
Copy link

Yeah, I got it in this way. But nothing changed. Now I will try to read the feed status and answer.

@KemnaMOL - I am providing my completed code here for when I finish getting JSON working too. What I have currently would work to send JSON too, I just need to find out which format for my use case.

#829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants