GET
/
v1
/
priceagreement
/
account
/
{id}
/
product
/
{code}
curl --request GET \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/v1/priceagreement/account/{id}/product/{code}
[
  {
    "lowest": false,
    "priceListId": "<string>",
    "code": "<string>",
    "type": "PER_EACH",
    "validFrom": "2022-05-12T13:18:05Z",
    "validTo": "2022-05-12T13:18:05Z",
    "value": 123,
    "id": "<string>",
    "priceAgreementId": "<string>"
  }
]

Path Parameters

id
string
required

The account id you want to fetch the agreements for

code
string
required

The code you want to fetch the agreement for

Query Parameters

atDateTime
string

Point in time when the agreement was active

auditUser
string
required

The audit user to log the request

Response

200
application/json

Successfully retrieved the agreements

The response is of type object[].