Share via


CartErrorCode Enum

Definition

Types of cart error code.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Store.PartnerCenter.Models.JsonConverters.EnumJsonConverter))]
public enum CartErrorCode
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Store.PartnerCenter.Models.JsonConverters.EnumJsonConverter))>]
type CartErrorCode = 
Public Enum CartErrorCode
Inheritance
CartErrorCode
Attributes

Fields

Name Value Description
Unknown 0

Default value

CurrencyIsNotSupported 10000

Currency is not supported for given market

CatalogItemIdIsNotValid 10001

Catalog item id is not valid

QuotaNotAvailable 10002

Not enough quota available

InventoryNotAvailable 10003

Inventory is not available for selected offer

ParticipantsIsNotSupportedForPartner 10004

Setting participants is not supported for Partner

UnableToProcessCartLineItem 10006

Unable to process cart line item.

SubscriptionIsNotValid 10007

Subscription is not valid.

SubscriptionIsNotEnabledForRI 10008

Subscription is not enabled for RI purchase.

SandboxLimitExceeded 10009

The sandbox limit has been exceeded.

InvalidInput 10010

Generic input is not valid.

SubscriptionNotRegistered 10011

The subscription is not registered.

AttestationNotAccepted 10012

Attestation has not been accepted.

BillingPlanNotSupported 10013

Billing plan is not supported.

InvalidPromotionId 10014

The caller passed an invalid promotionId.

MaxAllowedSeatsPerSubscriptionExceeded 10015

The desired seat count exceeded the maximum seat count allowed per subscription.

InvalidCustomTermEndDateProduct 10016

Custom term end date can only be set for non-trial modern office products with a term duration.

InvalidCustomTermEndDate 10017

The custom term end date is invalid.

BaseOfferSeatQuantityNotMet 10018

The base offer seat quantity has not been met to purchase the addon.

MinimumAddOnSeatsNotMet 10019

The minimum seats have not been met to purchase the addon.

LegacyOfferNotEligibleForPurchase 500600

The legacy offer is no longer eligible for purchase.

Applies to