Creates an in progress subscription order

If no subscription order action is provided, the subscription order Action will be defaulted to subscription order action Purchase

Orders with the subscription order action Reactivate action will be created with the subscription order Subscription automatically set to the reactivation billing option.

Licenses Required

  • Vista.Ocapi
  • Vista.Subscriptions
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:

Details of the subscription order to be created

action
required
string (SubscriptionOrderAction)

Represents the action that will be performed during a subscription order

Enum: "Purchase" "Reactivate"
Responses
200

Success

400

Gift shop does not exist.

post/ocapi/v1/orders/subscription
Request samples
{
  • "action": "Purchase"
}
Response samples
application/json
{
  • "order": {
    },
  • "relatedData": {
    }
}