Factuarea APIDevelopers

Retrieve a sales order public link

Return the state of the public link of a sales order: state (never_activated, active or revoked), url (absolute, ready to send to the buyer; null unless state is active), enabled (true only when state is active), expires_at (set by the server, bounded by the plan), max_days (the plan cap when extending it) and its visits, views_count and last_viewed_at (null if never opened).

  • Revoking the link does not erase its visits.
  • An order of another company answers 404 sales_order_not_found.
GET
/companies/{company}/sales-orders/{sales_order}/public-link

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
sales_order*string

Public identifier (UUID v7) of the sales order.

Formatuuid

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