Gallery Platform API
Reference

Render an invoice PDF

Renders the branded invoice to PDF on demand and returns a short-lived signed download URL.

POST
/gallery/invoices/{id}/pdf

Renders the branded invoice to PDF on demand and returns a short-lived signed download URL.

Authorization

bearerAuth sales:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: sales:read

Path Parameters

id*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "download_url": "string"}