[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / BasketLineSchema

# Variable: BasketLineSchema

> `const` **BasketLineSchema**: `z.ZodObject`\<\{ `href`: `z.ZodOptional`\<`z.ZodString`\>; `image`: `z.ZodOptional`\<`z.ZodString`\>; `offerId`: `z.ZodOptional`\<`z.ZodString`\>; `productId`: `z.ZodString`; `productName`: `z.ZodString`; `quantity`: `z.ZodNumber`; `unitPrice`: `z.ZodNumber`; `variantId`: `z.ZodNullable`\<`z.ZodString`\>; `variantLabel`: `z.ZodNullable`\<`z.ZodString`\>; \}, `z.core.$strip`\>

A browser-owned basket line. `unitPrice` is an optimistic display value;
the server re-prices every line during validation and order creation.
