We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/shopping/cart/add
title
description
range
1 parent eb189a6 commit b01e5dcCopy full SHA for b01e5dc
src/packages/next/lib/api/schema/shopping/cart/add.ts
@@ -50,9 +50,9 @@ export const ShoppingCartAddInputSchema = z
50
.union([
51
z
52
.object({
53
- title: LicenseTitleSchema,
54
- description: LicenseDescriptionSchema,
55
- range: LicenseRangeSchema,
+ title: LicenseTitleSchema.optional(),
+ description: LicenseDescriptionSchema.optional(),
+ range: LicenseRangeSchema.optional(),
56
period: z.enum(["range", "monthly", "yearly"]).describe(
57
`Period for which this license is to be applied. If \`range\` is selected,
58
the \`range\` field must be populated in this request.`,
0 commit comments