mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-09 22:48:07 -06:00
Adding customer actions
This commit is contained in:
parent
a52b70760e
commit
e254f685b0
11 changed files with 527 additions and 0 deletions
75
nodes/S4DSMain/actions/customers/customerInfo.json
Normal file
75
nodes/S4DSMain/actions/customers/customerInfo.json
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"name": "customerInfo",
|
||||
"method": "GET",
|
||||
"endpoint": "/customer/info",
|
||||
"description": "Get customer information.",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "personId",
|
||||
"in": "query",
|
||||
"type": "array",
|
||||
"required": false,
|
||||
"description": "Person ID filter",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "documentId",
|
||||
"in": "query",
|
||||
"type": "array",
|
||||
"required": false,
|
||||
"description": "Document ID filter",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "documentType",
|
||||
"in": "query",
|
||||
"type": "array",
|
||||
"required": false,
|
||||
"description": "Document type filter",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "roles",
|
||||
"in": "query",
|
||||
"type": "array",
|
||||
"required": false,
|
||||
"description": "Roles filter",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "orderBy",
|
||||
"in": "query",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "Order by field"
|
||||
},
|
||||
{
|
||||
"name": "quantity",
|
||||
"in": "query",
|
||||
"type": "integer",
|
||||
"required": false,
|
||||
"description": "Quantity limit (default: 100)",
|
||||
"default": 100
|
||||
}
|
||||
],
|
||||
"requiresAuth": true,
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue