sendPurchaseOrder method

Future<PurchaseOrder> sendPurchaseOrder(
  1. String orderId
)

Send purchase order to supplier

Implementation

Future<PurchaseOrder> sendPurchaseOrder(String orderId) async {
  final response = await _apiClient.post<Map<String, dynamic>>(
    '/api/v1/purchase/orders/$orderId/send',
  );

  return PurchaseOrder.fromJson(response);
}