Branches

List all branches.

get
Responses
200Success
application/json
get
GET /v1/core/branches HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {
          "ar": {
            "name": "text",
            "description": "text"
          },
          "en": {
            "name": "text",
            "description": "text"
          }
        },
        "createdAt": "text",
        "createdVia": "text",
        "createdBy": "text",
        "updatedAt": "text",
        "updatedVia": "text",
        "updatedBy": "text",
        "id": "text",
        "legalEntityUid": "text",
        "defaultSubinventoryUid": "text",
        "address": {},
        "scheduleUid": "text",
        "siteProductListUids": [
          "text"
        ],
        "posProductListUids": [
          "text"
        ],
        "tableProductListUids": [
          "text"
        ]
      }
    ]
  }
}

Get a branch by id.

get
Path parameters
idstringRequired
Responses
200Success
application/json
get
GET /v1/core/branches/{id} HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "item": {
      "locales": {
        "ar": {
          "name": "text",
          "description": "text"
        },
        "en": {
          "name": "text",
          "description": "text"
        }
      },
      "createdAt": "text",
      "createdVia": "text",
      "createdBy": "text",
      "updatedAt": "text",
      "updatedVia": "text",
      "updatedBy": "text",
      "id": "text",
      "legalEntityUid": "text",
      "defaultSubinventoryUid": "text",
      "address": {},
      "scheduleUid": "text",
      "siteProductListUids": [
        "text"
      ],
      "posProductListUids": [
        "text"
      ],
      "tableProductListUids": [
        "text"
      ]
    },
    "schedule": {
      "locales": {
        "ar": {
          "name": "text",
          "description": "text"
        },
        "en": {
          "name": "text",
          "description": "text"
        }
      },
      "businessStartTime": "text",
      "createdAt": "text",
      "createdVia": "text",
      "createdBy": "text",
      "updatedAt": "text",
      "updatedVia": "text",
      "updatedBy": "text",
      "uid": "text"
    }
  }
}

Exports all branches with support for incremental fetching.

get
Path parameters
updatedSincestringRequired
offsetstringRequired
Responses
200Success
application/json
get
GET /v1/core/branches/export HTTP/1.1
Host: 
Accept: */*
200Success
{
  "app": "text",
  "service": "text",
  "warnings": [
    {}
  ],
  "instanceId": "text",
  "requestId": "text",
  "data": {
    "items": [
      {
        "locales": {
          "ar": {
            "name": "text",
            "description": "text"
          },
          "en": {
            "name": "text",
            "description": "text"
          }
        },
        "createdAt": "text",
        "createdVia": "text",
        "createdBy": "text",
        "updatedAt": "text",
        "updatedVia": "text",
        "updatedBy": "text",
        "id": "text",
        "legalEntityUid": "text",
        "defaultSubinventoryUid": "text",
        "address": {},
        "scheduleUid": "text",
        "siteProductListUids": [
          "text"
        ],
        "posProductListUids": [
          "text"
        ],
        "tableProductListUids": [
          "text"
        ]
      }
    ],
    "next": "text"
  }
}

Was this helpful?