### Qoyod API Resources Source: https://apidoc.qoyod.com/index The Qoyod API provides access to 19 resource types. Responses are expected in JSON format. ```APIDOC ## API Resources ### Description Qoyod's API consists of 19 resource types. Expect responses to be in JSON format. ### Available Resources * Accounts * Products * Inventories * Product Categories * Product Units * Vendors * Purchase Orders * Bills * Bill Payments * Simple Bills * Simple Bill Payments * Debit Notes * Customers * Quotes * Invoices * Invoice Payments * Credit Notes * Receipts * Journal Entries ``` -------------------------------- ### Qoyod API Searching and Sorting Source: https://apidoc.qoyod.com/index Index endpoints in the Qoyod API utilize Ransack for searching and sorting by any parameter. The default sorting order is by 'id asc'. ```APIDOC ## Searching and Sorting ### Description All index endpoints use ransack for searching and sorting by any parameter. Default sorting is by "id asc". ### Example Below is an example that searches for products with sku containing "acc", sorted by buying_price desc: `https://api.qoyod.com/2.0/products?q[sku_cont]=acc&q[s]=buying_price+desc` A complete list of search terms can be found [here](link_to_search_terms). ``` -------------------------------- ### Qoyod API Authentication Source: https://apidoc.qoyod.com/index All requests to the Qoyod API require an 'API-KEY' header for authentication. This key can be generated from your General Settings page. ```APIDOC ## Authentication ### Description All requests in this API require an `API-KEY` header. This key can be generated from your General Settings page. Once you generate your API key, save your settings and try out our API. ### Method All HTTP Methods (GET, POST, PUT, DELETE, etc.) ### Headers - **API-KEY** (string) - Required - Your generated API key. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.