supersonic-models
Version:
Supersonic models and API specifications
38 lines (37 loc) • 1.27 kB
YAML
post:
summary: Finish order Cloud Bridge
description: Update the order in the database and call to finish endpoint on Cloud Bridge server.
consumes:
- application/json
produces:
- application/json
parameters:
- in: body
name: Finish order payload
description: Finish order request payload for Cloud Bridge server
schema:
$ref: "../definitions/cloud-bridge-start-order.yaml"
responses:
200:
description: Success
schema:
type: object
properties:
orderId:
type: number
example: 105906177
message:
type: string
example: Order finished successfully
code:
type: number
example: 0
receiptId:
type: string
example: eyJpZCI6IjIzOjQ5OjQ5LWRiZTZmYjUwLTA5MDAtMTFlYi04MDYzLWZmMGRiZjBmNmMwYiIsImRhdGUiOiIyMDIwLTEyLTA4Iiwib3JnYW5pc2F0aW9uRmlyZXN0b3JlSWQiOiJUWUlNWEp5cnNieTNoQWY0WjFXayIsImRldmljZUZpcmVzdG9yZUlkIjoic0Rqc2JJU1k2OXNqS3dHdEZmOVAiLCJzdG9yZUZpcmVzdG9yZUlkIjoiTEswbjZXZWkwYjlCeTZCREVoYUQifQ==
401:
description: Unauthorized
500:
description: Internal Error
schema:
$ref: "../../../spec/definitions/error-response.yaml"