question

Dan avatar image
Dan asked zgreathouse Deactivated edited

Create an order with line items using the Android SDK

There seems to only be details to create an order and add line items to it via a rest API call. Is it possible to create an order and add line items to it using the android OrderConnector?
OrdersClover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

zgreathouse avatar image
zgreathouse Deactivated answered zgreathouse Deactivated edited
You can in fact create orders and add line items to said order through our Android SDK. You can create the order with the createOrder method on the OrderConnector class. You can then use the addFixedPricedLineItem method or the addPerUnitLineItem method on the OrderConnector class to add a line item to the order.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community