{"id":3359,"date":"2026-06-01T10:57:15","date_gmt":"2026-06-01T07:57:15","guid":{"rendered":"https:\/\/ainurpos.com\/help\/?p=3359"},"modified":"2026-06-02T14:00:27","modified_gmt":"2026-06-02T11:00:27","slug":"new-methods-for-working-with-documents-added-to-ainurpos-connect-api","status":"publish","type":"post","link":"https:\/\/ainurpos.com\/help\/new-methods-for-working-with-documents-added-to-ainurpos-connect-api\/","title":{"rendered":"New Methods for Working with Documents Added to AinurPOS Connect API"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We continue to enhance the AinurPOS API and expand integration capabilities with external services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this latest update, we have added methods for retrieving data from key inventory management documents. Through the API, you can now access information on sales, purchases, returns, and inventory adjustments.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Please note that this functionality is available through the Connect API and is included <strong>in the current AinurPOS pricing plans.<\/strong><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s New<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The following methods are now available in the API:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Inventory Adjustment Documents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GET \/documents\/changes<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieves a list of inventory adjustment documents (stock corrections).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sales Documents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GET \/documents\/sales<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Returns a list of sales documents.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Purchase Documents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GET \/documents\/purchases<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Returns a list of purchase documents.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Return Documents<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GET \/documents\/return<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieves sales and purchase return documents.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the returns method, the&nbsp;<strong>type<\/strong>&nbsp;parameter is required and determines which type of return documents will be returned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How This Can Be Used<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The new methods simplify AinurPOS integration with external systems and make it easier to automate data retrieval for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Analytics and BI platforms<\/li>\n\n\n\n<li>Corporate reporting<\/li>\n\n\n\n<li>CRM and ERP solutions<\/li>\n\n\n\n<li>Custom services and integrations<\/li>\n\n\n\n<li>Data exchange between information systems<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Documentation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Detailed descriptions of the new methods, available parameters, and request examples can be found in the API documentation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49&nbsp;<strong>[<a href=\"https:\/\/connect.ainur.app\/api\/documentation#\/Store\">API Documentation Link<\/a>]<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stay tuned for AinurPOS updates \u2014 we continue to expand integration and automation capabilities to help businesses work more efficiently.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We continue to enhance the AinurPOS API and expand integration capabilities with external services. In this latest update, we have added methods for retrieving data from key inventory management documents. Through the API, you can now access information on sales, purchases, returns, and inventory adjustments. Please note that this functionality&#8230;<\/p>\n","protected":false},"author":5,"featured_media":3367,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3359","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/posts\/3359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/comments?post=3359"}],"version-history":[{"count":2,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/posts\/3359\/revisions"}],"predecessor-version":[{"id":3370,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/posts\/3359\/revisions\/3370"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/media\/3367"}],"wp:attachment":[{"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/media?parent=3359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/categories?post=3359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ainurpos.com\/help\/wp-json\/wp\/v2\/tags?post=3359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}