Picnic icon

Picnic

Wrapper around the picnic-api npm package

Get Cart

AI-generated

Summary

Retrieve the current shopping cart associated with the authenticated Picnic user.

Inputs

None.

Output shape

a single record containing the cart details as JSON under the 'result' key, along with the 'operation' name; returned as the node's main output

No input parameters are required for this operation. The output JSON includes the entire cart contents as provided by the Picnic API client. Authentication credentials must be set in the node's credentials to fetch the cart successfully.

Examples

Example 1: Use this operation to obtain the current state of the user's shopping cart in a Picnic workflow.

Select the 'Get Cart' operation under the default resource. No additional parameters are needed.

Links

Discussion