curl --request POST \
--url https://api.light.inc/rest/ext/v1/invoice-payables/{invoicePayableId}/document/upload-url \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"documentName": "<string>",
"contentType": "<string>"
}'
{
"uploadUrl": "<string>",
"headers": {}
}
Creates a URL to upload the invoice payable attached document
curl --request POST \
--url https://api.light.inc/rest/ext/v1/invoice-payables/{invoicePayableId}/document/upload-url \
--header 'Content-Type: application/json;charset=UTF-8' \
--data '{
"documentName": "<string>",
"contentType": "<string>"
}'
{
"uploadUrl": "<string>",
"headers": {}
}
default response
The response is of type object
.