The subscribe call is a combined call that you can use to do all of the following in a single call. This call bundles up all the information needed to create one or more new subscriptions.
create accounts
create contacts
create payment methods
apply the first payment to a subscription
subscribe(SubscribeRequest[])
The argument is as shown in the following table. For information on the field types, see Field Types.
Argument | Description |
---|---|
SubscribeRequest[] | An array of one or more objects of type zObject. |
This call performs a large number of actions. It takes in an array of SubscribeRequests. Because it takes an array, you can submit a batch of subscription requests at once. Note that If the effective date is in the future there won't be any invoice generation, and hence there will be no invoice number.
Returns an array of SubscribeResult.
See the reference implementation.
Copyright © 2008-2009 Zuora, Inc.