Etsy · Schema
ShopListingFile
A file associated with a digital listing.
MarketplaceEcommerceHandmadeListingsOrdersPaymentsReviewsShippingTaxonomyOAuth2
Properties
| Name | Type | Description |
|---|---|---|
| listing_file_id | integer | The unique numeric ID of a file associated with a digital listing. |
| listing_id | integer | The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction. |
| rank | integer | The numeric index of the display order position of this file in the listing, starting at 1. |
| filename | string | The file name string for a file associated with a digital listing. |
| filesize | string | A human-readable format size string for the size of a file. |
| size_bytes | integer | A number indicating the size of a file, measured in bytes. |
| filetype | string | A type string indicating a file's MIME type. |
| create_timestamp | integer | The unique numeric ID of a file associated with a digital listing. |
| created_timestamp | integer | The unique numeric ID of a file associated with a digital listing. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ShopListingFile",
"description": "A file associated with a digital listing.",
"$id": "https://raw.githubusercontent.com/api-evangelist/etsy/refs/heads/main/json-schema/open-api-v3-shop-listing-file-schema.json",
"type": "object",
"properties": {
"listing_file_id": {
"type": "integer",
"description": "The unique numeric ID of a file associated with a digital listing.",
"format": "int64",
"minimum": 1,
"example": 1
},
"listing_id": {
"type": "integer",
"description": "The numeric ID for the [listing](/documentation/reference#tag/ShopListing) associated to this transaction.",
"format": "int64",
"minimum": 1,
"example": 123456789
},
"rank": {
"type": "integer",
"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": "integer",
"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": "integer",
"description": "The unique numeric ID of a file associated with a digital listing.",
"minimum": 946684800,
"example": 1758153645
},
"created_timestamp": {
"type": "integer",
"description": "The unique numeric ID of a file associated with a digital listing.",
"minimum": 946684800,
"example": 1758153645
}
}
}