Content > Files > storefrontFilesModify
POST:storefront/files.json
Description
Upload or re-upload a customer file. Note that even though input is an array, only one file is accepted. Such design is made for API consistency.
Topic: Files
Arguments
data: [FileModify!]!
Main argument for mutations.
List of file ids. See also: Unique Identifiers
Example: ["fi_EQzGqWoY"]
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Alt title of the image
Example: "Lovely Sunset"
Valid when: image_alt's length doesn't exceed 250 characters
Whether file is pinned or not
Example: false
Result
Preview (typescript)
Loading module