curl --request POST \
--url https://api.upwell.com/api/rest/carrier_invoices/{carrierInvoiceId}/documents \
--header 'Content-Type: application/json' \
--data '
{
"carrierInvoiceId": "<string>",
"input": {
"base64": "<string>",
"filename": "<string>",
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"type": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
}
}
'{
"createCarrierInvoiceDocument": {
"id": "<string>"
}
}Create a new carrier invoice document
curl --request POST \
--url https://api.upwell.com/api/rest/carrier_invoices/{carrierInvoiceId}/documents \
--header 'Content-Type: application/json' \
--data '
{
"carrierInvoiceId": "<string>",
"input": {
"base64": "<string>",
"filename": "<string>",
"mimeType": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"type": "<string>",
"visibleToCarrier": true,
"visibleToCustomer": true
}
}
'{
"createCarrierInvoiceDocument": {
"id": "<string>"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
"carrierInvoiceId" is required (enter it either in parameters or request body)
Query parameters can also be provided in the request body as a JSON object