Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions headless-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,13 @@ paths:
operationId: getCategory
summary: Get specific category
parameters:
- $ref: "#/components/parameters/basketIdent"
- in: path
name: categoryId
required: true
schema:
type: string
example: 127244343
description: The ID or slug of the category to fetch.
description: |-
Gets information about a category and returns the packages in that category.
responses:
Expand Down Expand Up @@ -695,6 +701,13 @@ paths:
summary: Update package quantity
parameters:
- $ref: "#/components/parameters/basketIdent"
- in: path
name: packageId
schema:
type: string
example: 1272441812
required: true
description: The package's ID or slug.
description: |-
Sets the quantity of the given item in the basket. The user must be logged in before the quantity can be changed.
requestBody:
Expand Down Expand Up @@ -753,14 +766,6 @@ paths:
- Headless
operationId: getSidebar
summary: Retrieves the available sidebar modules.
parameters:
- in: path
name: token
required: true
schema:
type: string
example: some-uuid
description: The webstore identifier.
description: |-
Retrieves the available sidebar modules configured for the store.
responses:
Expand Down