Skip to content
On this page

Update Upsell ​

Update an existing upsell offer.

Endpoint ​

PUT /api/upsell/update/?id={id}

Request Body ​

Include only the fields you want to update.
See Create Upsell for field details.

Example ​

json
{
  "title": "Updated Upsell Title",
  "description": "Updated description",
  "products": ["product_id3", "product_id4"]
}

Response ​

json
{
  "status": "success",
  "data": {
    "_id": "string",
    "title": "Updated Upsell Title",
    ...
  }
}

Released under the MIT License.