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:
co-authored by
Oli Juhl
Shahed Nasser
parent
9d466717f4
commit
85e5478873
@@ -17037,6 +17037,28 @@ paths:
|
|||||||
description: Filter product variants by whether they are allowed to be backordered or not.
|
description: Filter product variants by whether they are allowed to be backordered or not.
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
- in: query
|
||||||
|
name: inventory_quantity
|
||||||
|
description: Filter by available inventory quantity
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- type: number
|
||||||
|
description: a specific number to filter by.
|
||||||
|
- type: object
|
||||||
|
description: filter using less and greater than comparisons.
|
||||||
|
properties:
|
||||||
|
lt:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity less than this number
|
||||||
|
gt:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity greater than this number
|
||||||
|
lte:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity less than or equal to this number
|
||||||
|
gte:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity greater than or equal to this number
|
||||||
- in: query
|
- in: query
|
||||||
name: created_at
|
name: created_at
|
||||||
description: Filter by a creation date range.
|
description: Filter by a creation date range.
|
||||||
@@ -26497,6 +26519,21 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: number
|
type: number
|
||||||
default: '100'
|
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
|
- in: query
|
||||||
name: cart_id
|
name: cart_id
|
||||||
style: form
|
style: form
|
||||||
|
|||||||
@@ -69,6 +69,30 @@ get:
|
|||||||
not.
|
not.
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
- in: query
|
||||||
|
name: inventory_quantity
|
||||||
|
description: Filter by available inventory quantity
|
||||||
|
schema:
|
||||||
|
oneOf:
|
||||||
|
- type: number
|
||||||
|
description: a specific number to filter by.
|
||||||
|
- type: object
|
||||||
|
description: filter using less and greater than comparisons.
|
||||||
|
properties:
|
||||||
|
lt:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity less than this number
|
||||||
|
gt:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity greater than this number
|
||||||
|
lte:
|
||||||
|
type: number
|
||||||
|
description: filter by inventory quantity less than or equal to this number
|
||||||
|
gte:
|
||||||
|
type: number
|
||||||
|
description: >-
|
||||||
|
filter by inventory quantity greater than or equal to this
|
||||||
|
number
|
||||||
- in: query
|
- in: query
|
||||||
name: created_at
|
name: created_at
|
||||||
description: Filter by a creation date range.
|
description: Filter by a creation date range.
|
||||||
|
|||||||
@@ -47,6 +47,25 @@ get:
|
|||||||
schema:
|
schema:
|
||||||
type: number
|
type: number
|
||||||
default: '100'
|
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
|
- in: query
|
||||||
name: cart_id
|
name: cart_id
|
||||||
style: form
|
style: form
|
||||||
|
|||||||
Reference in New Issue
Block a user