UpdateLineItemRequest

data class UpdateLineItemRequest(val product: String?, val quantity: Int?)

Request body for updating an existing invoice line item.

Only non-null fields are applied to the existing line item.

Constructors

Link copied to clipboard
constructor(product: String?, quantity: Int?)

Properties

Link copied to clipboard

The updated product identifier, or null to leave unchanged.

Link copied to clipboard

The updated unit quantity. Must be greater than 0 when provided.