# API to create orders

**URL:** <https://integration.keap.com/t/api-to-create-orders/22031>\
**Category:** API Q&A\
**Created:** [November 22, 2017, 2:50pm UTC](https://integration.keap.com/t/api-to-create-orders/22031 "2017-11-22T14:50:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Nicholas\_Trecina](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/nicholas_trecina/32/5338_2.png) [@Nicholas\_Trecina](https://integration.keap.com/u/Nicholas_Trecina)\
**Post date:** [October 3, 2018, 4:07pm UTC](https://integration.keap.com/t/api-to-create-orders/22031/7 "2018-10-03T16:07:03Z")

</div>

The flow for subscriptions is a bit different. First you would need to create a [`RecurringOrder`](https://developer.infusionsoft.com/docs/table-schema/#RecurringOrder) record using [`DataService.add`](https://developer.infusionsoft.com/docs/xml-rpc/#data-create-a-record). Then you would use `InvoiceService.createInvoiceForRecurring` which will create an invoice for subscription record. Lastly you would call `InvoiceService.chargeInvoice` to collect payment on the subscription invoice.

---

_[View the full topic](https://integration.keap.com/t/api-to-create-orders/22031)._
