PurchaseRequestOrder

An PurchaseRequestOrder resource represents an order.

Resource definition

{
  "externalOrderId": "string",
  "countryCode": "string",
  "resellerCustomerId": 0,
  "adminAccount": "string",
  "notificationEmail": "string",
  "invoiceProfileId": 0,
  "errors": [
    {
      "orderGroupId": "string",
      "code": 0,
      "description": "string"
    }
  ],
  "orderLines": [
    {
      "productId": "string",
      "subscriptionId": 0,
      "armRegionName": "string",
      "skuId": "string",
      "productVariantId": 0,
      "quantity": 0,
      "billingCycle": 0,
      "provisioningContext": {
        "additionalProp1": "string",
        "additionalProp2": "string",
        "additionalProp3": "string"
      },
      "type": 1,
      "requiresInventoryCheck": true,
      "catalogItemId": "string",
      "termDuration": "string",
      "scope": 1,
      "resellerPriceType": 0,
      "resellerPriceTypeValue": 0,
      "isTrial": true,
      "tags": {
        "assetId": 0,
        "costCenter": "string",
        "department": "string",
        "project": "string",
        "custom": "string",
        "owner": "string"
      },
      "customTermEndDate": "2022-08-27 23:59:59.000",
      "errors": [
        {
          "reasonCode": "string",
          "description": "string",
          "properties": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          }
        }
      ],
    }
  ]
}

Name

Type

Description

ResellerCustomerId

int

Customer tenant id

CountryCode

string

Country code

ExternalOrderId

string

AdminAccount

string

CustomTermEndDate

DateTime

Value used to coterminate subscription

ScheduledPurchaseDate

DateTime

Creating a scheduled purchase request when a value is passed for a Date in the future; providing a null value or todays Date, the order will be treated as a normal purchase request

Operations on PurchaseRequestOrder