Raw
1 type: object
2 description: The collection's details.
3 x-schemaName: StoreCollection
4 required:
5 - title
6 - id
7 - metadata
8 - created_at
9 - updated_at
10 - handle
11 - deleted_at
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 date the collection was created.
30 updated_at:
31 type: string
32 format: date-time
33 title: updated_at
34 description: The date the collection was updated.
35 deleted_at:
36 type: string
37 format: date-time
38 title: deleted_at
39 description: The date the collection was deleted.
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, can hold 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.