Skip to navigation

Retrieve an amendment

Draft scaffold — not implemented or available in the API.

Returns one amendment: the changes it applied, when it took effect, the order version after it (versionAfter) and its source. {order} takes the order’s ord_ ID or your externalId, and {amendment} the amendment’s amd_ ID.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

amendmentstringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
orderstringRequired1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.

Headers

Paid-BetaenumRequired

This endpoint is in the orders=v1 beta. Send this header to use it.

Allowed values:

Response

200
idstring
The Amendment ID.
objectenum

The type of object. Always amendment.

Allowed values:
createdAtdatetime
When the object was created.
changeslist of objects
Applied changes.
effectiveAtdatetime
When the amendment took effect.
livemodeboolean

true for an object on a live account, false on a test account.

orderstring1-255 characters
A Paid ID, external ID or resource key, as supported by the referenced resource.
sourceobject
How this amendment was initiated.
versionAfterinteger
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