Create an amendment
Draft scaffold — not implemented or available in the API.
Applies exactly the changes previewed with previewToken, effective immediately, and increments the order’s version. Fails if the order changed since the preview or since expectedVersion; preview again and retry. Returns 503, with nothing changed, if billing can’t be reached. {order} takes the order’s ord_ ID or your externalId.
Authentication
AuthorizationBearer
API Key authentication using Bearer token
Path parameters
order
A Paid ID, external ID or resource key, as supported by the referenced resource.
Headers
Paid-Beta
This endpoint is in the orders=v1 beta. Send this header to use it.
Allowed values:
Request
Body
changes
Requested line or term changes.
previewToken
The previewToken from previewing exactly these changes.
commits
New commits.
expectedVersion
Expected order concurrency version.
proration
Recurring-charge proration.
Allowed values:
Response
201
id
The Amendment ID.
object
The type of object. Always amendment.
Allowed values:
createdAt
When the object was created.
changes
Applied changes.
effectiveAt
When the amendment took effect.
livemode
true for an object on a live account, false on a test account.
order
A Paid ID, external ID or resource key, as supported by the referenced resource.
source
How this amendment was initiated.
versionAfter
Order version after applying changes.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error
503
Service Unavailable Error