List Export Columns
GET/api/purchase-orders/csv-columns
Returns the master registry of supported PO email CSV columns and the tenant-wide default selection. Used by the per-supplier CSV column picker, the supplier preferences panel, and the PO settings page.
purchase-orders:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
The registry is append-only and position-stable — column ordering and keys are part of a public contract that supplier intake pipelines rely on. Removing or renaming a key is a breaking change.
Response fields:
data.columns[]— array of{ key, label }in canonical orderdata.tenant_default— array of column keys representing the tenant-wide default, ornullif no override is set (means: use system default = every column)
Authentication: Requires Bearer token. Scope: purchase-orders:rw.
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.