V2 · Core resources

Quotes

Read quotes attached to applications.

A quote is a finance scenario attached to an application. V2 is read-only — only index and show are exposed.

Attributes

The shape returned by App\Http\Resources\V2\QuoteResource::toArray():

Attribute Type Description
id string (UUID) Stable public identifier.
enterprise_id string (UUID) UUID of the owning enterprise — derived via Team::find($team_id)->uuid.
application object | array Embedded ApplicationResource when the application relation is loaded (via whenLoaded). Omitted otherwise. The list endpoint does not eager-load it; the show endpoint surfaces it only when the underlying query has been eager-loaded by the caller.
created_at string (ISO 8601) Record creation timestamp.
updated_at string (ISO 8601) Record updated timestamp.

The embedded application carries the full Application attributes shape.

List quotes

GET /api/v2/quotes

Returns a paginated list of quotes belonging to the enterprise identified by X-Enterprise-Id. Page size is fixed at 100.

Responses

  • 200 — paginated QuotesResource collection.
  • 403 Forbidden — caller is not a member of the enterprise.

Retrieve a quote

GET /api/v2/quotes/{quote:uuid}

Responses

  • 200 — single QuoteResource envelope.
  • 403 Forbidden — caller is not a member of the enterprise or the quote's team_id does not match.

V2 differences — Quote endpoints are read-only, so App\Http\Middleware\NormalizeApiInput is effectively a no-op here — no request body is normalised because none is accepted. See Auth for the canonical description of the normaliser.