chore(docs): Generated API Reference (#2882)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-12-22 17:09:49 +02:00
committed by GitHub
co-authored by olivermrbl
parent 233d6904f8
commit 4814045036
477 changed files with 17312 additions and 17713 deletions
@@ -31,49 +31,7 @@ post:
content:
application/json:
schema:
type: object
required:
- operator
properties:
operator:
description: Operator of the condition
type: string
enum:
- in
- not_in
products:
type: array
description: list of product IDs if the condition is applied on products.
items:
type: string
product_types:
type: array
description: >-
list of product type IDs if the condition is applied on product
types.
items:
type: string
product_collections:
type: array
description: >-
list of product collection IDs if the condition is applied on
product collections.
items:
type: string
product_tags:
type: array
description: >-
list of product tag IDs if the condition is applied on product
tags.
items:
type: string
customer_groups:
type: array
description: >-
list of customer group IDs if the condition is applied on
customer groups.
items:
type: string
$ref: ../components/schemas/AdminPostDiscountsDiscountConditions.yaml
x-codeSamples:
- lang: JavaScript
label: JS Client
@@ -98,7 +56,7 @@ post:
type: object
properties:
discount:
$ref: ../components/schemas/discount.yaml
$ref: ../components/schemas/Discount.yaml
'400':
$ref: ../components/responses/400_error.yaml
'401':