chore(docs): Updated API Reference (#6831)

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]
2024-04-02 09:47:04 +00:00
committed by GitHub
parent 9d466717f4
commit 85e5478873
3 changed files with 80 additions and 0 deletions

View File

@@ -47,6 +47,25 @@ get:
schema:
type: number
default: '100'
- in: query
name: order
description: >-
The field to sort the data by. By default, the sort order is ascending.
To change the order to descending, prefix the field name with `-`.
schema:
type: string
- in: query
name: manage_inventory
description: Filter product variants by whether their inventory is managed or not.
schema:
type: boolean
- in: query
name: allow_backorder
description: >-
Filter product variants by whether they are allowed to be backordered or
not.
schema:
type: boolean
- in: query
name: cart_id
style: form