UpdateInvoice

data class UpdateInvoice(val invoiceId: String) : InvoiceEndpoints

Endpoint for updating an existing invoice (PATCH /v1/invoices/{invoiceId}).

Constructors

Link copied to clipboard
constructor(invoiceId: String)

Properties

Link copied to clipboard

Optional extra HTTP headers to attach to the request (e.g. Accept: application/json). Defaults to empty. Applied after the standard Frame Authorization/User-Agent headers but before Content-Type (set on POST/PATCH), so an entry may override the former but not the latter. Prefer supplemental headers like Accept; don't rely on this to set auth headers.

Link copied to clipboard
open override val endpointURL: String

The URL path for this endpoint.

Link copied to clipboard
open override val httpMethod: String

The HTTP method for this endpoint.

Link copied to clipboard

The unique identifier of the invoice to update.

Link copied to clipboard
open override val queryItems: List<QueryItem>?

The query parameters to append to the request URL, or null if none apply.