⚙ī¸Examples

Request (via form-data)

curl --location --request POST 'http://api.alephcrm.com/v2/orders/ZZZZ/documents? API_KEY=AAAAAAAA-XXX-XXX-XXX-XXXXXXXXXXXX ' \
--header 'Content-Type: multipart/form-data; ' \
--form 'file=@/C:/document.pdf' \
--form 'documentType=0'
--form 'documentNumber=1234'
--form 'documentDate=yyyy-MM-dd'
--form 'messageText=We attached the invoice. Thanks for your purchase.'

Response

{“ Successfully attached ”}

See more examples with POSTMAN images included

Via FORM-DATA

Via JSON BODY

Last updated