Order API Methods
OverviewThe Doba Order API allows you to utilize the Doba supply chain platform programmatically within your own application. The API includes functions to lookup shipping and handling charges, submit orders, fund orders, obtain shipment information for orders when they ship.
Order APIAllows for the submittal of orders to the Doba platform as well as the retrieval of current order status and shipping/tracking data.
Orders submitted via the API can be funded through the API using several different payment methods. Current order status can be called at any time although status updates can be provided in real-time through callback's.
orderLookup - Order API MethodRetrieves the fully-loaded, checkout totals for the specified item_id's.
This call should be used to determine the total cost of all items so that it can be shown to the end-customer before the order is submitted.
createOrder - Order API MethodCreates an order from the specified item_id's.
Each item will be verified for stock. If an item is not available, the response will include that information.
If the item_id requested is not available for purchase the response will include the following error:
Error 400: The quantity specified of the specified item is not currently available. JV-I-166[#3340105] has 0 instock
fundOrder - Order API MethodFunds a previously created order currently in the "Awaiting Payment" state.
getOrders - Order API MethodRetrieves current order information and status, not including tracking information, for specified orders or orders in a specific order status. If no orders or other criteria is provided the response will include all available orders. If you are not specifying a particular parameter, do not include it in the request as the API will return unexpected results.
getOrderDetail - Order API MethodRetrieves current order information and status, including tracking information if available, for specified orders or orders in a specific order status. The available order statuses are: Error - Contact Support, Awaiting Payment, Funded, Shipped, Payment Declined, Processing, Hold - Input Needed, Backorder, Shipment Pending, Awaiting Payment Confirmation, Awaiting Supplier Cancel, Cancelled, Fraudulent Order, Returned, Completed, and Awaiting Supplier Acceptance.
Did you find this article helpful?