POST api/Customer/UpdatePickupDeliveryPreference
Request Information
URI Parameters
None.
Body Parameters
CustomerUpdatePickupDeliveryRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
AddressHash | string |
None. |
|
BuildingHash | string |
None. |
|
IsDefaultToPickup | boolean |
None. |
|
IsDefaultToDelivery | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "AddressHash": "sample string 2", "BuildingHash": "sample string 3", "IsDefaultToPickup": true, "IsDefaultToDelivery": true }
text/html
Sample:
{"CustomerId":1,"AddressHash":"sample string 2","BuildingHash":"sample string 3","IsDefaultToPickup":true,"IsDefaultToDelivery":true}
application/xml, text/xml
Sample:
<CustomerUpdatePickupDeliveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request"> <AddressHash>sample string 2</AddressHash> <BuildingHash>sample string 3</BuildingHash> <CustomerId>1</CustomerId> <IsDefaultToDelivery>true</IsDefaultToDelivery> <IsDefaultToPickup>true</IsDefaultToPickup> </CustomerUpdatePickupDeliveryRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.