{
  "opencollection": "1.0.0",
  "info": {
    "name": "lemon.markets Brokerage API 🍋 Accounts: General Orders API",
    "version": "0.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cancel Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/orders/:order_id/cancel",
            "headers": [
              {
                "name": "LMG-Data-Privacy-Access-Principal",
                "value": ""
              },
              {
                "name": "LMG-Data-Privacy-Access-Justification",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "cusa_20323d55bb264d42b0b225d293591049",
                "type": "path",
                "description": "An account identifier.\n"
              },
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "An order identifier.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancel Order"
        },
        {
          "info": {
            "name": "Confirm Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/orders/:order_id/confirm",
            "headers": [
              {
                "name": "LMG-Data-Privacy-Access-Principal",
                "value": ""
              },
              {
                "name": "LMG-Data-Privacy-Access-Justification",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "cusa_20323d55bb264d42b0b225d293591049",
                "type": "path",
                "description": "An account identifier.\n"
              },
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "An order identifier.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Confirm Order"
        },
        {
          "info": {
            "name": "List Orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/orders",
            "headers": [
              {
                "name": "LMG-Data-Privacy-Access-Principal",
                "value": ""
              },
              {
                "name": "LMG-Data-Privacy-Access-Justification",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "cusa_20323d55bb264d42b0b225d293591049",
                "type": "path",
                "description": "An account identifier.\n"
              },
              {
                "name": "status",
                "value": "",
                "type": "query"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "A pagination cursor.  When you receive a paginated response containing the property `pagination.next_cursor`, you can pass its value here to get the next page of results for your query.\nA cursor will include filter parameters, so there is not need to specify both the `cursor` and any other filter parameter.\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "In order to customize the number of elements returned, you can provide a limit here.  The service will not return more elements than specified.\n"
              },
              {
                "name": "securities_account",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Orders"
        },
        {
          "info": {
            "name": "Create Order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/orders",
            "headers": [
              {
                "name": "LMG-Data-Privacy-Access-Principal",
                "value": ""
              },
              {
                "name": "LMG-Data-Privacy-Access-Justification",
                "value": ""
              },
              {
                "name": "Idempotency-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "cusa_20323d55bb264d42b0b225d293591049",
                "type": "path",
                "description": "An account identifier.\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create Order"
        },
        {
          "info": {
            "name": "Get Order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.api.lemon.markets/v1/accounts/:account_id/orders/:order_id",
            "headers": [
              {
                "name": "LMG-Data-Privacy-Access-Principal",
                "value": ""
              },
              {
                "name": "LMG-Data-Privacy-Access-Justification",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "cusa_20323d55bb264d42b0b225d293591049",
                "type": "path",
                "description": "An account identifier.\n"
              },
              {
                "name": "order_id",
                "value": "",
                "type": "path",
                "description": "An order identifier.\n"
              }
            ]
          },
          "docs": "Get Order"
        }
      ]
    }
  ],
  "bundled": true
}