Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.41 KB

update-invoice-request.md

File metadata and controls

37 lines (28 loc) · 1.41 KB

Update Invoice Request

Describes a UpdateInvoice request.

Structure

UpdateInvoiceRequest

Fields

Name Type Tags Description
invoice Invoice Required Stores information about an invoice. You use the Invoices API to create and manage
invoices. For more information, see Invoices API Overview.
idempotencyKey string | undefined Optional A unique string that identifies the UpdateInvoice request. If you do not
provide idempotency_key (or provide an empty string as the value), the endpoint
treats each request as independent.

For more information, see Idempotency.
Constraints: Maximum Length: 128
fieldsToClear string[] | undefined Optional The list of fields to clear.
For examples, see Update an Invoice.

Example (as JSON)

{
  "fields_to_clear": [
    "payments_requests[2da7964f-f3d2-4f43-81e8-5aa220bf3355].reminders"
  ],
  "idempotency_key": "4ee82288-0910-499e-ab4c-5d0071dad1be",
  "invoice": {
    "payment_requests": [
      {
        "tipping_enabled": false,
        "uid": "2da7964f-f3d2-4f43-81e8-5aa220bf3355"
      }
    ],
    "version": 1
  }
}