PATCH api/V2/Customers/UpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerV2
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

Address

string

None.

Country

string

None.

PostalCode

string

None.

City

string

None.

ActivityCode

string

None.

RegistrationNumber

string

None.

WebSiteURL

string

None.

SubjectToVAT

string

None.

TaxNumber

string

None.

ExpirationDays

integer

None.

RebatePercent

decimal number

None.

Currency

string

None.

PriceList

string

None.

Notes

string

None.

Usage

string

None.

FirstGroupCode

string

None.

SecondGroupCode

string

None.

CustomerPayerCode

string

None.

EANCustomerCode

string

None.

BranchOfficeName

string

None.

TaxAccounting

string

None.

SuggestFirstFreeCode

integer

None.

SalesClerkID

string

None.

PurchaseClerkID

string

None.

Name1

string

None.

Name2

string

None.

Name3

string

None.

CustomerStatus

boolean

None.

Name1Transfer

string

None.

Name2Transfer

string

None.

Name3Transfer

string

None.

CustomerType

string

None.

Region

string

None.

EntityType

string

None.

Street

string

None.

HomeNumber

string

None.

CustomerCodeGroup

string

None.

SupplierExpirationDays

integer

None.

ExpirationDaysGroupID

string

None.

DiscountGroupID

string

None.

SupplierDiscountGroupID

string

None.

LanguageID

string

None.

SupplierPriceList

string

None.

AccountingBookGroupID

string

None.

SupplierAccountingBookGroupID

string

None.

DiscountPriceList

string

None.

OrderBookID

string

None.

Defaulter

boolean

None.

UpfrontPayment

boolean

None.

ShippingMethodId

string

None.

SearchTag

string

None.

RecordInserted

date

None.

RecordInsertedBy

string

None.

RecordLastModified

date

None.

RecordLastModifiedBy

string

None.

InstitutionalSector

string

None.

NRInstitutionalSector

string

None.

CustomerRating

string

None.

InvoicingMethod

string

None.

AlertMessage

string

None.

AlertMinimalAmount

decimal number

None.

BlockingUpMessage

string

None.

BlockingUpAmount

decimal number

None.

AlertNumberOfDays

integer

None.

BlockingUpNumberOfDays

integer

None.

SIDReporting

boolean

None.

SIDLimitAmount

decimal number

None.

AnalyticId

string

None.

ParityCode

string

None.

ExternalID

string

None.

Request Formats

application/xml, text/xml

Sample:
<Customer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Code>sample string 1</Code>
  <Name>sample string 2</Name>
  <Address>sample string 3</Address>
  <Country>sample string 4</Country>
  <PostalCode>sample string 5</PostalCode>
  <City>sample string 6</City>
  <ActivityCode>sample string 7</ActivityCode>
  <RegistrationNumber>sample string 8</RegistrationNumber>
  <WebSiteURL>sample string 9</WebSiteURL>
  <SubjectToVAT>sample string 10</SubjectToVAT>
  <TaxNumber>sample string 11</TaxNumber>
  <ExpirationDays>1</ExpirationDays>
  <RebatePercent>1.1</RebatePercent>
  <Currency>sample string 12</Currency>
  <PriceList>sample string 13</PriceList>
  <Notes>sample string 14</Notes>
  <Usage>sample string 15</Usage>
  <FirstGroupCode>sample string 16</FirstGroupCode>
  <SecondGroupCode>sample string 17</SecondGroupCode>
  <CustomerPayerCode>sample string 18</CustomerPayerCode>
  <EANCustomerCode>sample string 19</EANCustomerCode>
  <BranchOfficeName>sample string 20</BranchOfficeName>
  <TaxAccounting>sample string 21</TaxAccounting>
  <SuggestFirstFreeCode>1</SuggestFirstFreeCode>
  <SalesClerkID>sample string 22</SalesClerkID>
  <PurchaseClerkID>sample string 23</PurchaseClerkID>
  <Name1>sample string 24</Name1>
  <Name2>sample string 25</Name2>
  <Name3>sample string 26</Name3>
  <CustomerStatus>true</CustomerStatus>
  <Name1Transfer>sample string 27</Name1Transfer>
  <Name2Transfer>sample string 28</Name2Transfer>
  <Name3Transfer>sample string 29</Name3Transfer>
  <CustomerType>sample string 30</CustomerType>
  <Region>sample string 31</Region>
  <EntityType>sample string 32</EntityType>
  <Street>sample string 33</Street>
  <HomeNumber>sample string 34</HomeNumber>
  <CustomerCodeGroup>sample string 35</CustomerCodeGroup>
  <SupplierExpirationDays>1</SupplierExpirationDays>
  <ExpirationDaysGroupID>sample string 36</ExpirationDaysGroupID>
  <DiscountGroupID>sample string 37</DiscountGroupID>
  <SupplierDiscountGroupID>sample string 38</SupplierDiscountGroupID>
  <LanguageID>sample string 39</LanguageID>
  <SupplierPriceList>sample string 40</SupplierPriceList>
  <AccountingBookGroupID>sample string 41</AccountingBookGroupID>
  <SupplierAccountingBookGroupID>sample string 42</SupplierAccountingBookGroupID>
  <DiscountPriceList>sample string 43</DiscountPriceList>
  <OrderBookID>sample string 44</OrderBookID>
  <Defaulter>true</Defaulter>
  <UpfrontPayment>true</UpfrontPayment>
  <ShippingMethodId>sample string 45</ShippingMethodId>
  <SearchTag>sample string 46</SearchTag>
  <RecordInserted>2024-11-21T05:09:57.541512+01:00</RecordInserted>
  <RecordInsertedBy>sample string 47</RecordInsertedBy>
  <RecordLastModified>2024-11-21T05:09:57.541512+01:00</RecordLastModified>
  <RecordLastModifiedBy>sample string 48</RecordLastModifiedBy>
  <InstitutionalSector>sample string 49</InstitutionalSector>
  <NRInstitutionalSector>sample string 50</NRInstitutionalSector>
  <CustomerRating>sample string 51</CustomerRating>
  <InvoicingMethod>sample string 52</InvoicingMethod>
  <AlertMessage>sample string 53</AlertMessage>
  <AlertMinimalAmount>1.1</AlertMinimalAmount>
  <BlockingUpMessage>sample string 54</BlockingUpMessage>
  <BlockingUpAmount>1.1</BlockingUpAmount>
  <AlertNumberOfDays>1</AlertNumberOfDays>
  <BlockingUpNumberOfDays>1</BlockingUpNumberOfDays>
  <SIDReporting>true</SIDReporting>
  <SIDLimitAmount>1.1</SIDLimitAmount>
  <AnalyticId>sample string 55</AnalyticId>
  <ParityCode>sample string 56</ParityCode>
  <ExternalID>sample string 57</ExternalID>
</Customer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>