ERPNext With CS-Cart Integration

How to integrate cs-cart with erpnext using rest api.