Skip to main content
POST
/
api
/
rest
/
carrier_invoices
/
{carrierInvoiceId}
/
documents
Create 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>"
  }
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Path Parameters

carrierInvoiceId
string
required

"carrierInvoiceId" is required (enter it either in parameters or request body)

Body

application/json

Query parameters can also be provided in the request body as a JSON object

carrierInvoiceId
string
input
CreateCarrierInvoiceDocumentInput Ā· object

Response

200 - application/json

Responses for POST /api/rest/carrier_invoices/{carrierInvoiceId}/documents

createCarrierInvoiceDocument
CarrierInvoiceDocument Ā· object