Skip to main content
Glama

mcp-google-sheets

Order.ts732 B
import axios, { Axios } from 'axios'; export class Order { api: Axios; constructor(host: string, appKey: string, appToken: string) { this.api = axios.create({ baseURL: 'https://' + host, headers: { 'X-VTEX-API-AppKey': appKey, 'X-VTEX-API-AppToken': appToken, }, }); } async getOrderById(OrderID: number) { const route = `/api/oms/pvt/orders/`; const response = await this.api.get(route + OrderID); return response.data; } async getOrderList(from: Date, to: Date) { const route = `/api/oms/pvt/orders?f_creationDate=creationDate:[${from.toISOString()} TO ${to.toISOString()}]`; const response = await this.api.get(route); return response.data; } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server