POST api/Customer/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateCustomerParmName | Description | Type | Additional information |
---|---|---|---|
auth | string |
None. |
|
CustomerID | integer |
None. |
|
OfficeID | integer |
None. |
|
AccountNumber | string |
None. |
|
CustomerName | string |
None. |
|
CountryID | string |
None. |
|
InvoiceName | string |
None. |
|
InvoiceAddress1 | string |
None. |
|
InvoiceAddress2 | string |
None. |
|
InvoiceAddress3 | string |
None. |
|
InvoiceCityName | string |
None. |
|
InvoiceStateProvID | string |
None. |
|
InvoicePostalCode | string |
None. |
|
InvoiceCountryID | string |
None. |
|
InvoiceAttention | string |
None. |
|
AccountStatus | string |
None. |
|
HoldNote | string |
None. |
|
Balance | decimal number |
None. |
|
CurrencyID | string |
None. |
|
SalesPersonID | integer |
None. |
|
BillingCycleID | integer |
None. |
|
CreditLimit | decimal number |
None. |
|
PaymentTerms | integer |
None. |
|
OpenDateTime | date |
None. |
|
LastInvoiceDateTime | date |
None. |
|
InvoiceBreak | string |
None. |
|
InvoiceBreakAmount | decimal number |
None. |
|
ReferenceValue | string |
None. |
|
ReferenceRequired | boolean |
None. |
|
ReferenceLocked | boolean |
None. |
|
CustomerClassID | integer |
None. |
|
BillToCustomerID | integer |
None. |
|
ARAccountNumber | string |
None. |
|
PickupAddressID | integer |
None. |
|
PickupAddressCode | string |
None. |
|
PickupCompanyName | string |
None. |
|
PickupAddress1 | string |
None. |
|
PickupAddress2 | string |
None. |
|
PickupAddress3 | string |
None. |
|
PickupCityName | string |
None. |
|
PickupStateProvID | string |
None. |
|
PickupPostalCode | string |
None. |
|
PickupCountryID | string |
None. |
|
PickupTimezoneID | string |
None. |
|
PickupContactName | string |
None. |
|
PickupPhoneNumber | string |
None. |
|
PickupAfterHoursNumber | string |
None. |
|
PickupFaxNumber | string |
None. |
|
PickupEmailAddress | string |
None. |
|
PickupInstructions | string |
None. |
|
PickupDefaultAirportID | string |
None. |
|
PickupDistanceToAirport | integer |
None. |
|
PickupDistanceUOM | string |
None. |
|
DeliveryAddressID | integer |
None. |
|
DeliveryAddressCode | string |
None. |
|
DeliveryCompanyName | string |
None. |
|
DeliveryAddress1 | string |
None. |
|
DeliveryAddress2 | string |
None. |
|
DeliveryAddress3 | string |
None. |
|
DeliveryCityName | string |
None. |
|
DeliveryStateProvID | string |
None. |
|
DeliveryPostalCode | string |
None. |
|
DeliveryCountryID | string |
None. |
|
DeliveryTimezoneID | string |
None. |
|
DeliveryContactName | string |
None. |
|
DeliveryPhoneNumber | string |
None. |
|
DeliveryAfterHoursNumber | string |
None. |
|
DeliveryFaxNumber | string |
None. |
|
DeliveryEmailAddress | string |
None. |
|
DeliveryInstructions | string |
None. |
|
DeliveryDefaultAirportID | string |
None. |
|
DeliveryDistanceToAirport | integer |
None. |
|
DeliveryDistanceUOM | string |
None. |
|
SecurityCode | string |
None. |
|
BillingUserGUID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "auth": "sample string 1", "CustomerID": 2, "OfficeID": 3, "AccountNumber": "sample string 4", "CustomerName": "sample string 5", "CountryID": "sample string 6", "InvoiceName": "sample string 7", "InvoiceAddress1": "sample string 8", "InvoiceAddress2": "sample string 9", "InvoiceAddress3": "sample string 10", "InvoiceCityName": "sample string 11", "InvoiceStateProvID": "sample string 12", "InvoicePostalCode": "sample string 13", "InvoiceCountryID": "sample string 14", "InvoiceAttention": "sample string 15", "AccountStatus": "sample string 16", "HoldNote": "sample string 17", "Balance": 18.0, "CurrencyID": "sample string 19", "SalesPersonID": 20, "BillingCycleID": 21, "CreditLimit": 22.0, "PaymentTerms": 23, "OpenDateTime": "2025-04-04T03:41:36.4633622+00:00", "LastInvoiceDateTime": "2025-04-04T03:41:36.4633622+00:00", "InvoiceBreak": "sample string 25", "InvoiceBreakAmount": 1.0, "ReferenceValue": "sample string 26", "ReferenceRequired": true, "ReferenceLocked": true, "CustomerClassID": 29, "BillToCustomerID": 1, "ARAccountNumber": "sample string 30", "PickupAddressID": 1, "PickupAddressCode": "sample string 31", "PickupCompanyName": "sample string 32", "PickupAddress1": "sample string 33", "PickupAddress2": "sample string 34", "PickupAddress3": "sample string 35", "PickupCityName": "sample string 36", "PickupStateProvID": "sample string 37", "PickupPostalCode": "sample string 38", "PickupCountryID": "sample string 39", "PickupTimezoneID": "sample string 40", "PickupContactName": "sample string 41", "PickupPhoneNumber": "sample string 42", "PickupAfterHoursNumber": "sample string 43", "PickupFaxNumber": "sample string 44", "PickupEmailAddress": "sample string 45", "PickupInstructions": "sample string 46", "PickupDefaultAirportID": "sample string 47", "PickupDistanceToAirport": 1, "PickupDistanceUOM": "sample string 48", "DeliveryAddressID": 1, "DeliveryAddressCode": "sample string 49", "DeliveryCompanyName": "sample string 50", "DeliveryAddress1": "sample string 51", "DeliveryAddress2": "sample string 52", "DeliveryAddress3": "sample string 53", "DeliveryCityName": "sample string 54", "DeliveryStateProvID": "sample string 55", "DeliveryPostalCode": "sample string 56", "DeliveryCountryID": "sample string 57", "DeliveryTimezoneID": "sample string 58", "DeliveryContactName": "sample string 59", "DeliveryPhoneNumber": "sample string 60", "DeliveryAfterHoursNumber": "sample string 61", "DeliveryFaxNumber": "sample string 62", "DeliveryEmailAddress": "sample string 63", "DeliveryInstructions": "sample string 64", "DeliveryDefaultAirportID": "sample string 65", "DeliveryDistanceToAirport": 1, "DeliveryDistanceUOM": "sample string 66", "SecurityCode": "sample string 67", "BillingUserGUID": "sample string 68" }
application/xml, text/xml
Sample:
<UpdateCustomerParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ARAccountNumber>sample string 30</ARAccountNumber> <AccountNumber>sample string 4</AccountNumber> <AccountStatus>sample string 16</AccountStatus> <Balance>18</Balance> <BillToCustomerID>1</BillToCustomerID> <BillingCycleID>21</BillingCycleID> <BillingUserGUID>sample string 68</BillingUserGUID> <CountryID>sample string 6</CountryID> <CreditLimit>22</CreditLimit> <CurrencyID>sample string 19</CurrencyID> <CustomerClassID>29</CustomerClassID> <CustomerID>2</CustomerID> <CustomerName>sample string 5</CustomerName> <DeliveryAddress1>sample string 51</DeliveryAddress1> <DeliveryAddress2>sample string 52</DeliveryAddress2> <DeliveryAddress3>sample string 53</DeliveryAddress3> <DeliveryAddressCode>sample string 49</DeliveryAddressCode> <DeliveryAddressID>1</DeliveryAddressID> <DeliveryAfterHoursNumber>sample string 61</DeliveryAfterHoursNumber> <DeliveryCityName>sample string 54</DeliveryCityName> <DeliveryCompanyName>sample string 50</DeliveryCompanyName> <DeliveryContactName>sample string 59</DeliveryContactName> <DeliveryCountryID>sample string 57</DeliveryCountryID> <DeliveryDefaultAirportID>sample string 65</DeliveryDefaultAirportID> <DeliveryDistanceToAirport>1</DeliveryDistanceToAirport> <DeliveryDistanceUOM>sample string 66</DeliveryDistanceUOM> <DeliveryEmailAddress>sample string 63</DeliveryEmailAddress> <DeliveryFaxNumber>sample string 62</DeliveryFaxNumber> <DeliveryInstructions>sample string 64</DeliveryInstructions> <DeliveryPhoneNumber>sample string 60</DeliveryPhoneNumber> <DeliveryPostalCode>sample string 56</DeliveryPostalCode> <DeliveryStateProvID>sample string 55</DeliveryStateProvID> <DeliveryTimezoneID>sample string 58</DeliveryTimezoneID> <HoldNote>sample string 17</HoldNote> <InvoiceAddress1>sample string 8</InvoiceAddress1> <InvoiceAddress2>sample string 9</InvoiceAddress2> <InvoiceAddress3>sample string 10</InvoiceAddress3> <InvoiceAttention>sample string 15</InvoiceAttention> <InvoiceBreak>sample string 25</InvoiceBreak> <InvoiceBreakAmount>1</InvoiceBreakAmount> <InvoiceCityName>sample string 11</InvoiceCityName> <InvoiceCountryID>sample string 14</InvoiceCountryID> <InvoiceName>sample string 7</InvoiceName> <InvoicePostalCode>sample string 13</InvoicePostalCode> <InvoiceStateProvID>sample string 12</InvoiceStateProvID> <LastInvoiceDateTime>2025-04-04T03:41:36.4633622+00:00</LastInvoiceDateTime> <OfficeID>3</OfficeID> <OpenDateTime>2025-04-04T03:41:36.4633622+00:00</OpenDateTime> <PaymentTerms>23</PaymentTerms> <PickupAddress1>sample string 33</PickupAddress1> <PickupAddress2>sample string 34</PickupAddress2> <PickupAddress3>sample string 35</PickupAddress3> <PickupAddressCode>sample string 31</PickupAddressCode> <PickupAddressID>1</PickupAddressID> <PickupAfterHoursNumber>sample string 43</PickupAfterHoursNumber> <PickupCityName>sample string 36</PickupCityName> <PickupCompanyName>sample string 32</PickupCompanyName> <PickupContactName>sample string 41</PickupContactName> <PickupCountryID>sample string 39</PickupCountryID> <PickupDefaultAirportID>sample string 47</PickupDefaultAirportID> <PickupDistanceToAirport>1</PickupDistanceToAirport> <PickupDistanceUOM>sample string 48</PickupDistanceUOM> <PickupEmailAddress>sample string 45</PickupEmailAddress> <PickupFaxNumber>sample string 44</PickupFaxNumber> <PickupInstructions>sample string 46</PickupInstructions> <PickupPhoneNumber>sample string 42</PickupPhoneNumber> <PickupPostalCode>sample string 38</PickupPostalCode> <PickupStateProvID>sample string 37</PickupStateProvID> <PickupTimezoneID>sample string 40</PickupTimezoneID> <ReferenceLocked>true</ReferenceLocked> <ReferenceRequired>true</ReferenceRequired> <ReferenceValue>sample string 26</ReferenceValue> <SalesPersonID>20</SalesPersonID> <SecurityCode>sample string 67</SecurityCode> <auth>sample string 1</auth> </UpdateCustomerParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseBaseName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> </ResponseBase>