> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# FileUploadFieldOption

GraphQL object

A form allowing selection and uploading of a file from the user's local computer.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/objects/file-upload-field-option

## Fields

- `maxFileSize` — The maximum size of the file in kilobytes
- `fileTypes` — All possible file extensions. Empty means that all files allowed.
- `entityId` — Unique ID for the option.
- `displayName` — Display name for the option.
- `isRequired` — One of the option values is required to be selected for the checkout.
- `isVariantOption` — Indicates whether it is a variant option or modifier.

## Definition

```graphql
type FileUploadFieldOption implements CatalogProductOption {
  maxFileSize: Int!
  fileTypes: [String!]!
  entityId: Int!
  displayName: String!
  isRequired: Boolean!
  isVariantOption: Boolean!
}
```