Companies House Orders API
API handling CRUD operations on CH Ordering Service
- Run
make
to build
- Run
./start.sh
to run
Name |
Description |
Mandatory |
Location |
ORDERS_API_PORT |
Port this application runs on when deployed. |
โ |
start.sh |
Path |
Method |
Description |
/basket |
PATCH |
Adds delivery details to basket . |
/basket/items |
POST |
Adds requested item to basket . |
/basket/checkouts |
POST |
Processes basket checkout. Creates a checkout resource. |
/basket/checkouts/{checkoutId}/payment |
GET |
Returns paymentDetails resource for a valid checkoutId . |
/basket/checkouts/{checkoutId}/payment |
PATCH |
Updates checkout resource with payment status. |
/orders/{orderId} |
GET |
Returns OrderData resource for a valid orderId . |
/healthcheck |
GET |
Returns HTTP OK (200 ) to indicate a healthy application instance. |