PUT Customers/ModifyCustomer
Updates an existing Customer. Requires ID of customer. {"DateOfBirth":"2000-02-15","Name":"David","FirstSurname":"Sanchez","SecondSurname":"Sanchez","Gender":1,"LanguageID":1,"OrganizationName":"Shopworld", "TypeID":1}
Request Information
URI Parameters
None.
Body Parameters
CustomerBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
Required String length: inclusive between 0 and 128 |
|
| StoreID | integer |
None. |
|
| ShippingContactID | integer |
None. |
|
| BillingContactID | integer |
None. |
|
| LanguageID | integer |
None. |
|
| TypeID | integer |
None. |
|
| PaymentMeansID | integer |
None. |
|
| BusinessName | string |
None. |
|
| InvoiceRequired | boolean |
None. |
|
| IsEquivalenceSurcharged | boolean |
None. |
|
| BusinessID |
A customer related to a business uses BusinessContacts as Shipping Contacts |
integer |
None. |
| ShippingBusinessContactID |
Default BusinessContact for this customer used for Shipping |
integer |
None. |
| Name | string |
Required |
|
| Surnames | string |
Required |
|
| Gender | Gender |
None. |
|
| DateOfBirth | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "sample string 1",
"StoreID": 2,
"ShippingContactID": 1,
"BillingContactID": 1,
"LanguageID": 3,
"TypeID": 4,
"PaymentMeansID": 5,
"BusinessName": "sample string 6",
"InvoiceRequired": true,
"IsEquivalenceSurcharged": true,
"BusinessID": 1,
"ShippingBusinessContactID": 1,
"Name": "sample string 9",
"Surnames": "sample string 10",
"Gender": 1,
"DateOfBirth": "2025-10-31T21:10:19.355361+01:00"
}
application/xml, text/xml
Sample:
<CustomerBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Customer"> <DateOfBirth xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">2025-10-31T21:10:19.355361+01:00</DateOfBirth> <Gender xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">Male</Gender> <Name xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 9</Name> <Surnames xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Base">sample string 10</Surnames> <BillingContactID>1</BillingContactID> <BusinessID>1</BusinessID> <BusinessName>sample string 6</BusinessName> <ID>sample string 1</ID> <InvoiceRequired>true</InvoiceRequired> <IsEquivalenceSurcharged>true</IsEquivalenceSurcharged> <LanguageID>3</LanguageID> <PaymentMeansID>5</PaymentMeansID> <ShippingBusinessContactID>1</ShippingBusinessContactID> <ShippingContactID>1</ShippingContactID> <StoreID>2</StoreID> <TypeID>4</TypeID> </CustomerBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.