Subscription

A Subscription resource represents a subscription.

Resource definition

{
  "Id": 123,
  "PublisherSubscriptionId": "f74ccc97-1bc2-462f-9206-88d18635a3a6",
  "Quantity": 1,
  "Name": "My customer AB",
  "Status": 1,
  "OrderId": "08e27c60-a160-439c-9420-207263fbf2b6",
  "Publisher": {
    "Id": 1,
    "Name": "Subscription publisher"
  },
  "Organization": {
    "Id": 3869,
    "Name": "My company AB"
  },
  "CustomerTenant": {
    "Id": 486
  },
  "Product": {
    "Id": 133518,
    "PartNumber": "85e8de32-c3cd-40aa-aaf1-0878859ee204",
    "ItemLegalName": "",
    "ItemName": ""
  },
  "CreationDate": "2015-11-23T13:55:00.37+01:00",
  "AvailableAddonsCount": 0,
  "TermDuration": "P1Y",
  "CancellationAllowedUntilDate": "2021-10-14T23:59:00Z",
  "ScheduledNextTermInstructions": {
    "Product": {
      "ProductId": "CFA5TTC0LF8R",
      "SkuId": "0001",
      "AvailabilityId": "CAR7TTC0K821",
      "BillingCycle": "Annual",
      "TermDuration": "P1Y"
    },
    "Quantity": 5
  },
  "Subscriptions": [],
  "SubscriptionMaxTreshold": 5
}

Operations on subscription