Create a subscription type
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYThis class is used to define the data transfer object for the SubscriptionType which is used to create or update a subscription type.
The name of the subscription type.
Represents the unit of time used for a subscription period.
The quantity of the subscription type.
The tags of the subscription type.
The z-order of the subscription type. If the value not provide, we will set the new z-order base on the current item's brand.
This enum is used to define the common status of an object in JFW.
Supported values:
- Inactive - In case of JFW object's status being inactive.
- Active - In case of JFW object's status being active
Flag to indicate if the subscription type is default. By default, it is false.
The description of the subscription type.
The request was successful.
This provides interfaces for API responses with data.
This is the flag to indicate whether the API call is successful or not.
This is the HTTP status code. This is used to determine the status code to be returned to the client.
This is the message to be displayed to the user.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
API call exceeded rate limit due to too many requests.
Last updated