POST:storefront/files.json
Storefront APIPOST:storefront/files.json

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

Query Parameters

ids: Comma-separated array of String, required

List of file ids. See also: Unique Identifiers

Example: ?ids=fi_EQzGqWoY,fi_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of FileModify

[
  {
    "image_alt": "Lovely Sunset",
    "pinned": false
  }
]

Response Body

Array of StorefrontFile

Response Body Type

Loading module