chore(docs): Updated API Reference (automated) (#12461)

Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-05-13 13:43:58 +00:00
committed by GitHub
parent 5c36bafc1d
commit c6c660c4d3
135 changed files with 2202 additions and 545 deletions

View File

@@ -1008,7 +1008,33 @@ post:
content:
application/json:
schema:
$ref: ../components/schemas/AdminCreateCollection.yaml
allOf:
- type: object
description: The collection's details.
required:
- title
properties:
title:
type: string
title: title
description: The collection's title.
handle:
type: string
title: handle
description: The collection's handle.
metadata:
type: object
description: The collection's metadata. Can hold custom key-value pairs.
- type: object
description: The collection's details.
properties:
additional_data:
type: object
description: >-
Pass additional custom data to the API route. This data is
passed to the underlying workflow under the
`additional_data` parameter.
description: the product collection's details.
x-codeSamples:
- lang: JavaScript
label: JS SDK