v1
latestOpenAPI 3.1.02026-07-24920300.7 KBCreate in Order
Creates a subscription with its first shipment in an existing order (dictated by the 'order' field in the request). This will be tracked by OrderGroove as an 'Impulse Upsell' order.
post/subscriptions/iu/
Request body
Response
200
Example response
{
"public_id": "f9cb2f93e1c845eb9de9eff46ddb3cbf",
"price": "12.99",
"frequency_days": 42,
"reminder_days": 42,
"start_date": "2017-02-29 12:00:00",
"cancel_reason_code": "4|",
"cancel_reason": "4|Overstocked",
"merchant_order_id": "301617",
"subscription_type": "Replenish",
"components": [
{
"product": "product_id_1"
}
],
"created": "2017-02-29 12:00:00",
"updated": "2017-02-29 12:00:00",
"extra_data": "{\"some\": \"extra\", \"fields\": \"here\"}",
"live": "True"
}