Replies: 2 comments 2 replies
-
Just checking this again and the problem is not too do with the connection being authorised or not. They don't seem to want me to download in code... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Updated example for schema download. Just needed the headers setting
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Until recently I've been downloading the product schemas using the following code.
https://developer-docs.amazon.com/sp-api/docs/product-type-api-use-case-guide#step-2-retrieve-schema-documents
But in the last month or so Amazon have restricted access to the schemaURLs so I believe we need to download via an authorised connection.
Was thinking I could also something like this to the ProductTypeService.
But I wasn't sure about the return type? Don't really think that putting a dependency on a paid package - https://www.newtonsoft.com/jsonschema is a good idea but the schema type is really complex.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions