创建购物车的参数 [英] Parameter for Create a Cart

查看:129
本文介绍了创建购物车的参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在创建Cart和checkout时出错,指定了SubscriptionId,范围如下。

解决方案


"持续时间"是强制性的。您可以设置  value,如"1年","3年"。请查看下面的官方文档。


https://docs.microsoft.com/en-us/partner-center/develop/create-a-cart


provisioningContext :信息为目录中的某些项目供应所需。 SKU中的provisioningVariables属性指示目录中特定项目所需的属性。


我们可以在下面找到相关文章。


https://docs.microsoft.com/en-us/partner-center/develop/ product-resources #sku


provisioningVariables :必须提供到

购物车订单项
。支持的值为:

范围 - Azure预订购买的范围:"单个","共享"。

" AzureSubscriptionId" - 将用于Azure预订购买的Azure订阅的ID。

" Duration" - Azure预留的持续时间:"1年","3年"。


最好的问候,


Dennis


Hi,

We have an error on creating Cart and checkout with designating SubscriptionId, scope as below.

解决方案

Hi,

The "duration" is a mandatory. You can set value like "1Year", "3Year". Please check the official document below.

https://docs.microsoft.com/en-us/partner-center/develop/create-a-cart

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.

And we can find the article below.

https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku

provisioningVariables: 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".

Best Regards,

Dennis


这篇关于创建购物车的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆