Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes the seats configuration of a subscription
See: Enterprise Apps Reseller API Reference for reseller.subscriptions.changeSeats
.
- type SubscriptionsChangeSeatsResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("changeSeats" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Seats :> Post `[JSON]` Subscription)))))))))
- subscriptionsChangeSeats :: Seats -> Text -> Text -> SubscriptionsChangeSeats
- data SubscriptionsChangeSeats
- scsPayload :: Lens' SubscriptionsChangeSeats Seats
- scsCustomerId :: Lens' SubscriptionsChangeSeats Text
- scsSubscriptionId :: Lens' SubscriptionsChangeSeats Text
REST Resource
type SubscriptionsChangeSeatsResource = "apps" :> ("reseller" :> ("v1" :> ("customers" :> (Capture "customerId" Text :> ("subscriptions" :> (Capture "subscriptionId" Text :> ("changeSeats" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Seats :> Post `[JSON]` Subscription))))))))) Source
A resource alias for reseller.subscriptions.changeSeats
method which the
SubscriptionsChangeSeats
request conforms to.
Creating a Request
subscriptionsChangeSeats Source
Creates a value of SubscriptionsChangeSeats
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubscriptionsChangeSeats Source
Changes the seats configuration of a subscription
See: subscriptionsChangeSeats
smart constructor.
Request Lenses
scsPayload :: Lens' SubscriptionsChangeSeats Seats Source
Multipart request metadata.
scsCustomerId :: Lens' SubscriptionsChangeSeats Text Source
Id of the Customer
scsSubscriptionId :: Lens' SubscriptionsChangeSeats Text Source
Id of the subscription, which is unique for a customer