REST API for e-commerce