Retrieve a Cart by its ID. This query can be used to retrieve information about an existing cart.
Cart
CartResponse
import { RyeClient, Marketplace } from "@rye-api/rye-sdk"; const ryeClient = new RyeClient({ authHeader: "<AUTH_HEADER>", shopperIp: "<SHOPPER_IP>", }); const result = await ryeClient.getCart({ id: "<CART_ID>", });
Was this page helpful?