POST

/api/cart/:id/upsells/:upsellId

This endpoint allows you to create a new entry or execute an action for cart (specific id)/upsells/(specific upsellId).

Request Parameters

Parameter Location Required
id path Yes
upsellId path Yes

Example Request

cURL
curl -X POST https://aegis.purdyandfigg.dev/api/cart/123/upsells/123 \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'