Building for an omni-channel business with Square’s APIs has never been easier
Now, you can use the full power of Square’s Connect APIs and reporting tools to supercharge your online or multi-channel business.
Heads up, we’ve moved! If you’d like to continue keeping up with the latest technical content from Square please visit us at our new home https://developer.squareup.com/blog
Starting with the launch of our E-Commerce API, we’ve worked to create a powerful commerce platform for both online-only and multi-channel businesses. In the last few months we’ve introduced our Catalog API, a tool to help businesses manage their products more efficiently, as well as Square Checkout, an out-of-the-box, hosted checkout for Square developers. And today, we are tying it all together to make sure developers can provide all the necessary tools for every omni-channel business eCommerce and in person.
With the new Orders API, the tools developers build for Square sellers connect their Catalog to their online sales through our APIs for online payments. This full itemization translates to more meaningful reporting for online businesses, and especially for those who also sell in-person and share a catalog between channels.
Implementation
To implement full itemization, all a developer needs to do is create an Order and reference the order_id in our Charge endpoint or directly pass the order as part of the Checkout POST request.
Like the earlier release of Checkout we didn’t limit this to just merchants who have catalogs stored on Square. You can still use the feature even if you just want to create, one-off, ad hoc items.
Reporting
Now, when creating an Order and charging it, the full itemization will be available via Square dashboard with full discount, taxes and item breakdown. Custom amounts are still available if you don’t use itemization. We also allow you to consume that information directly via our API. All you need to do to see your order information is: ListTransactions to get the order_id and then BatchRetrieveOrders.
When creating custom items, Square’s internal systems will take care to aggregate your custom item sales data to show you the full picture of your business.