post https://virtserver.swaggerhub.com/GrubTech/grubtech-grocery-integration-apis/1.0.0/orders//cancel
The POST /orders/{id}/cancel endpoint is designed to allow the cancellation of an order on the aggregator platform. This is essential for managing scenarios where an order can no longer be fulfilled, whether due to customer request, inventory issues, or other reasons. By providing a structured way to cancel orders, this endpoint helps maintain accurate order status and improves overall order management.