{ "openapi" : "3.0.3", "info" : { "title" : "order", "version" : "0.0.1-dev", "description" : "order service which is responsible for managing order" }, "servers" : [ { "url" : "https://nashtechglobal.com" } ], "paths" : { "/{merchant_id}/orders/{number}" : { "get" : { "parameters" : [ { "name" : "merchant_id", "in" : "path", "required" : true, "schema" : { "type" : "string" } }, { "name" : "number", "in" : "path", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "description" : "Successful response", "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ComNashtechOrderV0ModelsOrder" } } } }, "401" : { "description" : "Unauthorized" }, "404" : { "description" : "Not found" } } } } }, "components" : { "schemas" : { "ComNashtechOrderV0ModelsOrder" : { "type" : "object", "required" : [ "id", "number", "merchant_id", "submitted_at", "total" ], "properties" : { "id" : { "type" : "string" }, "number" : { "type" : "string" }, "merchant_id" : { "type" : "string" }, "submitted_at" : { "type" : "string", "format" : "date-time" }, "total" : { "type" : "number" } } } } } }