Admin API / Types
AdjustProductVariantQuantityOutcome
UnionAdjustProductVariantQuantityItemSuccess: the stock changed. ExternallyManagedStockError: another system sets the stock. ProductLockedError: the listing's auction has a bid or its giveaway started. ProductValidationError: the variant cannot take this change. ProductVariantNotFoundError: the caller reads no variant with this ID. UnauthorizedError: the caller reads the variant but cannot change its listing; requiredRole is null.
union AdjustProductVariantQuantityOutcome = AdjustProductVariantQuantityItemSuccess | ExternallyManagedStockError | ProductLockedError | ProductValidationError | ProductVariantNotFoundError | UnauthorizedErrorMembers
AdjustProductVariantQuantityItemSuccessExternallyManagedStockErrorProductLockedErrorProductValidationErrorProductVariantNotFoundErrorUnauthorizedError