Upload file by URL
upload_fileAdd a print file to the Printful file library using a URL; duplicate URLs return the existing file. Processing is asynchronous, and deprecated .ai, .psd, and .tiff sources are rejected.
Instructions
Add a file to the Printful file library by URL. If the same URL already exists, Printful returns the existing file. Processing is asynchronous; status starts as waiting and later becomes ok or failed. Deprecated .ai, .psd, and .tiff sources are rejected by Printful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| type | No | Role of the file, such as default, front, or back. | |
| visible | No | Show the file in the Printful library. Defaults to true at Printful. | |
| filename | No |