1 type: object
2 description: The image's details.
3 x-schemaName: AdminProductImage
4 properties:
5 id:
6 type: string
7 title: id
8 description: The image's ID.
9 url:
10 type: string
11 title: url
12 description: The image's URL.
13 created_at:
14 type: string
15 format: date-time
16 title: created_at
17 description: The date the image was created.
18 updated_at:
19 type: string
20 format: date-time
21 title: updated_at
22 description: The date the image was updated.
23 deleted_at:
24 type: string
25 format: date-time
26 title: deleted_at
27 description: The date the image was deleted.
28 metadata:
29 type: object
30 description: The image's metadata, can hold custom key-value pairs.
31 externalDocs:
32 url: https://docs.medusajs.com/api/admin#manage-metadata
33 description: Learn how to manage metadata
34 rank:
35 type: number
36 title: rank
37 description: The image's rank among sibling images.
38 product:
39 type: object
40 variants:
41 type: array
42 description: The variants associated with the image.
43 items:
44 type: object
45 required:
46 - id
47 - url
48 - rank