Skip to main content
object

Requires customer_read_companies access scope, customer_read_customers access scope, customer_read_locations access scope or customer_read_orders access scope.

The generic file resource lets you manage files in a merchant's store. Generic files include any file that doesn't fit into a designated type such as image or video. Example: PDF, JSON.

•String

A word or phrase to indicate the contents of a file.

•ID!
non-null

A globally-unique ID.

•MediaContentType!
non-null

The media content type.

•String

The MIME type of the file.

•Int

The size of the original file in bytes.

•Image

The preview image for the media.

•URL

The URL of the file.


Was this section helpful?

•interface

Was this section helpful?