- Partner Center
Resources that represent purchasable goods or services. Includes resources for describing the product type and shape (SKU), and for checking the availability of the product in an inventory.
Represents a purchasable good or service. A product by itself is not a purchasable item.
|id||string||The ID for this product.|
|title||string||The product title.|
|description||string||The product description.|
|productType||ItemType||An object that describes the type categorization(s) of this product.|
|links||ProductLinks||The resource links contained within the product.|
Represents the type of a product.
|id||string||The type identifier.|
|displayName||string||The display name for this type.|
|subType||ItemType||Optional. An object that describes a sub-type categorization for this item type.|
Contains a list of links for a Product.
|skus||Link||The link for accessing the underlying SKUs.|
|links||ResourceLinks||The resource links contained within this resource.|
Represents a purchasable Stock Keeping Unit (SKU) under a product. These represent the different shapes of the product.
|id||string||The ID for this SKU. This ID is unique only within the context of its parent product.|
|title||string||The title of the SKU.|
|description||string||The description of the SKU.|
|productId||string||The ID of the parent Product that contains this SKU.|
|minimumQuantity||int||The minimum quantity allowed for purchase.|
|maximumQuantity||int||The maximum quantity allowed for purchase.|
|isTrial||bool||Indicates whether this SKU is a trial item.|
|supportedBillingCycles||array of strings||The list of supported billing cycles for this SKU. Supported values are the member names found in BillingCycleType.|
|purchasePrerequisites||array of strings||The list of prerequisite steps or actions that are needed prior to purchasing this item. The supported values are:
"InventoryCheck" – Indicates that the item's inventory should be evaluated before attempting to purchase this item.
"AzureSubscriptionRegistration" – Indicates that an Azure subscription is needed and must be registered before attempting to purchase this item.
|inventoryVariables||array of strings||The list of variables needed to execute an inventory check on this item. The supported values are:
"CustomerId" – The ID of the customer that the purchase would be for.
"AzureSubscriptionId" – The ID of the Azure subscription that would be used for an Azure reservation purchase. "ArmRegionName" – The region for which to verify inventory. This value must match the "ArmRegionName" from the SKU’s DynamicAttributes.
|provisioningVariables||array of strings||The list of variables that must be provided into the provisioning context of a cart line item when purchasing this item. The supported values are:
Scope – The scope for an Azure reservation purchase: "Single", "Shared".
"AzureSubscriptionId" – The ID of the Azure subscription that would be used for an Azure reservation purchase.
"Duration" – The duration of the Azure reservation: "1Year", "3Year".
|dynamicAttributes||key/value pairs||The dictionary of dynamic properties that apply to this item. Please note that the properties in this dictionary are dynamic and can change without notice. You should not create strong dependencies on particular keys existing in the value of this property.|
|links||ResourceLinks||The resource links contained within the SKU.|
Represents a configuration in which a SKU is available for purchase (such as country, currency, and industry segment).
|id||string||The ID for this availability. This ID is unique only within the context of its parent product and SKU. Note This ID can change over time. You should only rely on this value within a short time span after retrieving it.|
|productId||string||The ID of the product that contains this availability.|
|skuId||string||The ID of the SKU that contains this availability.|
|catalogItemId||string||The unique identifier for this item in the catalog. This is the ID that must be populated into the OrderLineItem.OfferId or CartLineItem.CatalogItemId properties when purchasing the parent SKU. Note This ID can change over time. You should only rely on this value within a short time after retrieving it. It should only be accessed and used at the time of purchase.|
|defaultCurrency||string||The default currency supported for this availability.|
|segment||string||The industry segment for this availability. Supported values are: Commercial, Education, Government, NonProfit.|
|country||string||The country or region (in ISO country code format) where this availability applies.|
|links||ResourceLinks||The resource links contained within the availability.|
Represents a request to check inventory against certain catalog items.
|targetItems||array of InventoryItem||The list of catalog items that the inventory check will evaluate.|
|inventoryContext||key/value pairs||The dictionary of context values that are needed to carry out the inventory check(s). Each SKU of the products will define which values (if any) are needed to carry out this operation.|
|links||ResourceLinks||The resource links contained within the inventory check request.|
Represents a single item in an inventory check operation. This resource is used for specifying the target items in an input request and is also used to represent the output results of the inventory check operation.
|productId||string||(Required) The ID of the product.|
|skuId||string||The ID of the SKU. When using this resource as input to an inventory request, this value is optional. If this value is not provided, then all SKUs under the product will be considered as target items of the inventory check operation.|
|isRestricted||bool||Indicates whether this item was found to have a restricted inventory.|
|restrictions||array of InventoryRestriction||The details of any restrictions that are found for this item. This property will only be populated if isRestricted = "true".|
Represents the details of an inventory restriction. This is only applicable for inventory check output results, not for input requests.
|reasonCode||string||The code that identifies the reason for the restriction.|
|description||string||The description of the inventory restriction.|
|properties||key/value pairs||The dictionary of properties that may provide further details on the restriction.|
An Enum with values that indicate a type of billing cycle.
|Monthly||1||Indicates that the partner will be charged monthly.|
|Annual||2||Indicates that the partner will be charged annually.|
|None||3||Indicates that the partner will not be charged. This value may be used for trial items.|
|OneTime||4||Indicates that the partner will be charged one time.|