Orders

List Revenue Centers

Changed on

List the revenue centers for this location, from any integration, in cursor-paginated pages.

get/v2/company/{company_id}/location/{location_id}/revenue_centers

Request

  • Base URL
    https://api.7shifts.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.7shifts.com/oauth2/authorize
      Client credentials
      Password
      Token URLhttps://app.7shifts.com/oauth2/token
    • or API key in cookie 7session

Path parameters

company_idinteger required

The company_id

location_idinteger required

The 7shifts location these revenue centers belong to.

Query parameters

cursorstring

Cursor for the next or previous page of results.

limitinteger

The number of results desired per page.

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Response

OK

object'pos_revenue_center' required

Example response

{
  "data": [
    {
      "external_id": "5678-ext-id-bar",
      "name": "Bar",
      "location_id": 24705
    }
  ]
}

Changes