1 type: object
2 description: The product collection's details.
3 x-schemaName: BaseCollection
4 required:
5 - id
6 - title
7 - handle
8 - created_at
9 - updated_at
10 - deleted_at
11 - metadata
12 properties:
13 id:
14 type: string
15 title: id
16 description: The collection's ID.
17 title:
18 type: string
19 title: title
20 description: The collection's title.
21 handle:
22 type: string
23 title: handle
24 description: The collection's handle.
25 created_at:
26 type: string
27 format: date-time
28 title: created_at
29 description: The collection's creation date.
30 updated_at:
31 type: string
32 format: date-time
33 title: updated_at
34 description: The collection's update date.
35 deleted_at:
36 type: string
37 format: date-time
38 title: deleted_at
39 description: The collection's deletion date.
40 products:
41 type: array
42 description: The collection's products.
43 items:
44 type: object
45 metadata:
46 type: object
47 description: The collection's metadata, used to store custom key-value pairs.
48 externalDocs:
49 url: https://docs.medusajs.com/api/store#manage-metadata
50 description: Learn how to manage metadata
51 external_id:
52 type: string
53 title: external_id
54 description: The collection's external ID used to link it with external systems.