upload_file
Upload a file into your Checkout Page account from a public URL.
Use this tool when you need a Checkout Page file ID to reference elsewhere in the API. The tool fetches the source file from url, uploads it to Checkout Page, and returns the stored file record.
Purpose matters:
purpose: "image"uploads a public image asset. Use this for page galleries, product galleries, ticket visuals, logos, hero images, and other media shown on the page.purpose: "file"uploads a private downloadable asset. Use this for digital downloads attached to checkout pages, files restricted to certain product variants, and files delivered after a form submission.
How uploaded files are typically used:
Page gallery images on checkout pages, events or forms.
Product gallery images and variant-specific images
Ticket types where an image is needed
Downloadable files attached to products or checkout pages after purchase or forms after submission.
Input notes:
urlMUST be a public URL. The MCP server will make a http request to directly download the resource.filenameis optional and overrides the stored filename.Images uploaded as
purpose: "image"must still be a supported image type upstream.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the file to fetch and upload into Checkout Page. The MCP tool downloads the file from this URL, then sends it to the Upload File API. | |
| purpose | No | Use `image` for public display assets such as page galleries, product galleries, ticket visuals, or similar media. Use `file` for private downloadable assets such as PDFs, digital downloads, or post-submission form downloads. | image |
| filename | No | Optional filename override. If omitted, the tool derives a name from the source URL when possible. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |