POST Customers/AddCustomerType
Retrieves an existing CustomerType.
Request Information
URI Parameters
None.
Body Parameters
AddCustomerTypeBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"Name": "sample string 1",
"TariffID": 2,
"InvoiceRequired": true,
"TaxDisplay": true,
"Lang": "sample string 5",
"StoreID": 6
}
application/xml, text/xml
Sample:
<AddCustomerTypeBinding 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 5</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">6</StoreID> <InvoiceRequired>true</InvoiceRequired> <Name>sample string 1</Name> <TariffID>2</TariffID> <TaxDisplay>true</TaxDisplay> </AddCustomerTypeBinding>
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>