v1

latestOpenAPI 3.0.02026-07-2475182625.5 KB
Session

Remove session item

Removes an existing product item from the session cart.

delete/v2/checkouts/{checkoutPath}/sessions/{sessionId}/cart/items/{productPath}

Path parameters

checkoutPathstring required

The unique identifier for the checkout instance, in the format store-id/checkout-id (e.g., fastspring/main).

Note: Target a specific checkout path to route the session to a single buyer experience and ensure accurate pricing. Stores frequently run multiple checkout variations simultaneously.

Example:fastspring/main
sessionIdstring required

The unique identifier of the order session.

Example:OS123456789012345ABC
productPathstring required

The unique identifier of the product to remove.

Example:gold-tier

Response

Successfully removed the item from the session. No content returned.