Skip to content

createOpportunityLineDocumentUploadUrl

WRITE

Create a presigned upload URL for an opportunity LINE document.

POST /api/v1/sales/createOpportunityLineDocumentUploadUrl
curl -X POST '<your-host>/api/v1/sales/createOpportunityLineDocumentUploadUrl' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "lineId": "string",
    "name": "string"
  }'
Response
{
  "signedUrl": "string",
  "token": "string",
  "path": "string"
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "lineId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "lineId",
    "name"
  ]
}