Skip to main content

Type Alias: PreSubmitCart()

PreSubmitCart: (cartId, submitData) => Promise<PreSubmitResponse>

Stores contact information for cart submission without submitting cart.

Parameters

cartId: string

The unique identifier for the cart.

submitData: Partial<BasketSubmissionData>

The contact information payload for the submission.

Returns

Promise<PreSubmitResponse>

A promise

Throws

Error Will throw an error if cartId or submitData is missing.