Retrieves the active price agreement period for a selected account and product
Retrieve active price agreement period for selected account and product
Path Parameters
The account id you want to fetch the agreements for
The code you want to fetch the agreement for
Query Parameters
Point in time when the agreement was active
The audit user to log the request
Response
After all logic and repricing, should the lowest price apply. I.E the repriced one or the one coming from the merchant.
A reference to a price list, using the id of the price list
Product code for this agreement period
Tells which kind of discount calculation that applies
PER_EACH
, ABSOLUTE
, PERCENT
The RFC 3339 format date and time from what time the price list should be active. Cannot be null
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
The value connected to the type
field above. This can be 45.4 PER_EACH, 5.0 PERCENT etc.
The id of a price agreement period
The primary key of the price agreement