v54

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01235140905.8 KB
Accounting

Create tracking categories

put/TrackingCategories

Headers

Idempotency-Keystring

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body

TrackingCategoryIDstring uuid

The Xero identifier for a tracking category e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9

TrackingOptionIDstring uuid

The Xero identifier for a tracking option e.g. dc54c220-0140-495a-b925-3246adc0075f

Namestring

The name of the tracking category e.g. Department, Region (max length = 100)

Optionstring

The option name of the tracking option e.g. East, West (max length = 100)

Status'ACTIVE' | 'ARCHIVED' | 'DELETED'

The status of a tracking category

Response

Success - return response of type TrackingCategories array of newly created TrackingCategory