Applies to: Partner Center | Partner Center operated by 21Vianet | Partner Center for Microsoft Cloud for US Government
A partner places an order when a customer wants to buy a subscription from a list of offers.
Note
The Order resource has a rate limit of 500 requests per minute per tenant identifier.
Order
Describes a partner's order.
Property
Type
Description
id
string
An order identifier that is supplied upon successful creation of the order.
alternateId
string
A friendly identifier for the order.
referenceCustomerId
string
The customer identifier.
billingCycle
string
Indicates the frequency with which the partner is billed for this order. Supported values are the member names found in BillingCycleType. The default is Monthly or OneTime at order creation. This field is applied upon successful creation of the order.
transactionType
string
Read-only. The transaction type of the order. Supported values are UserPurchase, SystemPurchase, or SystemBilling
The metadata attributes corresponding to the Order.
OrderLineItem
An order contains an itemized list of offers, and each item is represented as an OrderLineItem.
Property
Type
Description
lineItemNumber
int
Each line item in the collection gets a unique line number, counting up from 0 to count-1.
offerId
string
The ID of the offer.
subscriptionId
string
The ID of the subscription.
parentSubscriptionId
string
Optional. The ID of the parent subscription in an add-on offer. Applies to PATCH only.
friendlyName
string
Optional. The friendly name for the subscription defined by the partner to help disambiguate.
quantity
int
The number of licenses or instances.
customTermEndDate
DateTime
The end date of the first billing term of the new subscription.
termDuration
string
An ISO 8601 representation of the term's duration. The current supported values are P1M (1 month), P1Y (1 year) and P3Y (3 years).
transactionType
string
Read-only. The transaction type of the line item. Supported Values are new, renew, addQuantity, removeQuantity, cancel, convert, or customerCredit.
partnerIdOnRecord
string
When an indirect provider places an order on behalf of an indirect reseller, populate this field with the PartnerID of the indirect reseller only (never the ID of the indirect provider). This ensures proper accounting for incentives.
Information required for provisioning for some items in the catalog. The provisioningVariables property in a SKU indicates which properties are required for specific items in the catalog.
Indicates agreement to offer or sku conditions. Required only for offers or skus where SkuAttestationProperties or OfferAttestationProperties enforceAttestation is True.
The order is pending secondary review. Partners might be required to upload documentation. See Secondary deal review training deck to learn what to expect if you're selected for a secondary deal review.
pending po upload
6
The partner is to upload their Customer Purchase Order and enter details as outlined within for review by Microsoft.
po upload complete
7
The purchase order (PO) was submitted by the partner, and Microsoft is reviewing. No further action required by the partner.
po review rejected
8
This order didn't pass the secondary review and won't be processed.
partial success
9
One or more subscriptions in the order have an issue. Partners should repurchase unfulfilled subscriptions.
error
10
The order resulted in an error. Partners should repurchase.
OrderLineItemProvisioningStatus
Represents the provisioning status of an OrderLineItem.
Property
Type
Description
lineItemNumber
int
The unique line number of the order line item. Values range from 0 to count-1.
status
string
The provisioning status of the order line item. Values include: Fulfilled: Fulfillment of the order is successfully completed and the user will be able to use the reservations Unfulfilled: Not fulfilled due to cancellation PrefulfillmentPending: Your request is still processing, fulfillment isn't yet complete
A list of quantity provisioning status information for the order line item.
QuantityProvisioningStatus
Represents the provisioning status by quantity.
Property
Type
Description
quantity
int
The number of items.
status
string
The status of the number of items.
ProvisioningContext
Information required for provisioning for some items in the catalog. The provisioningVariables property in a SKU indicates which properties are required for specific items in the catalog.
Property
Type
Description
scope
string
The scope type for a purchase that indicates where the benefits apply: Single,Shared.
entitlementId
string
The ID of the Azure subscription that would be used for a purchase. Required for Single scope.
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.
Resources for customers with usage-based subscriptions and monthly use budgets (including CustomerMonthlyUsageRecord, CustomerUsageSummary, PartnerUsageSummary, and SpendingBudget).