Factuarea APIDevelopers

List all carriers

List the carriers of your company with cursor-based pagination.

  • Filter by whether they are active and by their tracking kind, search free text over the name and the code, and sort by creation, code or name.
  • Each carrier comes back with its public id, its name, its code, its tracking kind, the template of its tracking URL when it has one, its contact when it has one and whether it is active.
  • Carriers that are no longer active are returned as well, so filter by the active flag when you only want the ones you can still assign.
  • The internal notes of a carrier are never published.
GET
/companies/{company}/carriers

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid

Query Parameters

limit?integer

Number of objects to return, between 1 and 100 (default 25).

Default25
Range1 <= value <= 100
starting_after?string

Cursor for forward pagination: pass the id of the last object on the previous page (the next_cursor of the previous response).

Formatuuid
ending_before?string

Cursor for backward pagination: pass the id of the first object on the current page.

Formatuuid
is_active?boolean

Whether the carrier can still be assigned to a new shipment. Only true, false, 1 and 0 are accepted. Exact match on is_active.

tracking_kind?string

Where the tracking link comes from: url_template, manual (no link published) or store_provided (from the originating shop). Exact match on tracking_kind.

Value in"url_template" | "manual" | "store_provided"
tracking_kind[in]?string

Where the tracking link comes from: url_template, manual (no link published) or store_provided (from the originating shop). Comma-separated list. Any of the values matches.

sort?string

Sort order: created, code, name ascending, or with a - prefix for descending (default -created).

Value in"created" | "-created" | "code" | "-code" | "name" | "-name"
search?string

Free-text search. Escaped LIKE %term% (case-insensitive, max 80 chars) across the resource's key text columns, combined with the other filters (AND) and compatible with the cursor.

Lengthlength <= 80

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json