scp_get_orders
Retrieve order history from authorized merchants to access purchase records, filter by status, and manage order data for customer service and analytics.
Instructions
Get order history from a merchant. Domain must be authorized first.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
domain | Yes | Merchant domain | |
limit | No | Maximum number of orders to return | |
offset | No | Number of orders to skip | |
status | No | Filter by order status (e.g., ['delivered', 'shipped']) |
Input Schema (JSON Schema)
{
"properties": {
"domain": {
"description": "Merchant domain",
"type": "string"
},
"limit": {
"default": 10,
"description": "Maximum number of orders to return",
"type": "number"
},
"offset": {
"default": 0,
"description": "Number of orders to skip",
"type": "number"
},
"status": {
"description": "Filter by order status (e.g., ['delivered', 'shipped'])",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"domain"
],
"type": "object"
}