Marketplace API / Types

RedeemProductVariantClaimPayload

Union

The result of redeeming a claim.

UnauthorizedError is deliberately absent: redeeming without a session is a supported outcome, not a failure. Every refusal is a single ClaimNotRedeemableError carrying one fixed message, so the refusal itself does not say why. Reading ProductVariantClaim.status requires the same client scope as redeeming, so the two surfaces cannot be combined by a weaker caller to recover the reason.

union RedeemProductVariantClaimPayload = ClaimNotRedeemableError | RedeemProductVariantClaimSuccess | UserInputError

Members

Returned by