Read sales types

GET /salestypes

Read a list of sales types available in the system.

Headers

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    Hide response attributes Show response attributes object
    • id number

      The unique identifier of the sales type.

    • name string

      The name of the sales type.

    • account object

      The associated account within the 24SevenOffice accounting module for this sales type.

      Additional properties are allowed.

      Hide account attribute Show account attribute object
      • id number

        A unique identifier for the account within 24SevenOffice accounting module.

GET /salestypes
curl \
 -X GET https://rest.api.24sevenoffice.com/v1/salestypes \
 -H "Authorization: string"
Response examples (200)
[
  {
    "id": 1,
    "name": "Product Sales",
    "account": {
      "id": 2000001
    }
  },
  {
    "id": 2,
    "name": "Service Sales",
    "account": {
      "id": 2000003
    }
  }
]