Picnic icon

Picnic

Wrapper around the picnic-api npm package

Clear Cart

AI-generated

Summary

Clear the current shopping cart contents using the Picnic API, effectively removing all products from the cart.

Inputs

None.

Output shape

a single record containing the result of the clearCart operation

The output JSON includes fields 'operation' with value 'clearCart' and 'result' containing the API response from clearing the cart. No input parameters are required for this operation.

Examples

Example 1: Clear the shopping cart to start a fresh order

Set the node's Operation parameter to 'Clear Cart' and provide valid Picnic API credentials.

Links

Discussion