Etsy · JSON Structure

Open Api V3 Shop Listing File Structure

A file associated with a digital listing.

Type: object Properties: 9
MarketplaceEcommerceHandmadeListingsOrdersPaymentsReviewsShippingTaxonomyOAuth2

ShopListingFile is a JSON Structure definition published by Etsy, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

listing_file_id listing_id rank filename filesize size_bytes filetype create_timestamp created_timestamp

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etsy/refs/heads/main/json-structure/open-api-v3-shop-listing-file-structure.json",
  "name": "ShopListingFile",
  "description": "A file associated with a digital listing.",
  "type": "object",
  "properties": {
    "listing_file_id": {
      "type": "int64",
      "description": "The unique numeric ID of a file associated with a digital listing.",
      "minimum": 1,
      "example": 1
    },
    "listing_id": {
      "type": "int64",
      "description": "The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction.",
      "minimum": 1,
      "example": 123456789
    },
    "rank": {
      "type": "int32",
      "description": "The numeric index of the display order position of this file in the listing, starting at 1.",
      "minimum": 0,
      "example": 1
    },
    "filename": {
      "type": "string",
      "description": "The file name string for a file associated with a digital listing.",
      "example": "Handmade Ceramic Mug"
    },
    "filesize": {
      "type": "string",
      "description": "A human-readable format size string for the size of a file.",
      "example": "example string"
    },
    "size_bytes": {
      "type": "int32",
      "description": "A number indicating the size of a file, measured in bytes.",
      "minimum": 0,
      "example": 1
    },
    "filetype": {
      "type": "string",
      "description": "A type string indicating a file's MIME type.",
      "example": "example string"
    },
    "create_timestamp": {
      "type": "int32",
      "description": "The unique numeric ID of a file associated with a digital listing.",
      "minimum": 946684800,
      "example": 1758153645
    },
    "created_timestamp": {
      "type": "int32",
      "description": "The unique numeric ID of a file associated with a digital listing.",
      "minimum": 946684800,
      "example": 1758153645
    }
  }
}