Zum Hauptinhalt springen
PUT
/
invoices
/
{id}
/
download-link
cURL
curl -X PUT \
 /invoices/{id}/download-link \
 --header "Authorization: Bearer <token>"
{
  "url": "https://coreapi.io/download/1234"
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Pfadparameter

id
string
erforderlich

Invoice identifier

Abfrageparameter

secondsValid
integer

The amount of seconds the download link should be valid. Default is 24 hours.

Erforderlicher Bereich: x >= 5

Antwort

Invoice resource updated

url
string

The download URL

Beispiel:

"https://coreapi.io/download/1234"