1227 lines
22 KiB
TypeScript
1227 lines
22 KiB
TypeScript
import type { INodeProperties } from 'n8n-workflow';
|
|
|
|
export const customerAddressesDescription: INodeProperties[] = [
|
|
{
|
|
"displayName": "Operation",
|
|
"name": "operation",
|
|
"type": "options",
|
|
"noDataExpression": true,
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
]
|
|
}
|
|
},
|
|
"options": [
|
|
{
|
|
"name": "Customer Addresses Get All",
|
|
"value": "Customer Addresses Get All",
|
|
"action": "Get a list of all customer addresses",
|
|
"description": "Get a list of all customer addresses",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/api/v1/customer-addresses"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Customer Addresses Create",
|
|
"value": "Customer Addresses Create",
|
|
"action": "Creates a new customer address",
|
|
"description": "Creates a new customer address",
|
|
"routing": {
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "=/api/v1/customer-addresses"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Customer Addresses Get One",
|
|
"value": "Customer Addresses Get One",
|
|
"action": "Queries a single customer address by id",
|
|
"description": "Queries a single customer address by id",
|
|
"routing": {
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "=/api/v1/customer-addresses/{{$parameter[\"id\"]}}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Customer Addresses Update",
|
|
"value": "Customer Addresses Update",
|
|
"action": "Updates a customer address by id",
|
|
"description": "Updates a customer address by id",
|
|
"routing": {
|
|
"request": {
|
|
"method": "PUT",
|
|
"url": "=/api/v1/customer-addresses/{{$parameter[\"id\"]}}"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"default": ""
|
|
},
|
|
{
|
|
"displayName": "GET /api/v1/customer-addresses",
|
|
"name": "operation",
|
|
"type": "notice",
|
|
"typeOptions": {
|
|
"theme": "info"
|
|
},
|
|
"default": "",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Get All"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Page",
|
|
"name": "page",
|
|
"description": "The current page to request starting with 1 (default is 1)",
|
|
"default": 0,
|
|
"type": "number",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "page",
|
|
"value": "={{ $value }}",
|
|
"propertyInDotNotation": false
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Get All"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Page Size",
|
|
"name": "pageSize",
|
|
"description": "The page size for the result list. Values between 1 and 250 are allowed. (default is 50)",
|
|
"default": 0,
|
|
"type": "number",
|
|
"routing": {
|
|
"send": {
|
|
"type": "query",
|
|
"property": "pageSize",
|
|
"value": "={{ $value }}",
|
|
"propertyInDotNotation": false
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Get All"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "POST /api/v1/customer-addresses",
|
|
"name": "operation",
|
|
"type": "notice",
|
|
"typeOptions": {
|
|
"theme": "info"
|
|
},
|
|
"default": "",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address Addition",
|
|
"name": "AddressAddition",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "AddressAddition",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address Type",
|
|
"name": "AddressType",
|
|
"type": "options",
|
|
"default": 1,
|
|
"description": "The type of the address",
|
|
"options": [
|
|
{
|
|
"name": "1",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "2",
|
|
"value": 2
|
|
}
|
|
],
|
|
"routing": {
|
|
"send": {
|
|
"property": "AddressType",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Archived At",
|
|
"name": "ArchivedAt",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "If set, the customeraddress was already archived at the given date. Further modification is disabled.",
|
|
"routing": {
|
|
"send": {
|
|
"property": "ArchivedAt",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "City",
|
|
"name": "City",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "City",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Company",
|
|
"name": "Company",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The name of the company",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Company",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Country Code",
|
|
"name": "CountryCode",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The ISO2 code of the country",
|
|
"routing": {
|
|
"send": {
|
|
"property": "CountryCode",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Customer ID",
|
|
"name": "CustomerId",
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The internal Billbee id of the customer the address belongs to",
|
|
"routing": {
|
|
"send": {
|
|
"property": "CustomerId",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Email",
|
|
"name": "Email",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Email",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Fax",
|
|
"name": "Fax",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Fax",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "First Name",
|
|
"name": "FirstName",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "FirstName",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Housenumber",
|
|
"name": "Housenumber",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Housenumber",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "Id",
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The internal Billbee ID of the address record. Can be null if a new address is created",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Id",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Last Name",
|
|
"name": "LastName",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "LastName",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name 2",
|
|
"name": "Name2",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Optionally an additional name field",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Name2",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Restored At",
|
|
"name": "RestoredAt",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "If set, the customeraddress was restored from the archive at the given date.",
|
|
"routing": {
|
|
"send": {
|
|
"property": "RestoredAt",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "State",
|
|
"name": "State",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "State",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Street",
|
|
"name": "Street",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Street",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Tel 1",
|
|
"name": "Tel1",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Tel1",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Tel 2",
|
|
"name": "Tel2",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Tel2",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Zip",
|
|
"name": "Zip",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Zip",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Create"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "GET /api/v1/customer-addresses/{id}",
|
|
"name": "operation",
|
|
"type": "notice",
|
|
"typeOptions": {
|
|
"theme": "info"
|
|
},
|
|
"default": "",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Get One"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"required": true,
|
|
"description": "The id of the address to query",
|
|
"default": 0,
|
|
"type": "number",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Get One"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "PUT /api/v1/customer-addresses/{id}",
|
|
"name": "operation",
|
|
"type": "notice",
|
|
"typeOptions": {
|
|
"theme": "info"
|
|
},
|
|
"default": "",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "id",
|
|
"required": true,
|
|
"description": "The id of the address",
|
|
"default": 0,
|
|
"type": "number",
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address Addition",
|
|
"name": "AddressAddition",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "AddressAddition",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Address Type",
|
|
"name": "AddressType",
|
|
"type": "options",
|
|
"default": 1,
|
|
"description": "The type of the address",
|
|
"options": [
|
|
{
|
|
"name": "1",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "2",
|
|
"value": 2
|
|
}
|
|
],
|
|
"routing": {
|
|
"send": {
|
|
"property": "AddressType",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Archived At",
|
|
"name": "ArchivedAt",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "If set, the customeraddress was already archived at the given date. Further modification is disabled.",
|
|
"routing": {
|
|
"send": {
|
|
"property": "ArchivedAt",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "City",
|
|
"name": "City",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "City",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Company",
|
|
"name": "Company",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The name of the company",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Company",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Country Code",
|
|
"name": "CountryCode",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The ISO2 code of the country",
|
|
"routing": {
|
|
"send": {
|
|
"property": "CountryCode",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Customer ID",
|
|
"name": "CustomerId",
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The internal Billbee id of the customer the address belongs to",
|
|
"routing": {
|
|
"send": {
|
|
"property": "CustomerId",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Email",
|
|
"name": "Email",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Email",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Fax",
|
|
"name": "Fax",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Fax",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "First Name",
|
|
"name": "FirstName",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "FirstName",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Housenumber",
|
|
"name": "Housenumber",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Housenumber",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "ID",
|
|
"name": "Id",
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The internal Billbee ID of the address record. Can be null if a new address is created",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Id",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Last Name",
|
|
"name": "LastName",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "LastName",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Name 2",
|
|
"name": "Name2",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Optionally an additional name field",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Name2",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Restored At",
|
|
"name": "RestoredAt",
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "If set, the customeraddress was restored from the archive at the given date.",
|
|
"routing": {
|
|
"send": {
|
|
"property": "RestoredAt",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "State",
|
|
"name": "State",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "State",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Street",
|
|
"name": "Street",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Street",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Tel 1",
|
|
"name": "Tel1",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Tel1",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Tel 2",
|
|
"name": "Tel2",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Tel2",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"displayName": "Zip",
|
|
"name": "Zip",
|
|
"type": "string",
|
|
"default": "",
|
|
"routing": {
|
|
"send": {
|
|
"property": "Zip",
|
|
"propertyInDotNotation": false,
|
|
"type": "body",
|
|
"value": "={{ $value }}"
|
|
}
|
|
},
|
|
"displayOptions": {
|
|
"show": {
|
|
"resource": [
|
|
"Customer Addresses"
|
|
],
|
|
"operation": [
|
|
"Customer Addresses Update"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
];
|