Read sales type by ID

GET /salestypes/{id}

Read details of a specific sales type by its ID.

Headers

Path parameters

  • id integer(int32) Required

    The ID of the sales type to retrieve.

Responses

  • 200 application/json
    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/{id}
curl \
 -X GET https://rest.api.24sevenoffice.com/v1/salestypes/{id} \
 -H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string

# Payload
{
  "id": 1,
  "name": "Product Sales",
  "account": {
    "id": 2000001
  }
}