[Bug]:
Python Version
3.8
Python Amazon MWS (PAM) Version
0.8 (PyPI version / GitHub master branch / 'legacy')
Has your copy of PAM been altered in any way?
No, I HAVE NOT made changes to the MWS code
Describe the issue
What happened When i call the api Orders ListOrderItems with a specific amazon order id, i get information about the order, if the order is an amazon custom order, i have the same information of not custom order.
Expected behavior I need to get the data: BuyerCustomizedInfo and precisely CustomizedURL as described on amazon docs but is missing
MWS Credential check
- [X] I have removed my MWS credentials from any tracebacks and code samples
Do you have the links to the amazon docs for the cusomised info you are referring too please?
http://docs.developer.amazonservices.com/en_IT/orders-2013-09-01/Orders_Datatypes.html#BuyerCustomizedInfo
Seems like it's in the response, which we leave intact as much as possible. It may not be something we can affect.
- Can you produce the right response in the mws scratchpad?
- Is the necessary data missing from
response.original?
I have had oddities where Amazon neglect to return some element in the past.
I would suggest as @GriceTurrble has mentioned trying it in the scratchpad to see what amazon return, and also looking at the returned object as the returned request is in full and can be looked at (use a debugger like pycharm) and you can see the returned xml object from amazon.
We don't omit any elements from the conversion, so it should be in the .parsed object
If you try using the develop branch on here (even just in a testing environment) you can see we return the original response back in .original
Example here:
https://github.com/python-amazon-mws/python-amazon-mws/pull/241/files?authenticity_token=rLcU%2FYRiJJOlrc%2F37B8xWcDzRSAjj2amt3jWz6Qr4QBR98obPXrfbHGZafNvCDKOqPwwdB5UUcPH11gFBpPfZg%3D%3D&file-filters%5B%5D=.py&hide-deleted-files=true#diff-2d82a5af24664b60d7724939e965a1e10fd572b415edc2fbe1d4b1da84ef11c8
Also in .parsed is not present, but also in scrathpad i can't see this value, is an amazon problem?
Must be. We pass the entire response unfiltered, so if it's missing from the response, that's on Amazon's side.