Subscription Plan

A subscription plan is a stand-alone record that exposes a SuiteBilling subscription plan to REST web services.

A subscription requires a subscription plan, but the subscription plan is not always tied to a subscription.

The REST API Browser includes information about the field names and field types of the subscription plan record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s subscription plan reference page.

For information about using the REST API Browser, see The REST API Browser.

Record ID

The record ID for a subscription plan REST record is subscriptionplan.

The record ID for a subscription plan REST subrecord is subscriptionplanmember.

Prerequisites

You must Enabling SuiteBilling Features before you can use this record through REST web services.

Limitations

A subscription plan REST record does not show price books or related records.

When you access this record through REST web services, there is no link available for creating price books.

Code Sample

This sample shows a common use case for creating a subscription plan.

Create with all Header Fields

              { "itemid": "NotRested-2", "initialterm" : {"id" : 1}, "member": { "items": [{ "item": {"id": 5 }, "isrequired": true, "subscriptionlinetype": "2", "renewaloption": "DIFFERENT_PLAN" }] }
} 

            

Related Topics

REST Web Services Supported Records
SuiteTalk REST Web Services Overview and Setup
Working with Records
NetSuite Record Structure
The REST API Browser

General Notices