PUT Customers/ModifyCustomerType
Retrieves an existing CustomerType.
Request Information
URI Parameters
None.
Body Parameters
CustomerTypeBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| TariffID |
Default tariff to be used with this CustomerType. |
integer |
None. |
| InvoiceRequired | boolean |
None. |
|
| TaxDisplay |
if true, this user sees prices including taxes in front |
boolean |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"TariffID": 3,
"InvoiceRequired": true,
"TaxDisplay": true,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<CustomerTypeBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Customer"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID> <ID>1</ID> <InvoiceRequired>true</InvoiceRequired> <Name>sample string 2</Name> <TariffID>3</TariffID> <TaxDisplay>true</TaxDisplay> </CustomerTypeBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>