POST api/CustomerGroups/AddCustomer
Adds relationship between customer and customer group.
Request Information
URI Parameters
None.
Body Parameters
AddCustomerGroupCustomerPostName | Description | Type | Additional information |
---|---|---|---|
CustomerId |
Customer id |
integer |
None. |
CustomerGroupId |
The customer will be added to the Customer group with this id. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "CustomerGroupId": 1 }
application/xml, text/xml
Sample:
<AddCustomerGroupCustomerPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts"> <CustomerGroupId>1</CustomerGroupId> <CustomerId>1</CustomerId> </AddCustomerGroupCustomerPost>
Response Information
Resource Description
IHttpActionResultNone.