Updating Product Prices from Amazon via an External API in Xano

During this meeting, the State Changers collectively worked on a problem related to updating product prices on Amazon with the help of the Xano tool. The main obstacle was the restriction of sending identifiers for only ten products at once for price updates rather than the entire product list.

The State Changers proposed a solution involving a loop operation on the existing script, where they 'loop over all your products' and when the batch hits ten items, they extract the ASINs (Amazon Standard Identification Number) using Xano and then call Amazon's API. The loop is essentially designed to segment larger tasks into manageable sizes, to placate the API's limitations. They used a debugging technique as they progressed, stopping and checking at each stage to ensure the code's reliability. An error came up because of a discrepancy in data types, but successful troubleshooting converted the incorrectly formatted array into a string. By the end of the meeting, there was still more to do, including working out how to select which product’s price to update, but the participants were highly progressive in understanding the solution. This meeting is ideal for anyone looking to understand the use of Xano in conjunction with Amazon's API for updating prices and debugging techniques while developing. A key theme to note throughout was 'stop and debug' which emphasizes on the method of testing each step to ensure a smooth development process.

(Source: Office Hours 7/10 )

State Change Members Can View The Video Here

View This Video Now

Join State Change Risk-Free