mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-05 04:48:08 -06:00
new folder structure
This commit is contained in:
parent
1b79d21dbd
commit
5831230d13
14 changed files with 262 additions and 96 deletions
18
nodes/S4DSMain/actions/customers/createCustomer.json
Normal file
18
nodes/S4DSMain/actions/customers/createCustomer.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "createCustomer",
|
||||
"method": "POST",
|
||||
"endpoint": "/customer",
|
||||
"description": "Create a new customer.",
|
||||
"parameters": [],
|
||||
"requiresAuth": true,
|
||||
"requestBody": {
|
||||
"schema": "SetNewCustomerDTO",
|
||||
"required": true
|
||||
},
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customer": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
29
nodes/S4DSMain/actions/customers/getCustomerByDocument.json
Normal file
29
nodes/S4DSMain/actions/customers/getCustomerByDocument.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "getCustomerByDocument",
|
||||
"method": "GET",
|
||||
"endpoint": "/customer/specificCustomer",
|
||||
"description": "Get customer information by document ID and type.",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "documentId",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "Document ID of the customer.",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"name": "documentType",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "Type of document (e.g., CC, CE, NIT).",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"requiresAuth": true,
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customer": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
18
nodes/S4DSMain/actions/customers/updateCustomer.json
Normal file
18
nodes/S4DSMain/actions/customers/updateCustomer.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "updateCustomer",
|
||||
"method": "PATCH",
|
||||
"endpoint": "/customer",
|
||||
"description": "Update an existing customer.",
|
||||
"parameters": [],
|
||||
"requiresAuth": true,
|
||||
"requestBody": {
|
||||
"schema": "SetNewCustomerDTO",
|
||||
"required": true
|
||||
},
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue