supersonic-models
Version:
Supersonic models and API specifications
41 lines (40 loc) • 1.03 kB
YAML
post:
summary: Start order
description: Store the order in the database and call to start endpoint on Cloud Bridge server.
consumes:
- application/json
produces:
- application/json
parameters:
- in: body
name: Start order payload
description: Start order request payload for Cloud Bridge
schema:
$ref: "../definitions/cloud-bridge-start-order.yaml"
responses:
200:
description: Success
schema:
type: object
properties:
orderId:
type: number
example: 105906177
orderNumber:
type: number
example: 11
total:
type: number
example: 34.5
message:
type: string
example: Order started successfully
code:
type: number
example: 0
401:
description: Unauthorized
500:
description: Internal Error
schema:
$ref: "../../../spec/definitions/error-response.yaml"