How To Change Price of Existing Inventory (PatchListingsItem) #789
Unanswered
connexion2005
asked this question in
Q&A
Replies: 2 comments
-
After some network monitoring by using Fiddler, I'm seeing my issue is related to the double quotes I'm attempting to use in the "our_price" object. They are turning into \ instead by the JSON serialization process. Can anyone assist with the appropriate way to write that particular section? Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to alleviate the issue using the below code and creating the nested objects rather than via the string method. Hopefully this helps someone out facing a similar issue. Thanks!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm having a problem with updating the price of existing inventory. I'm receiving the following error:
"The provided payload is invalid."
The error is related to the "our_price" line. Can anyone help explain what I'm doing wrong with this code? This same code works fine for updating the quantities of our inventory but will not work for updating price.
Does anyone know how to get the serialized JSON I'm creating here converted to a string so I can review what I'm doing wrong on the our_price line?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions