kiolyn-api-specs
Version:
54 lines (53 loc) • 1.31 kB
YAML
/v2/online-order/{storeid}:
get:
tags:
- onlineOrder
description: Return all online order
operationId: listOnlineOrder
security:
- bearerAuth: []
parameters:
- $ref#storeid: './parameters/storeid.yaml'
- name: date
in: query
description: filter by date
schema:
type: string
responses:
$ref#4xx: './responses/4xx.yaml'
200:
description: list of online order
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OnlineOrder'
/online-order/error:
get:
tags:
- onlineOrder
operationId: listOnlineOrderError
security:
- bearerAuth: []
parameters:
- $ref#limit: "./parameters/limit.yaml"
- $ref#page: "./parameters/page.yaml"
- name: date
in: query
description: filter by date
schema:
type: string
- name: search
in: query
description: search customer, email or phone
schema:
type: string
responses:
$ref#4xx: './responses/4xx.yaml'
200:
description: Online Order error data
content:
application/json:
schema:
$ref: '#/components/schemas/OnlineOrderQueryResult'