Add session itemCopy Pagepost https://api.fastspring.com/v2/checkouts/{checkoutPath}/sessions/{sessionId}/cart/itemsAppends a new product item to the cart of an existing order session.Path ParamscheckoutPathstringrequiredThe 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. sessionIdstringrequiredlength ≤ 64The unique identifier of the order session.Body ParamsDetails a specific line item being added or modified within a cart.productPathstringrequiredlength ≤ 256The unique identifier of the catalog product to add.quantityintegerThe total volume of units to purchase. Defaults to 1 if omitted.quantityBehaviorstringIndicates whether the buyer is allowed to modify the item quantity during checkout. Requires an authenticated request.quantityDefaultintegerThe default quantity presented at checkout. Requires an authenticated request.descriptionsobjectSpecifies localized descriptive fields for a product. Requires an authenticated request to modify.descriptions objectcustomPriceobjectOverrides the base catalog price with a custom defined pricing structure. Requires an authenticated request.customPrice objectattributesobjectA key-value map of custom metadata tied specifically to this order item. Requires an authenticated request.attributes objectsubscriptionOverridesobjectCustom subscription configurations that override the base catalog setup for this specific line item. Requires an authenticated request.subscriptionOverrides objectResponses 200Successfully added the item to the session. 400Bad request. Indicates invalid input properties.Updated 29 days ago