Where I see people fail is when they give it sentence fragments like it's a search engine.
Here's an example of something I've prompted it with:
> I'm building a commerce application and debugging issues with our data feed. In order to debug further I need to get a list of products that are out of stock and some additional information about them.
> Calling this endpoint with a GET request will return all out of stock products: <<endpoint>>
> The shape of the response will be an object that has two properties: data and pagination. The data property will be an array of product objects. Those objects will have a property called id.
> Calling this endpoint with a GET request will return information about that product in the context of a specific vendor: <<endpoint>>
> Where {productId} is replaced with the id of the specific product extracted from the previous request.
> That endpoint will return a response that is an object with a property called data that will be an array with a single object in it (since we only requested information about one product).
> The object in that array will have the properties id and name and availableFrom among others.
> availableFrom will be an array with a single object in it and that object will have the properties sku and link among others.
> Please write a script in JavaScript that makes a request to the initial endpoint to get all items that are out of stock and then calls the second endpoint with the relevant productId for every product returned. The script should then extract the properties id, name, sku, and link then save that data to a CSV file where each product from the original endpoint request is represented as a single row in the file with the relevant data in it.
> Let me know if you have any questions.