Create in Order

A request to this endpoint will create an Impulse Upsell order item on the specified order. This will be tracked by OrderGroove as an 'Impulse Upsell' order item.

post/items/iu/

Request

  • Base URL
    https://restapi.ordergroove.com
  • Auth
    • none
    • or API key in header x-api-key

Request body

orderstring required

Order ID

offerstring required

Offer ID

productstring required

Product ID

quantityinteger required

Number of items

contextsobject

Items contexts as key:value

Response

200

orderstring
offerunknown
subscriptionstring
productstring
subscription_componentstring
quantityinteger
public_idstring
product_attributeunknown
pricestring
extra_coststring
total_pricestring
one_timeboolean
order_updatedstring
frozenboolean
first_placedunknown

Example response

{
  "order": "45c27952cd9211e8855abc764e106cf4",
  "subscription": "6199282ccd8f11e88267bc764e106cf4",
  "product": "0070067698",
  "components": [
    {
      "product": "product_id_1"
    }
  ],
  "subscription_component": "85eae83c245111eeb185acde48001122",
  "quantity": 1,
  "public_id": "45c39ceccd9211e8855abc764e106cf4",
  "price": "79.99",
  "extra_cost": "0.00",
  "total_price": "35.99",
  "order_updated": "2025-01-31 00:00:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.