Adjustments

Retrieve categories

Changed on

Returns the available adjustment categories, optionally filtered by contract type or by a single contract. Send contract_id to get the categories available for that contract; contract_types is ignored when contract_id is sent. Category IDs returned here are required when creating adjustments and define the type and accounting treatment applied.

Token scopes: adjustments:read

get/adjustments/categories

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Query parameters

contract_types, AdjustmentsCategoriesGetParametersContractTypesSchemaItems[]

array of contract types to filter categories

contract_id, string

Contract ID. When sent, returns only the categories available for that contract and contract_types is ignored.

Response

Successful operation.

AdjustmentsGetAdjustmentCategoriesResponse200 required
data, AdjustmentsCategoriesGetResponsesContentApplicationJsonSchemaDataItems[] required

Changes

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property request from the response with the status

    6 more changes in this revision