IT Retail

API: Sections

January 26, 2026January 26, 2026

Your store can connect Sections to an Application Programming Interface (API) for smoother operations. We'll show you what to input into your API endpoints.

 

API: Sections

We'll first define some terms so you have a better understanding of this article:

  • Request: This is what you send the API endpoint so it performs a specific task. For example, for the GetAllSections function below, you'll paste the Request so the API can get all Section data.

  • Response: The API server will give you a Response to your Request. This will indicate if the task was successful, as well as the data you requested.

Below, you can find the code for the GetAllSections function, which helps you gather all sections in your store.

  • Request (Note that the Request below is for MarktPOS. If you're using ITRetail, 

curl --location --request GET 'https://app.marktpos.com/api/SectionsData/GetAllSections'; \
--header 'Authorization: Bearer y3-b9IfebJcti-w16IlsXad0FJZb4fSucHFbWq96ex2oQjhAsUAFa7yddhpqM-0wQ4XcD4krID3dEHz3YSsJtJEnX5z7FuQ-h3UEgmqC-4sl6p_etT3vvwFTMO-lBepHTosHQzMjIxFlqGlZg4jHqh2wwwQmbRqhYNBPziyo3AVFvDO2LGNJG00gtDBu1bgz1nIi7DoUzcgWudnWVwdua6YQYY26zC9xyPjJirbidIP1ur7y_BiDwXX-UJ7haLeFAURdXadJs6GfY4Jz2ksDXZ8l606YvuUhltcvUpmf8P09FqqggD0h3xeW2stsPjq8weu6nTxCS4XyZKrxxh4MYEZErvC-2-8QPiLrZ570WDWkvu88oa0EKJGTO2daD1Mo4agp9qXBU780ZMl9S2SOEtaxWQbiuUcJYkGf1BBA3W_qy0JnHmqKPXTs8RAnEqxxJZ_lzQjLGtmCRiFEQeqQWUhPhN0'
  • Response

[
{
"id": 1,
"name": "GROCERY",
"validage": null,
"deleted": false
},
{
"id": 2,
"name": "BAKING",
"validage": 0,
"deleted": false
}
]
  • Guide to Response terms

id       : int    - Unique identifier for the section
name : string - Name of the section
validage : short? - Minimum age to purchase products in the section, if specified
deleted : bool - Flag to indicate if the section is deleted

 

Related Articles

API: Customers

POS Manager API Setup

 

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 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.