PATCH api/ClientContactLensProducts/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

ClientContactLensChanges
NameDescriptionTypeAdditional information
AllowForInventoryOrders

boolean

None.

AllowForPatientOrders

boolean

None.

AllowForSubscription

boolean

None.

AllowForWebOrders

boolean

None.

AvailableToOrder

boolean

None.

Enabled

boolean

None.

IsExclusive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AllowForInventoryOrders": true,
  "AllowForPatientOrders": true,
  "AllowForSubscription": true,
  "AllowForWebOrders": true,
  "AvailableToOrder": true,
  "Enabled": true,
  "IsExclusive": true
}

application/xml, text/xml

Sample:
<ClientContactLensProductsController.ClientContactLensChanges xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OptiPort.Api.Controllers">
  <AllowForInventoryOrders>true</AllowForInventoryOrders>
  <AllowForPatientOrders>true</AllowForPatientOrders>
  <AllowForSubscription>true</AllowForSubscription>
  <AllowForWebOrders>true</AllowForWebOrders>
  <AvailableToOrder>true</AvailableToOrder>
  <Enabled>true</Enabled>
  <IsExclusive>true</IsExclusive>
</ClientContactLensProductsController.ClientContactLensChanges>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.