curl --request POST \
--url https://api.upwell.com/api/rest/invoices/search \
--header 'Content-Type: application/json' \
--data '
{
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"limit": 10,
"offset": 0,
"orderBy": [],
"where": {}
}
'{
"invoices": [
{
"balance": 123,
"customer": {
"id": "<string>",
"name": "<string>"
},
"customerId": "<string>",
"dueDate": "2023-12-25",
"id": "<string>",
"issueDate": "2023-12-25",
"number": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"status": "APPROVED",
"totalAmount": 123,
"invoiceNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Search for invoices by source system and source system ID
curl --request POST \
--url https://api.upwell.com/api/rest/invoices/search \
--header 'Content-Type: application/json' \
--data '
{
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"limit": 10,
"offset": 0,
"orderBy": [],
"where": {}
}
'{
"invoices": [
{
"balance": 123,
"customer": {
"id": "<string>",
"name": "<string>"
},
"customerId": "<string>",
"dueDate": "2023-12-25",
"id": "<string>",
"issueDate": "2023-12-25",
"number": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"status": "APPROVED",
"totalAmount": 123,
"invoiceNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
Query parameters can also be provided in the request body as a JSON object
The source system identifier
The ID of the invoice in the source system
Boolean expression to filter rows from the table "invoices". All fields are combined with a logical 'AND'.
Show child attributes
Responses for POST /api/rest/invoices/search
Show child attributes