chore(docs): Generated API Reference (v2) (#8053)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
co-authored by
kodiakhq
parent
964f1f9dbe
commit
7fa04aabce
+3
@@ -21,3 +21,6 @@ properties:
|
|||||||
type: number
|
type: number
|
||||||
title: max_quantity
|
title: max_quantity
|
||||||
description: The price's max quantity.
|
description: The price's max quantity.
|
||||||
|
rules:
|
||||||
|
type: object
|
||||||
|
description: The price's rules.
|
||||||
|
|||||||
@@ -93,6 +93,10 @@ properties:
|
|||||||
type: number
|
type: number
|
||||||
title: width
|
title: width
|
||||||
description: The updated's width.
|
description: The updated's width.
|
||||||
|
variant_rank:
|
||||||
|
type: number
|
||||||
|
title: variant_rank
|
||||||
|
description: The updated's variant rank.
|
||||||
options:
|
options:
|
||||||
type: array
|
type: array
|
||||||
description: The updated's options.
|
description: The updated's options.
|
||||||
@@ -104,10 +108,8 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
title: product_id
|
title: product_id
|
||||||
description: The updated's product id.
|
description: The updated's product id.
|
||||||
variant_rank:
|
calculated_price:
|
||||||
type: number
|
$ref: ./BaseCalculatedPriceSet.yaml
|
||||||
title: variant_rank
|
|
||||||
description: The updated's variant rank.
|
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ type: object
|
|||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
x-schemaName: AdminUpdateStore
|
x-schemaName: AdminUpdateStore
|
||||||
required:
|
required:
|
||||||
- name
|
|
||||||
- default_sales_channel_id
|
- default_sales_channel_id
|
||||||
- default_region_id
|
- default_region_id
|
||||||
- default_location_id
|
- default_location_id
|
||||||
@@ -29,6 +28,10 @@ properties:
|
|||||||
type: boolean
|
type: boolean
|
||||||
title: is_default
|
title: is_default
|
||||||
description: The supported currency's is default.
|
description: The supported currency's is default.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The supported currency's is tax inclusive.
|
||||||
default_sales_channel_id:
|
default_sales_channel_id:
|
||||||
type: string
|
type: string
|
||||||
title: default_sales_channel_id
|
title: default_sales_channel_id
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
type: object
|
||||||
|
description: The updated's calculated price.
|
||||||
|
x-schemaName: BaseCalculatedPriceSet
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- calculated_amount
|
||||||
|
- original_amount
|
||||||
|
- currency_code
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
title: id
|
||||||
|
description: The calculated price's ID.
|
||||||
|
is_calculated_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_price_list
|
||||||
|
description: The calculated price's is calculated price price list.
|
||||||
|
is_calculated_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_tax_inclusive
|
||||||
|
description: The calculated price's is calculated price tax inclusive.
|
||||||
|
calculated_amount:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount
|
||||||
|
description: The calculated price's calculated amount.
|
||||||
|
calculated_amount_with_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_with_tax
|
||||||
|
description: The calculated price's calculated amount with tax.
|
||||||
|
calculated_amount_without_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_without_tax
|
||||||
|
description: The calculated price's calculated amount without tax.
|
||||||
|
is_original_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_price_list
|
||||||
|
description: The calculated price's is original price price list.
|
||||||
|
is_original_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_tax_inclusive
|
||||||
|
description: The calculated price's is original price tax inclusive.
|
||||||
|
original_amount:
|
||||||
|
type: number
|
||||||
|
title: original_amount
|
||||||
|
description: The calculated price's original amount.
|
||||||
|
currency_code:
|
||||||
|
type: string
|
||||||
|
title: currency_code
|
||||||
|
description: The calculated price's currency code.
|
||||||
|
calculated_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's details.
|
||||||
|
original_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's original price.
|
||||||
@@ -30405,6 +30405,10 @@ paths:
|
|||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: The region's metadata.
|
description: The region's metadata.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The region's is tax inclusive.
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
label: cURL
|
label: cURL
|
||||||
@@ -30604,6 +30608,10 @@ paths:
|
|||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: The region's metadata.
|
description: The region's metadata.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The region's is tax inclusive.
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
label: cURL
|
label: cURL
|
||||||
@@ -39269,6 +39277,9 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: max_quantity
|
title: max_quantity
|
||||||
description: The price's max quantity.
|
description: The price's max quantity.
|
||||||
|
rules:
|
||||||
|
type: object
|
||||||
|
description: The price's rules.
|
||||||
AdminCreateSalesChannel:
|
AdminCreateSalesChannel:
|
||||||
type: object
|
type: object
|
||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
@@ -40550,6 +40561,10 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: width
|
title: width
|
||||||
description: The updated's width.
|
description: The updated's width.
|
||||||
|
variant_rank:
|
||||||
|
type: number
|
||||||
|
title: variant_rank
|
||||||
|
description: The updated's variant rank.
|
||||||
options:
|
options:
|
||||||
type: array
|
type: array
|
||||||
description: The updated's options.
|
description: The updated's options.
|
||||||
@@ -40561,10 +40576,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
title: product_id
|
title: product_id
|
||||||
description: The updated's product id.
|
description: The updated's product id.
|
||||||
variant_rank:
|
calculated_price:
|
||||||
type: number
|
$ref: '#/components/schemas/BaseCalculatedPriceSet'
|
||||||
title: variant_rank
|
|
||||||
description: The updated's variant rank.
|
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
@@ -41610,7 +41623,6 @@ components:
|
|||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
x-schemaName: AdminUpdateStore
|
x-schemaName: AdminUpdateStore
|
||||||
required:
|
required:
|
||||||
- name
|
|
||||||
- default_sales_channel_id
|
- default_sales_channel_id
|
||||||
- default_region_id
|
- default_region_id
|
||||||
- default_location_id
|
- default_location_id
|
||||||
@@ -41637,6 +41649,10 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
title: is_default
|
title: is_default
|
||||||
description: The supported currency's is default.
|
description: The supported currency's is default.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The supported currency's is tax inclusive.
|
||||||
default_sales_channel_id:
|
default_sales_channel_id:
|
||||||
type: string
|
type: string
|
||||||
title: default_sales_channel_id
|
title: default_sales_channel_id
|
||||||
@@ -41732,6 +41748,62 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: required_quantity
|
title: required_quantity
|
||||||
description: The product's required quantity.
|
description: The product's required quantity.
|
||||||
|
BaseCalculatedPriceSet:
|
||||||
|
type: object
|
||||||
|
description: The updated's calculated price.
|
||||||
|
x-schemaName: BaseCalculatedPriceSet
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- calculated_amount
|
||||||
|
- original_amount
|
||||||
|
- currency_code
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
title: id
|
||||||
|
description: The calculated price's ID.
|
||||||
|
is_calculated_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_price_list
|
||||||
|
description: The calculated price's is calculated price price list.
|
||||||
|
is_calculated_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_tax_inclusive
|
||||||
|
description: The calculated price's is calculated price tax inclusive.
|
||||||
|
calculated_amount:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount
|
||||||
|
description: The calculated price's calculated amount.
|
||||||
|
calculated_amount_with_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_with_tax
|
||||||
|
description: The calculated price's calculated amount with tax.
|
||||||
|
calculated_amount_without_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_without_tax
|
||||||
|
description: The calculated price's calculated amount without tax.
|
||||||
|
is_original_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_price_list
|
||||||
|
description: The calculated price's is original price price list.
|
||||||
|
is_original_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_tax_inclusive
|
||||||
|
description: The calculated price's is original price tax inclusive.
|
||||||
|
original_amount:
|
||||||
|
type: number
|
||||||
|
title: original_amount
|
||||||
|
description: The calculated price's original amount.
|
||||||
|
currency_code:
|
||||||
|
type: string
|
||||||
|
title: currency_code
|
||||||
|
description: The calculated price's currency code.
|
||||||
|
calculated_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's details.
|
||||||
|
original_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's original price.
|
||||||
BaseCollection:
|
BaseCollection:
|
||||||
type: object
|
type: object
|
||||||
description: The product's collection.
|
description: The product's collection.
|
||||||
|
|||||||
@@ -347,6 +347,10 @@ post:
|
|||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: The region's metadata.
|
description: The region's metadata.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The region's is tax inclusive.
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
label: cURL
|
label: cURL
|
||||||
|
|||||||
@@ -200,6 +200,10 @@ post:
|
|||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
description: The region's metadata.
|
description: The region's metadata.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The region's is tax inclusive.
|
||||||
x-codeSamples:
|
x-codeSamples:
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
label: cURL
|
label: cURL
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
curl '{backend_url}/store/products'
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
curl '{backend_url}/store/products/{id}'
|
|
||||||
+3
@@ -21,3 +21,6 @@ properties:
|
|||||||
type: number
|
type: number
|
||||||
title: max_quantity
|
title: max_quantity
|
||||||
description: The price's max quantity.
|
description: The price's max quantity.
|
||||||
|
rules:
|
||||||
|
type: object
|
||||||
|
description: The price's rules.
|
||||||
|
|||||||
@@ -93,6 +93,10 @@ properties:
|
|||||||
type: number
|
type: number
|
||||||
title: width
|
title: width
|
||||||
description: The updated's width.
|
description: The updated's width.
|
||||||
|
variant_rank:
|
||||||
|
type: number
|
||||||
|
title: variant_rank
|
||||||
|
description: The updated's variant rank.
|
||||||
options:
|
options:
|
||||||
type: array
|
type: array
|
||||||
description: The updated's options.
|
description: The updated's options.
|
||||||
@@ -104,10 +108,8 @@ properties:
|
|||||||
type: string
|
type: string
|
||||||
title: product_id
|
title: product_id
|
||||||
description: The updated's product id.
|
description: The updated's product id.
|
||||||
variant_rank:
|
calculated_price:
|
||||||
type: number
|
$ref: ./BaseCalculatedPriceSet.yaml
|
||||||
title: variant_rank
|
|
||||||
description: The updated's variant rank.
|
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ type: object
|
|||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
x-schemaName: AdminUpdateStore
|
x-schemaName: AdminUpdateStore
|
||||||
required:
|
required:
|
||||||
- name
|
|
||||||
- default_sales_channel_id
|
- default_sales_channel_id
|
||||||
- default_region_id
|
- default_region_id
|
||||||
- default_location_id
|
- default_location_id
|
||||||
@@ -29,6 +28,10 @@ properties:
|
|||||||
type: boolean
|
type: boolean
|
||||||
title: is_default
|
title: is_default
|
||||||
description: The supported currency's is default.
|
description: The supported currency's is default.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The supported currency's is tax inclusive.
|
||||||
default_sales_channel_id:
|
default_sales_channel_id:
|
||||||
type: string
|
type: string
|
||||||
title: default_sales_channel_id
|
title: default_sales_channel_id
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
type: object
|
||||||
|
description: The updated's calculated price.
|
||||||
|
x-schemaName: BaseCalculatedPriceSet
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- calculated_amount
|
||||||
|
- original_amount
|
||||||
|
- currency_code
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
title: id
|
||||||
|
description: The calculated price's ID.
|
||||||
|
is_calculated_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_price_list
|
||||||
|
description: The calculated price's is calculated price price list.
|
||||||
|
is_calculated_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_tax_inclusive
|
||||||
|
description: The calculated price's is calculated price tax inclusive.
|
||||||
|
calculated_amount:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount
|
||||||
|
description: The calculated price's calculated amount.
|
||||||
|
calculated_amount_with_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_with_tax
|
||||||
|
description: The calculated price's calculated amount with tax.
|
||||||
|
calculated_amount_without_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_without_tax
|
||||||
|
description: The calculated price's calculated amount without tax.
|
||||||
|
is_original_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_price_list
|
||||||
|
description: The calculated price's is original price price list.
|
||||||
|
is_original_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_tax_inclusive
|
||||||
|
description: The calculated price's is original price tax inclusive.
|
||||||
|
original_amount:
|
||||||
|
type: number
|
||||||
|
title: original_amount
|
||||||
|
description: The calculated price's original amount.
|
||||||
|
currency_code:
|
||||||
|
type: string
|
||||||
|
title: currency_code
|
||||||
|
description: The calculated price's currency code.
|
||||||
|
calculated_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's details.
|
||||||
|
original_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's original price.
|
||||||
@@ -27,9 +27,6 @@ tags:
|
|||||||
- name: Product Categories
|
- name: Product Categories
|
||||||
x-associatedSchema:
|
x-associatedSchema:
|
||||||
$ref: '#/components/schemas/StoreProductCategory'
|
$ref: '#/components/schemas/StoreProductCategory'
|
||||||
- name: Products
|
|
||||||
x-associatedSchema:
|
|
||||||
$ref: '#/components/schemas/StoreProduct'
|
|
||||||
- name: Regions
|
- name: Regions
|
||||||
description: |
|
description: |
|
||||||
Regions are different countries or geographical regions that the commerce store serves customers in.
|
Regions are different countries or geographical regions that the commerce store serves customers in.
|
||||||
@@ -2991,662 +2988,6 @@ paths:
|
|||||||
$ref: '#/components/responses/invalid_request_error'
|
$ref: '#/components/responses/invalid_request_error'
|
||||||
'500':
|
'500':
|
||||||
$ref: '#/components/responses/500_error'
|
$ref: '#/components/responses/500_error'
|
||||||
/store/products:
|
|
||||||
get:
|
|
||||||
operationId: GetProducts
|
|
||||||
summary: List Products
|
|
||||||
description: Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated.
|
|
||||||
x-authenticated: false
|
|
||||||
parameters:
|
|
||||||
- name: expand
|
|
||||||
in: query
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: expand
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
- name: fields
|
|
||||||
in: query
|
|
||||||
description: Comma-separated fields that should be included in the returned data. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. without prefix it will replace the entire default fields.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: fields
|
|
||||||
description: Comma-separated fields that should be included in the returned data. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. without prefix it will replace the entire default fields.
|
|
||||||
- name: offset
|
|
||||||
in: query
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: offset
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
- name: limit
|
|
||||||
in: query
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: limit
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
- name: order
|
|
||||||
in: query
|
|
||||||
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 `-`.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: 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 `-`.
|
|
||||||
- name: currency_code
|
|
||||||
in: query
|
|
||||||
description: The product's currency code.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: currency_code
|
|
||||||
description: The product's currency code.
|
|
||||||
- name: region_id
|
|
||||||
in: query
|
|
||||||
description: The product's region id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: region_id
|
|
||||||
description: The product's region id.
|
|
||||||
- name: $and
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: $or
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: variants
|
|
||||||
in: query
|
|
||||||
description: The product's variants.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's variants.
|
|
||||||
properties:
|
|
||||||
status:
|
|
||||||
type: array
|
|
||||||
description: The variant's status.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- draft
|
|
||||||
- proposed
|
|
||||||
- published
|
|
||||||
- rejected
|
|
||||||
options:
|
|
||||||
type: object
|
|
||||||
description: The variant's options.
|
|
||||||
required:
|
|
||||||
- value
|
|
||||||
- option_id
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
title: value
|
|
||||||
description: The option's value.
|
|
||||||
option_id:
|
|
||||||
type: string
|
|
||||||
title: option_id
|
|
||||||
description: The option's option id.
|
|
||||||
$and: {}
|
|
||||||
$or: {}
|
|
||||||
- name: q
|
|
||||||
in: query
|
|
||||||
description: The product's q.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: q
|
|
||||||
description: The product's q.
|
|
||||||
- name: id
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
oneOf:
|
|
||||||
- type: string
|
|
||||||
title: id
|
|
||||||
description: The product's ID.
|
|
||||||
- type: array
|
|
||||||
description: The product's ID.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: id
|
|
||||||
description: The id's ID.
|
|
||||||
- name: title
|
|
||||||
in: query
|
|
||||||
description: The product's title.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: title
|
|
||||||
description: The product's title.
|
|
||||||
- name: handle
|
|
||||||
in: query
|
|
||||||
description: The product's handle.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: handle
|
|
||||||
description: The product's handle.
|
|
||||||
- name: is_giftcard
|
|
||||||
in: query
|
|
||||||
description: The product's is giftcard.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
title: is_giftcard
|
|
||||||
description: The product's is giftcard.
|
|
||||||
- name: category_id
|
|
||||||
in: query
|
|
||||||
description: The product's category id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's category id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: category_id
|
|
||||||
description: The category id's details.
|
|
||||||
- name: sales_channel_id
|
|
||||||
in: query
|
|
||||||
description: The product's sales channel id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's sales channel id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: sales_channel_id
|
|
||||||
description: The sales channel id's details.
|
|
||||||
- name: collection_id
|
|
||||||
in: query
|
|
||||||
description: The product's collection id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's collection id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: collection_id
|
|
||||||
description: The collection id's details.
|
|
||||||
- name: tags
|
|
||||||
in: query
|
|
||||||
description: The product's tags.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's tags.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: tags
|
|
||||||
description: The tag's tags.
|
|
||||||
- name: type_id
|
|
||||||
in: query
|
|
||||||
description: The product's type id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's type id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: type_id
|
|
||||||
description: The type id's details.
|
|
||||||
- name: created_at
|
|
||||||
in: query
|
|
||||||
description: The product's created at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's created at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: updated_at
|
|
||||||
in: query
|
|
||||||
description: The product's updated at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's updated at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: deleted_at
|
|
||||||
in: query
|
|
||||||
description: The product's deleted at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's deleted at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: Shell
|
|
||||||
label: cURL
|
|
||||||
source: curl '{backend_url}/store/products'
|
|
||||||
tags:
|
|
||||||
- Products
|
|
||||||
responses:
|
|
||||||
'400':
|
|
||||||
$ref: '#/components/responses/400_error'
|
|
||||||
'401':
|
|
||||||
$ref: '#/components/responses/unauthorized'
|
|
||||||
'404':
|
|
||||||
$ref: '#/components/responses/not_found_error'
|
|
||||||
'409':
|
|
||||||
$ref: '#/components/responses/invalid_state_error'
|
|
||||||
'422':
|
|
||||||
$ref: '#/components/responses/invalid_request_error'
|
|
||||||
'500':
|
|
||||||
$ref: '#/components/responses/500_error'
|
|
||||||
/store/products/{id}:
|
|
||||||
get:
|
|
||||||
operationId: GetProductsId
|
|
||||||
summary: Get a Product
|
|
||||||
description: Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned.
|
|
||||||
x-authenticated: false
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
description: The product's ID.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
- name: expand
|
|
||||||
in: query
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: expand
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
- name: fields
|
|
||||||
in: query
|
|
||||||
description: Comma-separated fields that should be included in the returned data. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. without prefix it will replace the entire default fields.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: fields
|
|
||||||
description: Comma-separated fields that should be included in the returned data. if a field is prefixed with `+` it will be added to the default fields, using `-` will remove it from the default fields. without prefix it will replace the entire default fields.
|
|
||||||
- name: offset
|
|
||||||
in: query
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: offset
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
- name: limit
|
|
||||||
in: query
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: limit
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
- name: order
|
|
||||||
in: query
|
|
||||||
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 `-`.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: 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 `-`.
|
|
||||||
- name: currency_code
|
|
||||||
in: query
|
|
||||||
description: The product's currency code.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: currency_code
|
|
||||||
description: The product's currency code.
|
|
||||||
- name: region_id
|
|
||||||
in: query
|
|
||||||
description: The product's region id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: region_id
|
|
||||||
description: The product's region id.
|
|
||||||
- name: $and
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: $or
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: variants
|
|
||||||
in: query
|
|
||||||
description: The product's variants.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's variants.
|
|
||||||
properties:
|
|
||||||
status:
|
|
||||||
type: array
|
|
||||||
description: The variant's status.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- draft
|
|
||||||
- proposed
|
|
||||||
- published
|
|
||||||
- rejected
|
|
||||||
options:
|
|
||||||
type: object
|
|
||||||
description: The variant's options.
|
|
||||||
required:
|
|
||||||
- value
|
|
||||||
- option_id
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
title: value
|
|
||||||
description: The option's value.
|
|
||||||
option_id:
|
|
||||||
type: string
|
|
||||||
title: option_id
|
|
||||||
description: The option's option id.
|
|
||||||
$and: {}
|
|
||||||
$or: {}
|
|
||||||
- name: q
|
|
||||||
in: query
|
|
||||||
description: The product's q.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: q
|
|
||||||
description: The product's q.
|
|
||||||
- name: id
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
oneOf:
|
|
||||||
- type: string
|
|
||||||
title: id
|
|
||||||
description: The product's ID.
|
|
||||||
- type: array
|
|
||||||
description: The product's ID.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: id
|
|
||||||
description: The id's ID.
|
|
||||||
- name: title
|
|
||||||
in: query
|
|
||||||
description: The product's title.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: title
|
|
||||||
description: The product's title.
|
|
||||||
- name: handle
|
|
||||||
in: query
|
|
||||||
description: The product's handle.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: handle
|
|
||||||
description: The product's handle.
|
|
||||||
- name: is_giftcard
|
|
||||||
in: query
|
|
||||||
description: The product's is giftcard.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
title: is_giftcard
|
|
||||||
description: The product's is giftcard.
|
|
||||||
- name: category_id
|
|
||||||
in: query
|
|
||||||
description: The product's category id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's category id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: category_id
|
|
||||||
description: The category id's details.
|
|
||||||
- name: sales_channel_id
|
|
||||||
in: query
|
|
||||||
description: The product's sales channel id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's sales channel id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: sales_channel_id
|
|
||||||
description: The sales channel id's details.
|
|
||||||
- name: collection_id
|
|
||||||
in: query
|
|
||||||
description: The product's collection id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's collection id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: collection_id
|
|
||||||
description: The collection id's details.
|
|
||||||
- name: tags
|
|
||||||
in: query
|
|
||||||
description: The product's tags.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's tags.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: tags
|
|
||||||
description: The tag's tags.
|
|
||||||
- name: type_id
|
|
||||||
in: query
|
|
||||||
description: The product's type id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's type id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: type_id
|
|
||||||
description: The type id's details.
|
|
||||||
- name: created_at
|
|
||||||
in: query
|
|
||||||
description: The product's created at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's created at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: updated_at
|
|
||||||
in: query
|
|
||||||
description: The product's updated at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's updated at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: deleted_at
|
|
||||||
in: query
|
|
||||||
description: The product's deleted at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's deleted at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: Shell
|
|
||||||
label: cURL
|
|
||||||
source: curl '{backend_url}/store/products/{id}'
|
|
||||||
tags:
|
|
||||||
- Products
|
|
||||||
responses:
|
|
||||||
'400':
|
|
||||||
$ref: '#/components/responses/400_error'
|
|
||||||
'401':
|
|
||||||
$ref: '#/components/responses/unauthorized'
|
|
||||||
'404':
|
|
||||||
$ref: '#/components/responses/not_found_error'
|
|
||||||
'409':
|
|
||||||
$ref: '#/components/responses/invalid_state_error'
|
|
||||||
'422':
|
|
||||||
$ref: '#/components/responses/invalid_request_error'
|
|
||||||
'500':
|
|
||||||
$ref: '#/components/responses/500_error'
|
|
||||||
/store/regions:
|
/store/regions:
|
||||||
get:
|
get:
|
||||||
operationId: GetRegions
|
operationId: GetRegions
|
||||||
@@ -5155,6 +4496,9 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: max_quantity
|
title: max_quantity
|
||||||
description: The price's max quantity.
|
description: The price's max quantity.
|
||||||
|
rules:
|
||||||
|
type: object
|
||||||
|
description: The price's rules.
|
||||||
AdminCreateSalesChannel:
|
AdminCreateSalesChannel:
|
||||||
type: object
|
type: object
|
||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
@@ -6436,6 +5780,10 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: width
|
title: width
|
||||||
description: The updated's width.
|
description: The updated's width.
|
||||||
|
variant_rank:
|
||||||
|
type: number
|
||||||
|
title: variant_rank
|
||||||
|
description: The updated's variant rank.
|
||||||
options:
|
options:
|
||||||
type: array
|
type: array
|
||||||
description: The updated's options.
|
description: The updated's options.
|
||||||
@@ -6447,10 +5795,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
title: product_id
|
title: product_id
|
||||||
description: The updated's product id.
|
description: The updated's product id.
|
||||||
variant_rank:
|
calculated_price:
|
||||||
type: number
|
$ref: '#/components/schemas/BaseCalculatedPriceSet'
|
||||||
title: variant_rank
|
|
||||||
description: The updated's variant rank.
|
|
||||||
created_at:
|
created_at:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
@@ -7496,7 +6842,6 @@ components:
|
|||||||
description: SUMMARY
|
description: SUMMARY
|
||||||
x-schemaName: AdminUpdateStore
|
x-schemaName: AdminUpdateStore
|
||||||
required:
|
required:
|
||||||
- name
|
|
||||||
- default_sales_channel_id
|
- default_sales_channel_id
|
||||||
- default_region_id
|
- default_region_id
|
||||||
- default_location_id
|
- default_location_id
|
||||||
@@ -7523,6 +6868,10 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
title: is_default
|
title: is_default
|
||||||
description: The supported currency's is default.
|
description: The supported currency's is default.
|
||||||
|
is_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_tax_inclusive
|
||||||
|
description: The supported currency's is tax inclusive.
|
||||||
default_sales_channel_id:
|
default_sales_channel_id:
|
||||||
type: string
|
type: string
|
||||||
title: default_sales_channel_id
|
title: default_sales_channel_id
|
||||||
@@ -7618,6 +6967,62 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
title: required_quantity
|
title: required_quantity
|
||||||
description: The product's required quantity.
|
description: The product's required quantity.
|
||||||
|
BaseCalculatedPriceSet:
|
||||||
|
type: object
|
||||||
|
description: The updated's calculated price.
|
||||||
|
x-schemaName: BaseCalculatedPriceSet
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- calculated_amount
|
||||||
|
- original_amount
|
||||||
|
- currency_code
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
title: id
|
||||||
|
description: The calculated price's ID.
|
||||||
|
is_calculated_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_price_list
|
||||||
|
description: The calculated price's is calculated price price list.
|
||||||
|
is_calculated_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_calculated_price_tax_inclusive
|
||||||
|
description: The calculated price's is calculated price tax inclusive.
|
||||||
|
calculated_amount:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount
|
||||||
|
description: The calculated price's calculated amount.
|
||||||
|
calculated_amount_with_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_with_tax
|
||||||
|
description: The calculated price's calculated amount with tax.
|
||||||
|
calculated_amount_without_tax:
|
||||||
|
type: number
|
||||||
|
title: calculated_amount_without_tax
|
||||||
|
description: The calculated price's calculated amount without tax.
|
||||||
|
is_original_price_price_list:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_price_list
|
||||||
|
description: The calculated price's is original price price list.
|
||||||
|
is_original_price_tax_inclusive:
|
||||||
|
type: boolean
|
||||||
|
title: is_original_price_tax_inclusive
|
||||||
|
description: The calculated price's is original price tax inclusive.
|
||||||
|
original_amount:
|
||||||
|
type: number
|
||||||
|
title: original_amount
|
||||||
|
description: The calculated price's original amount.
|
||||||
|
currency_code:
|
||||||
|
type: string
|
||||||
|
title: currency_code
|
||||||
|
description: The calculated price's currency code.
|
||||||
|
calculated_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's details.
|
||||||
|
original_price:
|
||||||
|
type: object
|
||||||
|
description: The calculated price's original price.
|
||||||
BaseCollection:
|
BaseCollection:
|
||||||
type: object
|
type: object
|
||||||
description: The product's collection.
|
description: The product's collection.
|
||||||
|
|||||||
@@ -31,9 +31,6 @@ tags:
|
|||||||
- name: Product Categories
|
- name: Product Categories
|
||||||
x-associatedSchema:
|
x-associatedSchema:
|
||||||
$ref: ./components/schemas/StoreProductCategory.yaml
|
$ref: ./components/schemas/StoreProductCategory.yaml
|
||||||
- name: Products
|
|
||||||
x-associatedSchema:
|
|
||||||
$ref: ./components/schemas/StoreProduct.yaml
|
|
||||||
- name: Regions
|
- name: Regions
|
||||||
description: >
|
description: >
|
||||||
Regions are different countries or geographical regions that the commerce
|
Regions are different countries or geographical regions that the commerce
|
||||||
@@ -95,10 +92,6 @@ paths:
|
|||||||
$ref: paths/store_product-categories.yaml
|
$ref: paths/store_product-categories.yaml
|
||||||
/store/product-categories/{id}:
|
/store/product-categories/{id}:
|
||||||
$ref: paths/store_product-categories_{id}.yaml
|
$ref: paths/store_product-categories_{id}.yaml
|
||||||
/store/products:
|
|
||||||
$ref: paths/store_products.yaml
|
|
||||||
/store/products/{id}:
|
|
||||||
$ref: paths/store_products_{id}.yaml
|
|
||||||
/store/regions:
|
/store/regions:
|
||||||
$ref: paths/store_regions.yaml
|
$ref: paths/store_regions.yaml
|
||||||
/store/regions/{id}:
|
/store/regions/{id}:
|
||||||
|
|||||||
@@ -1,342 +0,0 @@
|
|||||||
get:
|
|
||||||
operationId: GetProducts
|
|
||||||
summary: List Products
|
|
||||||
description: >-
|
|
||||||
Retrieve a list of products. The products can be filtered by fields such as
|
|
||||||
`id`. The products can also be sorted or paginated.
|
|
||||||
x-authenticated: false
|
|
||||||
parameters:
|
|
||||||
- name: expand
|
|
||||||
in: query
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: expand
|
|
||||||
description: >-
|
|
||||||
Comma-separated relations that should be expanded in the returned
|
|
||||||
data.
|
|
||||||
- name: fields
|
|
||||||
in: query
|
|
||||||
description: >-
|
|
||||||
Comma-separated fields that should be included in the returned data. if
|
|
||||||
a field is prefixed with `+` it will be added to the default fields,
|
|
||||||
using `-` will remove it from the default fields. without prefix it will
|
|
||||||
replace the entire default fields.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: fields
|
|
||||||
description: >-
|
|
||||||
Comma-separated fields that should be included in the returned data.
|
|
||||||
if a field is prefixed with `+` it will be added to the default
|
|
||||||
fields, using `-` will remove it from the default fields. without
|
|
||||||
prefix it will replace the entire default fields.
|
|
||||||
- name: offset
|
|
||||||
in: query
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: offset
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
- name: limit
|
|
||||||
in: query
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: limit
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
- name: order
|
|
||||||
in: query
|
|
||||||
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 `-`.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: 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 `-`.
|
|
||||||
- name: currency_code
|
|
||||||
in: query
|
|
||||||
description: The product's currency code.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: currency_code
|
|
||||||
description: The product's currency code.
|
|
||||||
- name: region_id
|
|
||||||
in: query
|
|
||||||
description: The product's region id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: region_id
|
|
||||||
description: The product's region id.
|
|
||||||
- name: $and
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: $or
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: variants
|
|
||||||
in: query
|
|
||||||
description: The product's variants.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's variants.
|
|
||||||
properties:
|
|
||||||
status:
|
|
||||||
type: array
|
|
||||||
description: The variant's status.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- draft
|
|
||||||
- proposed
|
|
||||||
- published
|
|
||||||
- rejected
|
|
||||||
options:
|
|
||||||
type: object
|
|
||||||
description: The variant's options.
|
|
||||||
required:
|
|
||||||
- value
|
|
||||||
- option_id
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
title: value
|
|
||||||
description: The option's value.
|
|
||||||
option_id:
|
|
||||||
type: string
|
|
||||||
title: option_id
|
|
||||||
description: The option's option id.
|
|
||||||
$and: {}
|
|
||||||
$or: {}
|
|
||||||
- name: q
|
|
||||||
in: query
|
|
||||||
description: The product's q.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: q
|
|
||||||
description: The product's q.
|
|
||||||
- name: id
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
oneOf:
|
|
||||||
- type: string
|
|
||||||
title: id
|
|
||||||
description: The product's ID.
|
|
||||||
- type: array
|
|
||||||
description: The product's ID.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: id
|
|
||||||
description: The id's ID.
|
|
||||||
- name: title
|
|
||||||
in: query
|
|
||||||
description: The product's title.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: title
|
|
||||||
description: The product's title.
|
|
||||||
- name: handle
|
|
||||||
in: query
|
|
||||||
description: The product's handle.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: handle
|
|
||||||
description: The product's handle.
|
|
||||||
- name: is_giftcard
|
|
||||||
in: query
|
|
||||||
description: The product's is giftcard.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
title: is_giftcard
|
|
||||||
description: The product's is giftcard.
|
|
||||||
- name: category_id
|
|
||||||
in: query
|
|
||||||
description: The product's category id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's category id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: category_id
|
|
||||||
description: The category id's details.
|
|
||||||
- name: sales_channel_id
|
|
||||||
in: query
|
|
||||||
description: The product's sales channel id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's sales channel id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: sales_channel_id
|
|
||||||
description: The sales channel id's details.
|
|
||||||
- name: collection_id
|
|
||||||
in: query
|
|
||||||
description: The product's collection id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's collection id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: collection_id
|
|
||||||
description: The collection id's details.
|
|
||||||
- name: tags
|
|
||||||
in: query
|
|
||||||
description: The product's tags.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's tags.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: tags
|
|
||||||
description: The tag's tags.
|
|
||||||
- name: type_id
|
|
||||||
in: query
|
|
||||||
description: The product's type id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's type id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: type_id
|
|
||||||
description: The type id's details.
|
|
||||||
- name: created_at
|
|
||||||
in: query
|
|
||||||
description: The product's created at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's created at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: updated_at
|
|
||||||
in: query
|
|
||||||
description: The product's updated at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's updated at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: deleted_at
|
|
||||||
in: query
|
|
||||||
description: The product's deleted at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's deleted at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: Shell
|
|
||||||
label: cURL
|
|
||||||
source:
|
|
||||||
$ref: ../code_samples/Shell/store_products/get.sh
|
|
||||||
tags:
|
|
||||||
- Products
|
|
||||||
responses:
|
|
||||||
'400':
|
|
||||||
$ref: ../components/responses/400_error.yaml
|
|
||||||
'401':
|
|
||||||
$ref: ../components/responses/unauthorized.yaml
|
|
||||||
'404':
|
|
||||||
$ref: ../components/responses/not_found_error.yaml
|
|
||||||
'409':
|
|
||||||
$ref: ../components/responses/invalid_state_error.yaml
|
|
||||||
'422':
|
|
||||||
$ref: ../components/responses/invalid_request_error.yaml
|
|
||||||
'500':
|
|
||||||
$ref: ../components/responses/500_error.yaml
|
|
||||||
@@ -1,348 +0,0 @@
|
|||||||
get:
|
|
||||||
operationId: GetProductsId
|
|
||||||
summary: Get a Product
|
|
||||||
description: >-
|
|
||||||
Retrieve a product by its ID. You can expand the product's relations or
|
|
||||||
select the fields that should be returned.
|
|
||||||
x-authenticated: false
|
|
||||||
parameters:
|
|
||||||
- name: id
|
|
||||||
in: path
|
|
||||||
description: The product's ID.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
- name: expand
|
|
||||||
in: query
|
|
||||||
description: Comma-separated relations that should be expanded in the returned data.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: expand
|
|
||||||
description: >-
|
|
||||||
Comma-separated relations that should be expanded in the returned
|
|
||||||
data.
|
|
||||||
- name: fields
|
|
||||||
in: query
|
|
||||||
description: >-
|
|
||||||
Comma-separated fields that should be included in the returned data. if
|
|
||||||
a field is prefixed with `+` it will be added to the default fields,
|
|
||||||
using `-` will remove it from the default fields. without prefix it will
|
|
||||||
replace the entire default fields.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: fields
|
|
||||||
description: >-
|
|
||||||
Comma-separated fields that should be included in the returned data.
|
|
||||||
if a field is prefixed with `+` it will be added to the default
|
|
||||||
fields, using `-` will remove it from the default fields. without
|
|
||||||
prefix it will replace the entire default fields.
|
|
||||||
- name: offset
|
|
||||||
in: query
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: offset
|
|
||||||
description: The number of items to skip when retrieving a list.
|
|
||||||
- name: limit
|
|
||||||
in: query
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: number
|
|
||||||
title: limit
|
|
||||||
description: Limit the number of items returned in the list.
|
|
||||||
- name: order
|
|
||||||
in: query
|
|
||||||
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 `-`.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: 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 `-`.
|
|
||||||
- name: currency_code
|
|
||||||
in: query
|
|
||||||
description: The product's currency code.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: currency_code
|
|
||||||
description: The product's currency code.
|
|
||||||
- name: region_id
|
|
||||||
in: query
|
|
||||||
description: The product's region id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: region_id
|
|
||||||
description: The product's region id.
|
|
||||||
- name: $and
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: $or
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema: {}
|
|
||||||
- name: variants
|
|
||||||
in: query
|
|
||||||
description: The product's variants.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's variants.
|
|
||||||
properties:
|
|
||||||
status:
|
|
||||||
type: array
|
|
||||||
description: The variant's status.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- draft
|
|
||||||
- proposed
|
|
||||||
- published
|
|
||||||
- rejected
|
|
||||||
options:
|
|
||||||
type: object
|
|
||||||
description: The variant's options.
|
|
||||||
required:
|
|
||||||
- value
|
|
||||||
- option_id
|
|
||||||
properties:
|
|
||||||
value:
|
|
||||||
type: string
|
|
||||||
title: value
|
|
||||||
description: The option's value.
|
|
||||||
option_id:
|
|
||||||
type: string
|
|
||||||
title: option_id
|
|
||||||
description: The option's option id.
|
|
||||||
$and: {}
|
|
||||||
$or: {}
|
|
||||||
- name: q
|
|
||||||
in: query
|
|
||||||
description: The product's q.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: q
|
|
||||||
description: The product's q.
|
|
||||||
- name: id
|
|
||||||
in: query
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
oneOf:
|
|
||||||
- type: string
|
|
||||||
title: id
|
|
||||||
description: The product's ID.
|
|
||||||
- type: array
|
|
||||||
description: The product's ID.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: id
|
|
||||||
description: The id's ID.
|
|
||||||
- name: title
|
|
||||||
in: query
|
|
||||||
description: The product's title.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: title
|
|
||||||
description: The product's title.
|
|
||||||
- name: handle
|
|
||||||
in: query
|
|
||||||
description: The product's handle.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
title: handle
|
|
||||||
description: The product's handle.
|
|
||||||
- name: is_giftcard
|
|
||||||
in: query
|
|
||||||
description: The product's is giftcard.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
title: is_giftcard
|
|
||||||
description: The product's is giftcard.
|
|
||||||
- name: category_id
|
|
||||||
in: query
|
|
||||||
description: The product's category id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's category id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: category_id
|
|
||||||
description: The category id's details.
|
|
||||||
- name: sales_channel_id
|
|
||||||
in: query
|
|
||||||
description: The product's sales channel id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's sales channel id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: sales_channel_id
|
|
||||||
description: The sales channel id's details.
|
|
||||||
- name: collection_id
|
|
||||||
in: query
|
|
||||||
description: The product's collection id.
|
|
||||||
required: true
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's collection id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: collection_id
|
|
||||||
description: The collection id's details.
|
|
||||||
- name: tags
|
|
||||||
in: query
|
|
||||||
description: The product's tags.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's tags.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: tags
|
|
||||||
description: The tag's tags.
|
|
||||||
- name: type_id
|
|
||||||
in: query
|
|
||||||
description: The product's type id.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: array
|
|
||||||
description: The product's type id.
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
title: type_id
|
|
||||||
description: The type id's details.
|
|
||||||
- name: created_at
|
|
||||||
in: query
|
|
||||||
description: The product's created at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's created at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: updated_at
|
|
||||||
in: query
|
|
||||||
description: The product's updated at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's updated at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
- name: deleted_at
|
|
||||||
in: query
|
|
||||||
description: The product's deleted at.
|
|
||||||
required: false
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
description: The product's deleted at.
|
|
||||||
required:
|
|
||||||
- $eq
|
|
||||||
- $ne
|
|
||||||
- $in
|
|
||||||
- $nin
|
|
||||||
- $like
|
|
||||||
- $ilike
|
|
||||||
- $re
|
|
||||||
- $contains
|
|
||||||
- $gt
|
|
||||||
- $gte
|
|
||||||
- $lt
|
|
||||||
- $lte
|
|
||||||
properties:
|
|
||||||
$eq: {}
|
|
||||||
$ne: {}
|
|
||||||
$in: {}
|
|
||||||
$nin: {}
|
|
||||||
$like: {}
|
|
||||||
$ilike: {}
|
|
||||||
$re: {}
|
|
||||||
$contains: {}
|
|
||||||
$gt: {}
|
|
||||||
$gte: {}
|
|
||||||
$lt: {}
|
|
||||||
$lte: {}
|
|
||||||
x-codeSamples:
|
|
||||||
- lang: Shell
|
|
||||||
label: cURL
|
|
||||||
source:
|
|
||||||
$ref: ../code_samples/Shell/store_products_{id}/get.sh
|
|
||||||
tags:
|
|
||||||
- Products
|
|
||||||
responses:
|
|
||||||
'400':
|
|
||||||
$ref: ../components/responses/400_error.yaml
|
|
||||||
'401':
|
|
||||||
$ref: ../components/responses/unauthorized.yaml
|
|
||||||
'404':
|
|
||||||
$ref: ../components/responses/not_found_error.yaml
|
|
||||||
'409':
|
|
||||||
$ref: ../components/responses/invalid_state_error.yaml
|
|
||||||
'422':
|
|
||||||
$ref: ../components/responses/invalid_request_error.yaml
|
|
||||||
'500':
|
|
||||||
$ref: ../components/responses/500_error.yaml
|
|
||||||
Reference in New Issue
Block a user