PUT api/Customer
Edits an existing Customer.
Request Information
URI Parameters
None.
Body Parameters
Customer.
CustomerName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CustomerId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
CustomerGroupId | integer |
None. |
|
CustomerGroup | string |
None. |
|
GlobalId | string |
None. |
|
Company | string |
None. |
|
PrimaryShippingAddressId | integer |
None. |
|
PrimaryBillingAddressId | integer |
None. |
|
Note | string |
None. |
|
CustomerCode | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
CustomField1 | string |
None. |
|
CustomField2 | string |
None. |
|
CustomField3 | string |
None. |
|
CustomField4 | string |
None. |
|
PrimaryEmail | string |
None. |
|
PrimaryPhone | string |
None. |
|
AlternativeName | string |
None. |
|
CustomerName | string |
None. |
|
DisplayName | string |
None. |
|
CustomerNameWithPhone | string |
None. |
|
CustomerNameWithPhoneEmail | string |
None. |
|
OrganizationId | integer |
None. |
|
AutoCompleteText | string |
None. |
|
ParentDisplayName | string |
None. |
|
ParentCustomerId | integer |
None. |
|
ParentGlobalId | string |
None. |
|
CustomerParentChildGlobalId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CustomerId": 2, "FirstName": "sample string 3", "LastName": "sample string 4", "UpdatedDate": "2025-01-15T16:43:10.7868258+00:00", "UpdatedBy": "sample string 5", "CustomerGroupId": 1, "CustomerGroup": "sample string 6", "GlobalId": "sample string 7", "Company": "sample string 8", "PrimaryShippingAddressId": 1, "PrimaryBillingAddressId": 1, "Note": "sample string 9", "CustomerCode": "sample string 10", "Phone": "sample string 11", "Email": "sample string 12", "CustomField1": "sample string 13", "CustomField2": "sample string 14", "CustomField3": "sample string 15", "CustomField4": "sample string 16", "PrimaryEmail": "sample string 17", "PrimaryPhone": "sample string 18", "AlternativeName": "sample string 19", "CustomerName": "sample string 20", "DisplayName": "sample string 21", "CustomerNameWithPhone": "sample string 22", "CustomerNameWithPhoneEmail": "sample string 23", "OrganizationId": 1, "AutoCompleteText": "sample string 24", "ParentDisplayName": "sample string 25", "ParentCustomerId": 1, "ParentGlobalId": "sample string 26", "CustomerParentChildGlobalId": "sample string 27" }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <AlternativeName>sample string 19</AlternativeName> <AutoCompleteText>sample string 24</AutoCompleteText> <Company>sample string 8</Company> <CustomField1>sample string 13</CustomField1> <CustomField2>sample string 14</CustomField2> <CustomField3>sample string 15</CustomField3> <CustomField4>sample string 16</CustomField4> <CustomerCode>sample string 10</CustomerCode> <CustomerGroup>sample string 6</CustomerGroup> <CustomerGroupId>1</CustomerGroupId> <CustomerId>2</CustomerId> <CustomerName>sample string 20</CustomerName> <CustomerNameWithPhone>sample string 22</CustomerNameWithPhone> <CustomerNameWithPhoneEmail>sample string 23</CustomerNameWithPhoneEmail> <CustomerParentChildGlobalId>sample string 27</CustomerParentChildGlobalId> <DisplayName>sample string 21</DisplayName> <Email>sample string 12</Email> <FirstName>sample string 3</FirstName> <GlobalId>sample string 7</GlobalId> <LastName>sample string 4</LastName> <Note>sample string 9</Note> <OrganizationId>1</OrganizationId> <ParentCustomerId>1</ParentCustomerId> <ParentDisplayName>sample string 25</ParentDisplayName> <ParentGlobalId>sample string 26</ParentGlobalId> <Phone>sample string 11</Phone> <PrimaryBillingAddressId>1</PrimaryBillingAddressId> <PrimaryEmail>sample string 17</PrimaryEmail> <PrimaryPhone>sample string 18</PrimaryPhone> <PrimaryShippingAddressId>1</PrimaryShippingAddressId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedDate>2025-01-15T16:43:10.7868258+00:00</UpdatedDate> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
CustomerId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
CustomerGroupId | integer |
None. |
|
CustomerGroup | string |
None. |
|
GlobalId | string |
None. |
|
Company | string |
None. |
|
PrimaryShippingAddressId | integer |
None. |
|
PrimaryBillingAddressId | integer |
None. |
|
Note | string |
None. |
|
CustomerCode | string |
None. |
|
Phone | string |
None. |
|
string |
None. |
||
CustomField1 | string |
None. |
|
CustomField2 | string |
None. |
|
CustomField3 | string |
None. |
|
CustomField4 | string |
None. |
|
PrimaryEmail | string |
None. |
|
PrimaryPhone | string |
None. |
|
AlternativeName | string |
None. |
|
CustomerName | string |
None. |
|
DisplayName | string |
None. |
|
CustomerNameWithPhone | string |
None. |
|
CustomerNameWithPhoneEmail | string |
None. |
|
OrganizationId | integer |
None. |
|
AutoCompleteText | string |
None. |
|
ParentDisplayName | string |
None. |
|
ParentCustomerId | integer |
None. |
|
ParentGlobalId | string |
None. |
|
CustomerParentChildGlobalId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "CustomerId": 2, "FirstName": "sample string 3", "LastName": "sample string 4", "UpdatedDate": "2025-01-15T16:43:10.8052216+00:00", "UpdatedBy": "sample string 5", "CustomerGroupId": 1, "CustomerGroup": "sample string 6", "GlobalId": "sample string 7", "Company": "sample string 8", "PrimaryShippingAddressId": 1, "PrimaryBillingAddressId": 1, "Note": "sample string 9", "CustomerCode": "sample string 10", "Phone": "sample string 11", "Email": "sample string 12", "CustomField1": "sample string 13", "CustomField2": "sample string 14", "CustomField3": "sample string 15", "CustomField4": "sample string 16", "PrimaryEmail": "sample string 17", "PrimaryPhone": "sample string 18", "AlternativeName": "sample string 19", "CustomerName": "sample string 20", "DisplayName": "sample string 21", "CustomerNameWithPhone": "sample string 22", "CustomerNameWithPhoneEmail": "sample string 23", "OrganizationId": 1, "AutoCompleteText": "sample string 24", "ParentDisplayName": "sample string 25", "ParentCustomerId": 1, "ParentGlobalId": "sample string 26", "CustomerParentChildGlobalId": "sample string 27" }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <AlternativeName>sample string 19</AlternativeName> <AutoCompleteText>sample string 24</AutoCompleteText> <Company>sample string 8</Company> <CustomField1>sample string 13</CustomField1> <CustomField2>sample string 14</CustomField2> <CustomField3>sample string 15</CustomField3> <CustomField4>sample string 16</CustomField4> <CustomerCode>sample string 10</CustomerCode> <CustomerGroup>sample string 6</CustomerGroup> <CustomerGroupId>1</CustomerGroupId> <CustomerId>2</CustomerId> <CustomerName>sample string 20</CustomerName> <CustomerNameWithPhone>sample string 22</CustomerNameWithPhone> <CustomerNameWithPhoneEmail>sample string 23</CustomerNameWithPhoneEmail> <CustomerParentChildGlobalId>sample string 27</CustomerParentChildGlobalId> <DisplayName>sample string 21</DisplayName> <Email>sample string 12</Email> <FirstName>sample string 3</FirstName> <GlobalId>sample string 7</GlobalId> <LastName>sample string 4</LastName> <Note>sample string 9</Note> <OrganizationId>1</OrganizationId> <ParentCustomerId>1</ParentCustomerId> <ParentDisplayName>sample string 25</ParentDisplayName> <ParentGlobalId>sample string 26</ParentGlobalId> <Phone>sample string 11</Phone> <PrimaryBillingAddressId>1</PrimaryBillingAddressId> <PrimaryEmail>sample string 17</PrimaryEmail> <PrimaryPhone>sample string 18</PrimaryPhone> <PrimaryShippingAddressId>1</PrimaryShippingAddressId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedDate>2025-01-15T16:43:10.8052216+00:00</UpdatedDate> </Customer>