âŹď¸Request and Response
Request to the API endpoint
Get documents previously attached to an order
GET
https://api.alephcrm.com/v2/orders/{orderId}/documents
Query Parameters
API_KEY*
String
(default=none)
accountId *
Integer
(default=none)
documentFormat*
String
documentType*
Integer
Parameters details
API_KEY
The API_KEY that was provided.
accountId
The Alephee account ID of the documents you are trying to get.
orderId
The Alephee order ID of the documents you are trying to get.
documentType
Specify the requested document type. Available values are: 0 = Invoice 1 = Receipt 2 = Electronic fiscal invoice 7 = Shipping label (not available yet)
documentFormat
Specify the download format of the requested document. Available values are âpdfâ, âxmlâ (without quotes) DO NOT send the documentFormat parameter when using the following document types: 1 = Receipt IT IS MANDATORY to send the documentFormat parameter when using the following document types: 0 = Invoice
Last updated