We're building a website for a client and they use Square in the physical world, we're going to be bringing some of their items online to sell through the API, what we need to do is be able to make a payment and specify the items purchased so that their reporting/analytics in Square is all kept up to date. They don't do inventory because of the nature of their business, but they do need to know that they sold X of something. It looks like the API allows you to do payments but I can't see where you specify the items purchased.
I can only point you to the API pages and documentation linked from there.
https://squareup.com/developers
It should track the items as the items are pulled from your square item library.
Hopefully someone else with knowledge in this can point you in the right direction.
Well right, I've gone through the documentation and can't seem to find where you can specify those items on an order and then make a payment to settle that order.
@futurehaus Great question! I've reached out to our developer team to make sure that I'm getting you the right answer. I'll be back soon with an update.
Square Community