Update a commit
Draft scaffold — not implemented or available in the API.
Changes only the fields sent: name, displayName, taxCode and metadata. The amount, type, scope and period can’t change; archive the commit and create another instead. A new displayName or taxCode applies to invoices issued afterwards. {commit} takes the commit’s cmt_ ID.
Authentication
Path parameters
Headers
This endpoint is in the commits=v1 beta. Send this header to use it.
Request
What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Tax code for the commit’s own charges: a prepaid invoice taxed at purchase and an invoiced minimum’s true-up. Null uses the code every scoped product shares, else the account default.
Response
The type of object. Always commit.
Lowercase ISO 4217 currency code, e.g. usd.
What your customers see on invoices, credit notes, checkout and the portal; null uses the resource name.
Invoiced-minimum settings: {} on an invoicedMinimum commit, otherwise null.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Prepaid settings on a prepaid commit, otherwise null.
The committed amount pro-rated by day after an amendment shortened the order, in minor units of currency, or null until one does. Shown to 15 decimal places, rounded half-up at the 15th ("22580.645161290322581"); the true-up and balance.remaining use the exact fraction. Read-only: amount keeps the integer that was committed.
Tax code for the commit’s own charges: a prepaid invoice taxed at purchase and an invoiced minimum’s true-up. Null uses the code every scoped product shares, else the account default.