PUT api/{database}/Customer/{customerId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
customerId No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

$expand Addresses

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "accountManagerId": "sample string 1",
  "addresses": null,
  "messages": [],
  "applyOrderSurcharge": true,
  "businessNumber": "sample string 3",
  "canChange": true,
  "cannotChangeReason": "sample string 5",
  "chargeVatTypeId": 0,
  "city": "sample string 6",
  "cocCity": "sample string 7",
  "cocDate": "sample string 8",
  "cocRegistration": "sample string 9",
  "collectiveInvoiceSystemId": "sample string 10",
  "combineInvoicesForElectronicBanking": true,
  "countryId": "sample string 12",
  "creditLimit": 13.0,
  "creditSqueezeId": "sample string 14",
  "currencyId": "sample string 15",
  "customerGroupId": 16,
  "customerId": "sample string 17",
  "customerStateId": "sample string 18",
  "database": "sample string 19",
  "dateChanged": "sample string 20",
  "dateCreated": "sample string 21",
  "deliveryConditionId": "sample string 22",
  "discountPercentage": 23.0,
  "email": "sample string 24",
  "fax": "sample string 25",
  "fullAddress": "sample string 26",
  "fullDeliveryAddress": "sample string 27",
  "googleMapsDirectionsUrl": "sample string 28",
  "googleMapsUrl": "sample string 29",
  "governmentDigitalId": "sample string 30",
  "hasOutstandingBalance": true,
  "homepage": "sample string 32",
  "includeVatOnOrderByDefault": true,
  "intrastatGoodsCodeId": 1,
  "intrastatGoodsDistributionId": 1,
  "intrastatStatSystemId": 1,
  "intrastatTrafficRegionId": 1,
  "intrastatTransactionTypeId": "sample string 34",
  "intrastatTransportTypeId": 1,
  "invoiceOnBehalfOfMembers": true,
  "isDunForPayment": true,
  "isInFactoring": true,
  "isPaymentRefRequired": true,
  "isPurchaseOrganization": true,
  "languageId": "sample string 40",
  "mobilePhone": "sample string 41",
  "name": "sample string 42",
  "organizationId": 43,
  "paymentConditionId": "sample string 44",
  "person": "sample string 45",
  "pricelistId": "sample string 46",
  "printPurchaseDetails": true,
  "purchaseOrganizationId": "sample string 48",
  "purchaseOrganizationMemberId": "sample string 49",
  "revenueAccountId": "sample string 50",
  "shortName": "sample string 51",
  "street1": "sample string 52",
  "street2": "sample string 53",
  "supplierId": "sample string 54",
  "telephone": "sample string 55",
  "usesUBLInvoice": true,
  "vatNumber": "sample string 57",
  "vatScenarioId": 1,
  "vatVerificationDate": "sample string 58",
  "zipCode": "sample string 59"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountManagerId>sample string 1</AccountManagerId>
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <ApplyOrderSurcharge>true</ApplyOrderSurcharge>
  <BusinessNumber>sample string 3</BusinessNumber>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 5</CannotChangeReason>
  <ChargeVatTypeId>No</ChargeVatTypeId>
  <City>sample string 6</City>
  <CocCity>sample string 7</CocCity>
  <CocDate>sample string 8</CocDate>
  <CocRegistration>sample string 9</CocRegistration>
  <CollectiveInvoiceSystemId>sample string 10</CollectiveInvoiceSystemId>
  <CombineInvoicesForElectronicBanking>true</CombineInvoicesForElectronicBanking>
  <CountryId>sample string 12</CountryId>
  <CreditLimit>13</CreditLimit>
  <CreditSqueezeId>sample string 14</CreditSqueezeId>
  <CurrencyId>sample string 15</CurrencyId>
  <CustomerGroupId>16</CustomerGroupId>
  <CustomerId>sample string 17</CustomerId>
  <CustomerStateId>sample string 18</CustomerStateId>
  <Database>sample string 19</Database>
  <DateChanged>sample string 20</DateChanged>
  <DateCreated>sample string 21</DateCreated>
  <DeliveryConditionId>sample string 22</DeliveryConditionId>
  <DiscountPercentage>23</DiscountPercentage>
  <Email>sample string 24</Email>
  <Fax>sample string 25</Fax>
  <FullAddress>sample string 26</FullAddress>
  <FullDeliveryAddress>sample string 27</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 28</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 29</GoogleMapsUrl>
  <GovernmentDigitalId>sample string 30</GovernmentDigitalId>
  <HasOutstandingBalance>true</HasOutstandingBalance>
  <Homepage>sample string 32</Homepage>
  <IncludeVatOnOrderByDefault>true</IncludeVatOnOrderByDefault>
  <IntrastatGoodsCodeId>1</IntrastatGoodsCodeId>
  <IntrastatGoodsDistributionId>1</IntrastatGoodsDistributionId>
  <IntrastatStatSystemId>1</IntrastatStatSystemId>
  <IntrastatTrafficRegionId>1</IntrastatTrafficRegionId>
  <IntrastatTransactionTypeId>sample string 34</IntrastatTransactionTypeId>
  <IntrastatTransportTypeId>1</IntrastatTransportTypeId>
  <InvoiceOnBehalfOfMembers>true</InvoiceOnBehalfOfMembers>
  <IsDunForPayment>true</IsDunForPayment>
  <IsInFactoring>true</IsInFactoring>
  <IsPaymentRefRequired>true</IsPaymentRefRequired>
  <IsPurchaseOrganization>true</IsPurchaseOrganization>
  <LanguageId>sample string 40</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 41</MobilePhone>
  <Name>sample string 42</Name>
  <OrganizationId>43</OrganizationId>
  <PaymentConditionId>sample string 44</PaymentConditionId>
  <Person>sample string 45</Person>
  <PricelistId>sample string 46</PricelistId>
  <PrintPurchaseDetails>true</PrintPurchaseDetails>
  <PurchaseOrganizationId>sample string 48</PurchaseOrganizationId>
  <PurchaseOrganizationMemberId>sample string 49</PurchaseOrganizationMemberId>
  <RevenueAccountId>sample string 50</RevenueAccountId>
  <ShortName>sample string 51</ShortName>
  <Street1>sample string 52</Street1>
  <Street2>sample string 53</Street2>
  <SupplierId>sample string 54</SupplierId>
  <Telephone>sample string 55</Telephone>
  <UsesUBLInvoice>true</UsesUBLInvoice>
  <VatNumber>sample string 57</VatNumber>
  <VatScenarioId>1</VatScenarioId>
  <VatVerificationDate>sample string 58</VatVerificationDate>
  <ZipCode>sample string 59</ZipCode>
</Customer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountManagerId": "sample string 1",
  "addresses": null,
  "messages": [],
  "applyOrderSurcharge": true,
  "businessNumber": "sample string 3",
  "canChange": true,
  "cannotChangeReason": "sample string 5",
  "chargeVatTypeId": 0,
  "city": "sample string 6",
  "cocCity": "sample string 7",
  "cocDate": "sample string 8",
  "cocRegistration": "sample string 9",
  "collectiveInvoiceSystemId": "sample string 10",
  "combineInvoicesForElectronicBanking": true,
  "countryId": "sample string 12",
  "creditLimit": 13.0,
  "creditSqueezeId": "sample string 14",
  "currencyId": "sample string 15",
  "customerGroupId": 16,
  "customerId": "sample string 17",
  "customerStateId": "sample string 18",
  "database": "sample string 19",
  "dateChanged": "sample string 20",
  "dateCreated": "sample string 21",
  "deliveryConditionId": "sample string 22",
  "discountPercentage": 23.0,
  "email": "sample string 24",
  "fax": "sample string 25",
  "fullAddress": "sample string 26",
  "fullDeliveryAddress": "sample string 27",
  "googleMapsDirectionsUrl": "sample string 28",
  "googleMapsUrl": "sample string 29",
  "governmentDigitalId": "sample string 30",
  "hasOutstandingBalance": true,
  "homepage": "sample string 32",
  "includeVatOnOrderByDefault": true,
  "intrastatGoodsCodeId": 1,
  "intrastatGoodsDistributionId": 1,
  "intrastatStatSystemId": 1,
  "intrastatTrafficRegionId": 1,
  "intrastatTransactionTypeId": "sample string 34",
  "intrastatTransportTypeId": 1,
  "invoiceOnBehalfOfMembers": true,
  "isDunForPayment": true,
  "isInFactoring": true,
  "isPaymentRefRequired": true,
  "isPurchaseOrganization": true,
  "languageId": "sample string 40",
  "mobilePhone": "sample string 41",
  "name": "sample string 42",
  "organizationId": 43,
  "paymentConditionId": "sample string 44",
  "person": "sample string 45",
  "pricelistId": "sample string 46",
  "printPurchaseDetails": true,
  "purchaseOrganizationId": "sample string 48",
  "purchaseOrganizationMemberId": "sample string 49",
  "revenueAccountId": "sample string 50",
  "shortName": "sample string 51",
  "street1": "sample string 52",
  "street2": "sample string 53",
  "supplierId": "sample string 54",
  "telephone": "sample string 55",
  "usesUBLInvoice": true,
  "vatNumber": "sample string 57",
  "vatScenarioId": 1,
  "vatVerificationDate": "sample string 58",
  "zipCode": "sample string 59"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountManagerId>sample string 1</AccountManagerId>
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <ApplyOrderSurcharge>true</ApplyOrderSurcharge>
  <BusinessNumber>sample string 3</BusinessNumber>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 5</CannotChangeReason>
  <ChargeVatTypeId>No</ChargeVatTypeId>
  <City>sample string 6</City>
  <CocCity>sample string 7</CocCity>
  <CocDate>sample string 8</CocDate>
  <CocRegistration>sample string 9</CocRegistration>
  <CollectiveInvoiceSystemId>sample string 10</CollectiveInvoiceSystemId>
  <CombineInvoicesForElectronicBanking>true</CombineInvoicesForElectronicBanking>
  <CountryId>sample string 12</CountryId>
  <CreditLimit>13</CreditLimit>
  <CreditSqueezeId>sample string 14</CreditSqueezeId>
  <CurrencyId>sample string 15</CurrencyId>
  <CustomerGroupId>16</CustomerGroupId>
  <CustomerId>sample string 17</CustomerId>
  <CustomerStateId>sample string 18</CustomerStateId>
  <Database>sample string 19</Database>
  <DateChanged>sample string 20</DateChanged>
  <DateCreated>sample string 21</DateCreated>
  <DeliveryConditionId>sample string 22</DeliveryConditionId>
  <DiscountPercentage>23</DiscountPercentage>
  <Email>sample string 24</Email>
  <Fax>sample string 25</Fax>
  <FullAddress>sample string 26</FullAddress>
  <FullDeliveryAddress>sample string 27</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 28</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 29</GoogleMapsUrl>
  <GovernmentDigitalId>sample string 30</GovernmentDigitalId>
  <HasOutstandingBalance>true</HasOutstandingBalance>
  <Homepage>sample string 32</Homepage>
  <IncludeVatOnOrderByDefault>true</IncludeVatOnOrderByDefault>
  <IntrastatGoodsCodeId>1</IntrastatGoodsCodeId>
  <IntrastatGoodsDistributionId>1</IntrastatGoodsDistributionId>
  <IntrastatStatSystemId>1</IntrastatStatSystemId>
  <IntrastatTrafficRegionId>1</IntrastatTrafficRegionId>
  <IntrastatTransactionTypeId>sample string 34</IntrastatTransactionTypeId>
  <IntrastatTransportTypeId>1</IntrastatTransportTypeId>
  <InvoiceOnBehalfOfMembers>true</InvoiceOnBehalfOfMembers>
  <IsDunForPayment>true</IsDunForPayment>
  <IsInFactoring>true</IsInFactoring>
  <IsPaymentRefRequired>true</IsPaymentRefRequired>
  <IsPurchaseOrganization>true</IsPurchaseOrganization>
  <LanguageId>sample string 40</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 41</MobilePhone>
  <Name>sample string 42</Name>
  <OrganizationId>43</OrganizationId>
  <PaymentConditionId>sample string 44</PaymentConditionId>
  <Person>sample string 45</Person>
  <PricelistId>sample string 46</PricelistId>
  <PrintPurchaseDetails>true</PrintPurchaseDetails>
  <PurchaseOrganizationId>sample string 48</PurchaseOrganizationId>
  <PurchaseOrganizationMemberId>sample string 49</PurchaseOrganizationMemberId>
  <RevenueAccountId>sample string 50</RevenueAccountId>
  <ShortName>sample string 51</ShortName>
  <Street1>sample string 52</Street1>
  <Street2>sample string 53</Street2>
  <SupplierId>sample string 54</SupplierId>
  <Telephone>sample string 55</Telephone>
  <UsesUBLInvoice>true</UsesUBLInvoice>
  <VatNumber>sample string 57</VatNumber>
  <VatScenarioId>1</VatScenarioId>
  <VatVerificationDate>sample string 58</VatVerificationDate>
  <ZipCode>sample string 59</ZipCode>
</Customer>