Skip to main content

Update Accounting Dimensions

PUT 

/api/ledger/accounting-dimensions

Save the per-channel slot configuration. Up to two dimension slots are allowed; each slot must reference a distinct provider dimension (a 422 is returned otherwise).

Authentication: Requires Bearer token.

Slot fields:

  • slot — 1 or 2
  • provider_dimension.typexero_tracking_category or qbo_class
  • provider_dimension.mirror_id — the local id of the chosen dimension
  • driversales_channel
  • apply_to — object with revenue, cogs, fba booleans (which document families are tagged)
  • default_value_mirror_id — fallback value id applied to unmapped channels (null to leave them untagged)
  • mappings[] — one row per channel: channel_instance_id (null for the internal pseudo-channel), value_mirror_id, and optional sub_channel_overrides keyed by sub-channel id

Returns the saved configuration with recomputed warnings.

Request

Responses

OK

Response Headers
    Content-Type