getCustomersCustomer
Retrieve a customer
Details
- Method:
GET - Path:
/v1/customers/{customer} - Operation ID:
GetCustomersCustomer
Parameters
{
"customer": {
"description": "",
"required": true,
"location": "path",
"type": "string"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"required": false,
"location": "query",
"type": "array"
}
}Response Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/customer"
},
{
"$ref": "#/components/schemas/deleted_customer"
}
]
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('stripe')
# Call this tool
result = await agent.call_tool('getCustomersCustomer', {
# Add required parameters here
})