POST Subscriber/{subscriberId}/Configuration/DynamicPricingConfiguration

Update the opt in and enabled status of the Dynamic Pricing Configuration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriberId

integer

Required

Body Parameters

DynamicPricingConfigurationRequest
NameDescriptionTypeAdditional information
IsEnabled

If true, dynamic pricing is considered to be enabled; false otherwise.

boolean

None.

OptIn

Whether or not the subscriber has explicitly chosen to opt into Dynamic Pricing

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IsEnabled": true,
  "OptIn": true
}

application/xml, text/xml

Sample:
<DynamicPricingConfigurationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Api.Subscriber.Models.Requests">
  <IsEnabled>true</IsEnabled>
  <OptIn>true</OptIn>
</DynamicPricingConfigurationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.