Skip to main content
POST
/
v1
/
reprice
Trigger repricing
curl --request POST \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/purchase-detail/v1/reprice' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "transactionId": "<string>",
  "purchaseDetailIds": [
    "<string>"
  ]
}
'
{
  "description": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json

Request information needed to create trigger a repricing

transactionId
string

The transactionId to which the purchase details belong

purchaseDetailIds
string[]

A list of the id's of the purchase details that you want to reprice

Response

Successfully triggered

description
string

Short description of the result of the action

id
string

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