Get Accounting Dimensions
GET/api/ledger/accounting-dimensions
Read the tracking-category (Xero) / class (QBO) settings for the accounting connection: the active provider, its dimension capabilities, the mirrored tracking categories/options (or classes) available to map, the sales channels (including a synthetic "SKU.io (internal)" pseudo-channel for internal orders), and the saved per-channel slot configuration. Used to build P&L segmentation such as COGS by sales channel.
Authentication: Requires Bearer token.
Returns 404 when no accounting connection is configured. For QBO the capabilities object also carries class_tracking_enabled, class_tracking_per_line, and plan_supports_classes.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.