IT Retail

API: Departments

September 15, 2026September 15, 2026

This article covers all the API endpoints related to Departments.

 

API: Departments

GetAllDepartments

Request:

curl --location --request GET 'https://retailnext.itretail.com/api/DepartmentsData/GetAllDepartments'; \
--header 'Authorization: Bearer y3-b9IfebJcti-w16IlsXad0FJZb4fSucHFbWq96ex2oQjhAsUAFa7yddhpqM-0wQ4XcD4krID3dEHz3YSsJtJEnX5z7FuQ-h3UEgmqC-4sl6p_etT3vvwFTMO-lBepHTosHQzMjIxFlqGlZg4jHqh2wwwQmbRqhYNBPziyo3AVFvDO2LGNJG00gtDBu1bgz1nIi7DoUzcgWudnWVwdua6YQYY26zC9xyPjJirbidIP1ur7y_BiDwXX-UJ7haLeFAURdXadJs6GfY4Jz2ksDXZ8l606YvuUhltcvUpmf8P09FqqggD0h3xeW2stsPjq8weu6nTxCS4XyZKrxxh4MYEZErvC-2-8QPiLrZ570WDWkvu88oa0EKJGTO2daD1Mo4agp9qXBU780ZMl9S2SOEtaxWQbiuUcJYkGf1BBA3W_qy0JnHmqKPXTs8RAnEqxxJZ_lzQjLGtmCRiFEQeqQWUhPhN0'

Return:

[
    {
        "id": 1,
        "name": "GROCERY",
        "discountPercent": null,
        "validage": null,
        "deleted": false,
        "discountable": true
    },
    {
        "id": 2,
        "name": "COFFEE BAR",
        "discountPercent": null,
        "validage": null,
        "deleted": false,
        "discountable": true
    }
]

Data:

id              : short  - Unique identifier for the department
name            : string - Name of the department
discountPercent : float? - Discount for the products in the department
validage        : short? - Minimum age to purchase products in the department, if specified
deleted         : bool   - Flag to indicate if the department is deleted
discountable    : bool   - flag to indicate if the products in the department are able to receive discounts

 

Related Articles

POS Manager API Setup

API: Tokens

API: Customers

API: Departments

API: Sections

API: Products

API: Vendors

API: Sales

API: Taxes

API: Shrinking Inventory

 

Frequently Asked Questions

Q: I have a question, but I can't find my answer here. How do I get more assistance?

A: If you need immediate assistance, the IT Retail team is available 24/7. Feel free to contact our support team at 877-752-0625. You can also email us at support@marktpos.com, and we will respond within 24 hours.

Need Help?

Can't quite find the answer you're looking for? Our support team is just a call away.