Skip to main content
GET
https://staging-api.propaga.io/v1
/
transaction
/
external
/
{wholesalerTransactionId}
curl 
--location 
--request GET 'https://staging-api.propaga.io/v1/transaction/external/{wholesalerTransactionId}' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
{
    "transactionId": "c4da2e20-4565-4ca7-8335-769eea1eaf70",
    "cornerStoreId": "22de359b-4743-4067-b389-1a128928dca5",
    "userId": "3030cb59-5238-441b-9064-51bad8c39816",
    "transactionStatus": "on-hold",
    "wholesalerTransactionId": "TRAN-3245",
    "movementDate": "2024-04-26T19:26:40.112Z",
    "totalAmount": 1462.4,
    "interests": 43.87,
    "IVAAmount": 7.02,
    "totalAmountWithInterests": 1513.29,
    "paymentDate": "2024-05-11T19:26:40.101Z",
    "deliveryDate": null,
    "products": [
        {
            "id": "8ae071b7-8e44-4e8b-ac20-c5ed2d5d2476",
            "externalSKU": "123",
            "name": "Detergente Roma",
            "quantity": 1,
            "createdAt": "2024-04-26T20:26:40.664Z",
            "updatedAt": "2024-04-26T20:26:40.664Z"
        }
    ],
    "metadata": {},
    "wholesaler": "<wholesaler_name>",
}
curl 
--location 
--request GET 'https://staging-api.propaga.io/v1/transaction/external/{wholesalerTransactionId}' \
--header 'Authorization: <your_awesome_token>'
--header 'Content-Type: application/json'
{
    "transactionId": "c4da2e20-4565-4ca7-8335-769eea1eaf70",
    "cornerStoreId": "22de359b-4743-4067-b389-1a128928dca5",
    "userId": "3030cb59-5238-441b-9064-51bad8c39816",
    "transactionStatus": "on-hold",
    "wholesalerTransactionId": "TRAN-3245",
    "movementDate": "2024-04-26T19:26:40.112Z",
    "totalAmount": 1462.4,
    "interests": 43.87,
    "IVAAmount": 7.02,
    "totalAmountWithInterests": 1513.29,
    "paymentDate": "2024-05-11T19:26:40.101Z",
    "deliveryDate": null,
    "products": [
        {
            "id": "8ae071b7-8e44-4e8b-ac20-c5ed2d5d2476",
            "externalSKU": "123",
            "name": "Detergente Roma",
            "quantity": 1,
            "createdAt": "2024-04-26T20:26:40.664Z",
            "updatedAt": "2024-04-26T20:26:40.664Z"
        }
    ],
    "metadata": {},
    "wholesaler": "<wholesaler_name>",
}

Path parameters

wholesalerTransactionId
string
required
Wholesaler’s transaction ID

Response

transactionId
string
Propaga’s transaction id
cornerStoreId
string
Propaga’s corner store id
transactionStatus
string
Current status for the transaction
wholesalerTransactionId
string
Wholesaler’s transaction ID
movementDate
string
Date and time of the creation of the transaction
totalAmount
number
Total amount of the transaction
interests
number
Interests amount
IVAAmount
number
IVA amount
totalAmountWithInterests
number
Total amount with interests
paymentDate
string
Date and time of limit payment date
deliveryDate
string
Estimated date of delivery
products
array
List of products in the transaction
metadata
json
Any metadata saved for the transaction

Error codes

Transaction not found (404)
{
    "errorCode": "TRANSACTION_NOT_FOUND",
    "errorMessage": "This transaction not found"
}