v1

latestOpenAPI 3.0.32026-07-26208618579.9 KB
Update repricing agreements

Update a agreement account link

Update the agreement account link

patch/v1/priceagreement/link/{id}

Path parameters

idstring required

The id of the agreement link you want to update

Query parameters

auditUserstring required

The audit user to log the request

Request body

accountIdstring

The id of the card that you want to connect to a price agreement

priceAgreementIdstring

The primary key of the price agreement

validTostring date-time

The RFC 3339 format date and time when this price list should stop to be active. Cannot be greater than 'validFrom' of any other price list with the same 'code'. Can be null, which means this price list is active until this field is set

Example request

{
  "validTo": "2022-05-12T13:18:05Z"
}

Response

Successfully updated

descriptionstring

Short description of the result of the action

idstring

Will contain the ID of the resource that has been created or updated