POST catalog/menu/modifier/update
Authorized only.
Request Information
URI Parameters
None.
Body Parameters
Collection of ApiUpdateModifierRequestName | Description | Type | Additional information |
---|---|---|---|
ModifierId | integer |
None. |
|
AvailableOnline | boolean |
None. |
|
AvailableOnRegister | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ModifierId": 1, "AvailableOnline": true, "AvailableOnRegister": true }, { "ModifierId": 1, "AvailableOnline": true, "AvailableOnRegister": true } ]
application/xml, text/xml
Sample:
<ArrayOfApiUpdateModifierRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog.Restaurant"> <ApiUpdateModifierRequest> <AvailableOnRegister>true</AvailableOnRegister> <AvailableOnline>true</AvailableOnline> <ModifierId>1</ModifierId> </ApiUpdateModifierRequest> <ApiUpdateModifierRequest> <AvailableOnRegister>true</AvailableOnRegister> <AvailableOnline>true</AvailableOnline> <ModifierId>1</ModifierId> </ApiUpdateModifierRequest> </ArrayOfApiUpdateModifierRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |