Providing information about top sold articles
This commit is contained in:
parent
cb2e4d1d60
commit
741f6c34dd
|
|
@ -117,6 +117,36 @@ paths:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/TopSoldArticles:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "General"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidOnlineService"
|
||||||
|
- name: "Type"
|
||||||
|
description: "Provide the types you want to get."
|
||||||
|
in: "query"
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
enum:
|
||||||
|
- "Last7Days"
|
||||||
|
- "Last30Days"
|
||||||
|
- "Last90Days"
|
||||||
|
- "Last365Days"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/components/schemas/TopSoldArticle"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
# Settings
|
# Settings
|
||||||
/Configs:
|
/Configs:
|
||||||
get:
|
get:
|
||||||
|
|
@ -1947,6 +1977,16 @@ components:
|
||||||
type: "number"
|
type: "number"
|
||||||
PriceGross:
|
PriceGross:
|
||||||
type: "number"
|
type: "number"
|
||||||
|
TopSoldArticle:
|
||||||
|
type: "object"
|
||||||
|
required:
|
||||||
|
- "GuidShopArticle"
|
||||||
|
- "NumberOfSells"
|
||||||
|
properties:
|
||||||
|
GuidShopArticle:
|
||||||
|
type: "string"
|
||||||
|
NumberOfSells:
|
||||||
|
type: "number"
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
SessionScheme:
|
SessionScheme:
|
||||||
type: http
|
type: http
|
||||||
|
|
@ -2108,7 +2148,6 @@ components:
|
||||||
# GET /Vehicles
|
# GET /Vehicles
|
||||||
# GET /Tubes
|
# GET /Tubes
|
||||||
# GET /Campaigns
|
# GET /Campaigns
|
||||||
# GET /TopSoldArticles
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue