hotfix/H-790: APIv2 Shop update
This commit is contained in:
@@ -2391,6 +2391,13 @@ paths:
|
|||||||
description: Название товара.
|
description: Название товара.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
- name: category_id
|
||||||
|
in: query
|
||||||
|
description: Идентификатор категории.
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: uuid
|
||||||
|
example: 76080562-3a5e-4826-8799-7638b775bcd0
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: Returns pagination and array of objects.
|
description: Returns pagination and array of objects.
|
||||||
@@ -5745,6 +5752,13 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
example: 195e1707-3f5d-4780-8dc1-b1023e1f974f
|
example: 195e1707-3f5d-4780-8dc1-b1023e1f974f
|
||||||
|
status_id:
|
||||||
|
type: integer
|
||||||
|
description: 1 - active, 2 - disabled, 3 - deleted
|
||||||
|
enum:
|
||||||
|
- 1
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
shop_item_id:
|
shop_item_id:
|
||||||
description: Product ID.
|
description: Product ID.
|
||||||
type: string
|
type: string
|
||||||
@@ -5763,6 +5777,18 @@ components:
|
|||||||
description: Count of product units.
|
description: Count of product units.
|
||||||
type: number
|
type: number
|
||||||
example: 2
|
example: 2
|
||||||
|
comment:
|
||||||
|
description: Comment text.
|
||||||
|
type: string
|
||||||
|
example: Example text
|
||||||
|
shopProductIcon:
|
||||||
|
description: Product icon.
|
||||||
|
type: string
|
||||||
|
example: http://hr.lh/file/resize/64x64/158712e1-78ed-4583-b5f1-6a0a083824a6.jpg
|
||||||
|
entityId:
|
||||||
|
description: Entity ID.
|
||||||
|
type: number
|
||||||
|
example: 1
|
||||||
|
|
||||||
shopOrderIndex:
|
shopOrderIndex:
|
||||||
$ref: '#/components/schemas/shopOrder'
|
$ref: '#/components/schemas/shopOrder'
|
||||||
|
|||||||
Reference in New Issue
Block a user