supersonic-models
Version:
Supersonic models and API specifications
11 lines (10 loc) • 696 B
YAML
type: string
enum: ["PENDING", "CREATED", "SUBMITTED", "FINISHED", "ERROR", "DONE"]
example: "CREATED"
description: |
* PENDING: Supersonic received a correct request and stored the order in the database, but the integration and other validations are still processing;
* CREATED: Successful sent order to provider and updated it on database;
* SUBMITTED: Successful submit the order to provider and update values on database;
* FINISHED: Successful finished the order on provider and update values on database (CARD payments only);
* ERROR: Supersonic throws an error that can be an error response from the provider or an internal issue;
* DONE: Successful updated values (KDS only).