Saves the current product state and returns links to the hi-res output. For details, see the Introducing the IFrame API topic.
The file name, maximum width and height of proof images.
The name of the resulting file. This name is only used when you allow end-users directly downloading hi-res files using the links returned by the finishProductDesign method. The file name is combined with a file extension of configured output format. For example, if you pass business_card
as a value of the argument and configure Customer's Canvas to save results in PDF, the result file name will be business_card.pdf
The maximum height of proof images, in pixels. This value is 500
by default.
The maximum width of proof images, in pixels. This value is 500
by default.
Returns a promise with the resulting product details: the bounding rectangle, links to the hi-res output, permanent links to proof images, a return-to-edit URL, user changes, userId, and stateId.