AddReference
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Sales/Customers/AddReference
Adds a reference to a customer.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the customer that the reference was added to. References Customers
The entity id of the response is the business key identifier of the added customer reference. References BusinessContactReferences
Required permission
Modify customer
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
CustomerId | Int64 | The business key identifier of the customer to add a reference to. References Customers
|
|
Name | StringInput | The name of the business contact reference. |
|
ExtraInformation1 | StringInput | The first extra information field of the business contact reference. |
|
ExtraInformation2 | StringInput | The second extra information field of the business contact reference. |
|
ExtraInformation3 | StringInput | The third extra information field of the business contact reference. |
|
Category | StringInput | The category of the business contact reference. |
|
Note | StringInput | Any extra notes regarding the business contact reference. |
|
CellPhoneNumber | StringInput | The value of the communication address. |
|
PhoneNumber | StringInput | The value of the communication address. |
|
EmailAddress | StringInput | The value of the communication address. |
|
FaxNumber | StringInput | The value of the communication address. |
Example
{
"CustomerId": 0,
"Name": null,
"ExtraInformation1": null,
"ExtraInformation2": null,
"ExtraInformation3": null,
"Category": null,
"Note": null,
"CellPhoneNumber": null,
"PhoneNumber": null,
"EmailAddress": null,
"FaxNumber": null
}