Logo
maya API Documentation

customerorders-{id}

Number of APIs: 2


1. Get order details by ID

GET {{baseUrl}}/customerorders/:id

Service urls:
http://yourdomain.com/api/rest/customerorders/{order_id}
OR
http://yourdomain.com/index.php?route=rest/order/orders&id={order_id}



2. Reorder order by ID

POST {{baseUrl}}/customerorders/:id/product_id/:order_product_id

After call this method, you have to confirm order, if you want really reorder..
Service urls:
http://yourdomain.com/api/rest/customerorders/{order_id}/product_id/{order_product_id}
OR
http://yourdomain.com/index.php?route=rest/order/orders&id={order_id}&order_product_id={order_product_id}



ENDPOINTS