PUT
/
v2
/
transactions
/
{procurosTransactionId}
curl --request PUT \
--url https://api.procuros.io/v2/transactions/{procurosTransactionId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"success": true
}'
{
"data": {
"message": "OK."
}
}

Authorizations

Authorization
string
header
required

The API Token of your ERP Connection.

Path Parameters

procurosTransactionId
string<uuid>
required

Body

application/json

Expected parameters to update a transaction.

success
boolean
required

Whether or not your system was able to process the given transaction.

errorReason
string

Reason your system was not able to process the given transaction.

errorType
enum<string>

The type of the error. DATA indicates that the error is caused by invalid or insufficient data and can be resolved by a user. INTERNAL indicates a system-level error that cannot be fixed by a user.

Available options:
DATA,
INTERNAL
errorContext
object

Additional context/meta data for the error.

Response

Success

data
object
required