v1
latestOpenAPI 3.0.12026-07-24501176.6 MBGet Org Entities
Retrieves the details of zones, stores, store servers, concepts or TILLs configured for the current organization. By default, it fetches up to 200 entities.
Query parameters
Type of entity to retrieve.
Pass an entity id as in the org_entities table (in database) to get the details of that particular entity. For example, ?type=STORE&id=12354309To get the details of multiple entries, pass each ID separating with , . For example, “12859252,12859253”.
Pass STORE_CUSTOM_FIELDS or ZONE_CUSTOM_FIELDS to retrieve the list of store level or zone level custom fields.
Parent entity type to fetch its child entities
Pass the respective identifier value.
Pass true to retrieve the details of the parent entity (parent zone or concept). This is applicable only for type zone or concept. Sample - ?type=CONCEPT&id=50995&include_parent=true
Limit the number of sub-entities to retrieve for each entity.
Pass basic to see only basic information excluding currency, time-zone, and language information.
Pass 1 to exclude time zone details (timezones), 0 to retrieve timezones > base_timezone details of an entity.
Fetches entities that are above the offset number you pass. Offset is the position of the entity in the db record. The value is assigned based on the sequence of creation. For example, start_id=10 retrieves all the entities from record number 11.
Limit the number of entities to retrieve.
Retrieves the entities that are modified on or after a specific date.
Pass true to retrieve the list of only active stores.
Preferred response format.
Response
200
Example response
{
"response": {
"pagination": {
"limit": "500",
"offset": "0",
"total": 1
},
"status": {
"success": true,
"code": 200,
"message": "SUCCESS"
},
"organization": {
"entities": {
"entity": [
{
"item_status": {
"success": "true",
"code": 3200,
"message": "Entity search successful"
},
"id": "50156992",
"is_active": "1",
"code": "new_till",
"name": "new_till",
"description": "Testing description",
"last_updated_by": "50154735",
"last_updated_on": "2024-06-04 09:03:20",
"custom_fields": {
"field": [
{
"name": "cf_1",
"value": "15"
}
]
},
"time_zone_id": "0",
"currency_id": "0",
"language_id": "0",
"timezones": {
"base_timezone": {
"label": "Asia/Kolkata",
"offset": "+05:30"
}
},
"currencies": {
"base_currency": {
"symbol": "₹",
"label": "INR"
}
},
"language_locale": "IN",
"languages": {
"base_language": {
"locale": "IN"
}
},
"country_code": "IN",
"username": "new_till",
"type": "TILL"
}
]
}
}
}
}