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

Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-10-09 13:24:39 +03:00
committed by GitHub
parent 4ada22d656
commit c135730838
5 changed files with 80 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
delete:
operationId: DeletePriceListsPriceListProductsPricesBatch
summary: Delete Product Prices
description: Delete all the prices associated with multiple products in a price list.
x-authenticated: true
parameters:
- in: path
name: id
required: true
description: The ID of the Price List
schema:
type: string
x-codegen:
method: deleteProductsPrices
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: >-
../code_samples/JavaScript/admin_price-lists_{id}_products_prices_batch/delete.js
- lang: Shell
label: cURL
source:
$ref: >-
../code_samples/Shell/admin_price-lists_{id}_products_prices_batch/delete.sh
security:
- api_token: []
- cookie_auth: []
- jwt_token: []
tags:
- Price Lists
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: ../components/schemas/AdminPriceListDeleteProductPricesRes.yaml
'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