post https://restapi.ordergroove.com/items/create/
This endpoint locates an existing order using the specified place date, shipping, payment and customer parameters, adding an additional item to that order. If no order exists with these parameters, it will create a new order and add an item for that order.
Authentication
Attempting to call these on a prepaid subscription will result in a 400 error.
Response Body Definitions
Name | Type | Description | Example |
---|---|---|---|
offer | string | Offer ID | "4a10a0e1738f46bf9d81be56ea6d8d85" |
order | string | Order ID | "9e78860ef49c4a86861ca11f638e5488" |
subscription | string | Subscription ID | "565998a03d7a4647971aab47f8c487f9" |
product | string | Product ID | "62900-W01" |
components | string | Legacy Bundle components | "product_id_1,product_id_2" |
subscription_component | string | null | New Bundle Subscription Component ID | "85eae83c245111eeb185acde48001122" |
quantity | integer | Number of items | 2 |
public_id | string | Item ID | "f9cb2f93e1c845eb9de9eff46ddb3cbf" |
product_attribute | string | "null" | |
price | string | Item price | "12.99" |
extra_cost | string | "1.00" | |
total_price | string | Total price of item in order | "9.20" |
one_time | boolean | Indicates if item order was result of Impulse Upsell functionality | false |
frozen | boolean | false | |
first_placed |