chore(docs): Generated API Reference (#2882)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
233d6904f8
commit
4814045036
45
docs/api/admin/components/schemas/ProductCollection.yaml
Normal file
45
docs/api/admin/components/schemas/ProductCollection.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
title: Product Collection
|
||||
description: Product Collections represents a group of Products that are related.
|
||||
type: object
|
||||
required:
|
||||
- title
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: The product collection's ID
|
||||
example: pcol_01F0YESBFAZ0DV6V831JXWH0BG
|
||||
title:
|
||||
description: The title that the Product Collection is identified by.
|
||||
type: string
|
||||
example: Summer Collection
|
||||
handle:
|
||||
description: >-
|
||||
A unique string that identifies the Product Collection - can for example
|
||||
be used in slug structures.
|
||||
type: string
|
||||
example: summer-collection
|
||||
products:
|
||||
description: >-
|
||||
The Products contained in the Product Collection. Available if the
|
||||
relation `products` is expanded.
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
description: A product collection object.
|
||||
created_at:
|
||||
type: string
|
||||
description: The date with timezone at which the resource was created.
|
||||
format: date-time
|
||||
updated_at:
|
||||
type: string
|
||||
description: The date with timezone at which the resource was updated.
|
||||
format: date-time
|
||||
deleted_at:
|
||||
type: string
|
||||
description: The date with timezone at which the resource was deleted.
|
||||
format: date-time
|
||||
metadata:
|
||||
type: object
|
||||
description: An optional key-value map with additional details
|
||||
example:
|
||||
car: white
|
||||
Reference in New Issue
Block a user