Get
/api/3/Output/DownloadOutputFile?websiteId={websiteId}&webApiClientKey={webApiClientKey}&designId={designId}&type={type}&isRegenerate={isRegenerate}
This API will download PDF files of customized products. There are two types of pdf that are available for the user to download, Plate (this pdf contains only the customization that is done on the product)and Proof(this pdf has the complete preview of the product).
A zip file is downloaded when there are both Proof and Plate PDF.
Request Information
Parameters
Response Information
Response body formats
On Success
On success, this method will download the PDF files.
In case of both Proof and Plate PDF, a zip file will be downloaded.
On Error
On error, this method will show the validations based on the conditions in the form of error messages as given below.
Error messages with the Conditions:
When customizedProductID doesn't exist.
"Your customized product id is not valid."
When the product that has been added to cart is not print ready.
"Product is not print ready.
When passed parameters are other than ['Plate','Proof'] in pdfType.
""Your entered pdf type is not valid."When the PDF is yet to be generated for requested customizedProductId.
"Your PDF is not created , Please try after some time."