Purchase item types

You can get the list of the available purchase item types here.

Available methods

All available methods for resource purchase item types.

HTTP method Endpoint Description
[badge-blue GET] /purchase-item-types Get information about all purchase item types

Get all purchase item types

Get a list of purchase item types accepted in CRM CareCloud
[badge-blue GET ] /purchase-item-types

Query string

Parameter name Type Description Mandatory (Yes/No)
count integer The number of records to return.
Default value is 100.
offset integer The number of records from a collection to skip.
Default value is 0.
sort_field string One of the query string parameters for sorting.
Response is sorted by the specified field.
sort_direction string Direction of sorting the response list.
Possible values are: ASC / DESC


Status code: 200 OK
Output structure : object

Parameter name Type Description
purchase_item_types Purchase-item-type[] List of the purchase item types
total_items integer Count of all found purchase types

Example Request

GET https://<projectURL>/rest-api/enterprise-interface/v1.0/purchase-item-types?count=2
Content-Type: application/json
Accept-Language: cs, en-gb;q=0.8
Authorization: Basic ZW50ZXJwcmlzZV9pbnRlcmZhY2U6NDU3NDJhMDAxNmEyZjc1NDI3YWUwMTM0NmMyOWQxNmE4NzI1MWZlzZmMzcwNmI2MDJmDfN2Q2Mw==

Example response

HTTP/1.1 200 OK
Date: Tue, 20 Oct 2020 13:33:01 GMT
Content-Type: application/json; charset=utf-8

  "data": {
    "purchase_item_types": [
        "type_id": "86e05affc7a7abefcd513ab400",
        "name": "purchase in store"
        "type_id": "8bed991c68a470e7aaeffbf048",
        "name": "cancellation"
    "total_items": 12