// Add to methodSchemas in schema.ts
'veeqo.batchCreateOrders': {
description: 'Create multiple orders in Veeqo in a single request',
params: {
orders: {
type: 'array',
description: 'Array of Veeqo order objects'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
orders: 'array'
}
},
'veeqo.batchUpdateOrders': {
description: 'Update multiple orders in Veeqo in a single request',
params: {
updates: {
type: 'array',
description: 'Array of order updates with order_id and order data'
}
},
result: {
orders: 'array'
}
},
'veeqo.updateInventory': {
description: 'Update inventory levels for multiple items',
params: {
items: {
type: 'array',
description: 'Array of inventory items to update'
}
},
result: {
updated_items: 'array'
}
},
'veeqo.getLowStockItems': {
description: 'Get items with low stock levels',
params: {
threshold: {
type: 'number',
description: 'Minimum quantity threshold (default: 5)'
}
},
result: {
low_stock_items: 'array'
}
},
'veeqo.createFulfillment': {
description: 'Create a fulfillment for an order',
params: {
order_id: {
type: 'string',
description: 'ID of the order to fulfill'
},
fulfillment: {
type: 'object',
description: 'Fulfillment details'
}
},
result: {
fulfillment: 'object'
}
},
'veeqo.getFulfillments': {
description: 'Get fulfillments for an order',
params: {
order_id: {
type: 'string',
description: 'ID of the order'
},
status: {
type: 'string',
description: 'Filter by fulfillment status'
}
},
result: {
fulfillments: 'array'
}
},
'easypost.batchCreateShipments': {
description: 'Create multiple shipments in EasyPost in a single request',
params: {
shipments: {
type: 'array',
description: 'Array of shipment objects'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
shipments: 'array'
}
},
'easypost.batchBuyLabels': {
description: 'Purchase multiple shipping labels in a single request',
params: {
purchases: {
type: 'array',
description: 'Array of purchase requests with shipment_id and rate_id'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
labels: 'array'
}
},
'easypost.compareRates': {
description: 'Compare rates across multiple shipments',
params: {
shipment_ids: {
type: 'array',
description: 'Array of shipment IDs to compare rates for'
}
},
result: {
comparison: 'array'
}
},
'easypost.bulkTrackShipments': {
description: 'Track multiple shipments in a single request',
params: {
tracking_codes: {
type: 'array',
description: 'Array of tracking codes to track'
}
},
result: {
tracking_results: 'array'
}
},
'unified.createOrderWithBestRate': {
description: 'Create a Veeqo order and purchase the best available EasyPost label',
params: {
order: {
type: 'object',
description: 'Veeqo order object'
},
from_address: {
type: 'object',
description: 'Origin address for the shipment'
},
parcel: {
type: 'object',
description: 'Parcel dimensions and weight'
},
preferred_carriers: {
type: 'array',
description: 'Array of preferred carriers to filter rates'
},
sort_by: {
type: 'string',
description: 'Sort rates by cost (default) or delivery_time'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
order: 'object',
shipment: 'object'
}
},
'unified.batchFulfillOrders': {
description: 'Fulfill multiple orders in a single request',
params: {
fulfillments: {
type: 'array',
description: 'Array of fulfillment requests'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
fulfillments: 'array'
}
},
'unified.createOrderWithInventoryCheck': {
description: 'Create a Veeqo order after checking inventory availability',
params: {
order: {
type: 'object',
description: 'Veeqo order object'
},
shipping_info: {
type: 'object',
description: 'Optional shipping information'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
status: 'string',
order: 'object',
shipment: 'object'
}
},
'unified.processReturn': {
description: 'Process a return for an order',
params: {
order_id: {
type: 'string',
description: 'ID of the order to return'
},
return_info: {
type: 'object',
description: 'Return information including return address and parcel'
},
idempotency_key: {
type: 'string',
description: 'Idempotency key for the request'
}
},
result: {
order: 'object',
return_shipment: 'object',
return_record: 'object'
}
}