Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I am developing an integration with shopify that pulls sales and need to get a large amount of orders into shopify to pull from the API. I would like to do something in the 1000s. What is the best method to do this? I see they have a bogus payment gateway that can be used to manually process a sale. But is there an API for adding sales that can be leveraged?
Hey @YellowDogInv,
There isn't an API for generating sample data but you could check out this similar thread here: https://community.shopify.com/c/Shopify-APIs-SDKs/How-to-generate-test-data-for-development-shop/m-p... for a (deprecated) tool to generate N orders.
There's also the Order API where you can create an order one request at a time (you'd use "financial_status": "paid" or "partially paid").
CalD | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
You calling the Shopify CLI tool deprecated? Are you looking for a fistfight in the Shopify lunchroom? Tsk tsk. You should be encouraging your in-house developer tools, not FUD!