...
Sr No. | API Endpoint | Description | Tasks/PRs | Status | Phase |
---|
Customer Profile |
1 | POST /customers | To register the customer. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
2 | GET /customers/{customerPartyId} | To get the customer's personal information, addresses, emails, phones, etc. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
3 | PUT /customers/{customerPartyId} | To update the customer's personal information. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
4 | POST /customers/reset-password | To get the reset password link on the registered email. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
5 | POST /customers/{customerPartyId}/change-password | To change the password. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
6 | GET /customers/{customerPartyId}/shipping-addresses | To get the customer's shipping addresses | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
7 | POST /customers/{customerPartyId}/shipping-addresses | To create the shipping address. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
8 | PUT /customers/{customerPartyId}/shipping-addresses/{contactMechId} | To update the shipping address. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
9 | DELETE /customers/{customerPartyId}/shipping-addresses/{contactMechId} | To delete/expire the shipping address. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
10 | POST /customers/{customerPartyId}/payment-methods | To save a payment method e.g. credit card, gift card, eft account | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
11 | GET /customers/{customerPartyId}/payment-methods | To get the user's payment methods eg. saved credit cards, gift cards, eft accounts | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
12 | PUT /customers/{customerPartyId}/payment-methods/{paymentMethodId} | To update the payment method detail. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
13 | DELETE /customers/{customerPartyId}/payment-methods/{paymentMethodId} | To remove a saved credit card, gift card, eft account. | https://github.com/apache/ofbiz-plugins/pull/45 | In Code Review | I |
Order History & Return |
114 | GET /customers/{customerPartyId}/ordersorder-history | To fetch all the orders of a customer. |
| In Progress | I |
Catalog
Sr No. | API Endpoint | Description | Tasks | Status | Phase |
---|
Catalogcatalogs list of catalogs.Planning | I | 2 | GET /catalogs/{catalogId} | To get the feature categories, feature products, in a single call3GET /catalogs/{catalogId}/feature-categories | To get the feature categories of a catalog. | Planning | I | GET /categories/{categoryId} | This will fetch all the products of a category |
4 | GET /catalogs/{catalogId}/feature-products | To get the feature products of a catalog. | Planning | I | 5 | GET /catalogs/{catalogId}/category-hierarchy | To get the category hierarchy of a catalog63 | GET /products | This API will have support for the search string and other additional filters. This API will also bring the products of a selected category if provided. |
| Planning | I |
74 | GET /products/{productId} | To get the product detail. |
| Planning | I |
85 | POST /products/{productId}/reviews | To add a review of a product. |
| Planning | I |
9 | GET /products/{productId}/reviews | To get the reviews of a product. | Planning | I | 10 | GET /products/{productId}/associated-products | To get the list of cross-sell/upsell products. | Planning | I | 11 | POST /products/{productId}/product-tags | To add a tag for a product. | Planning | I | 12 | GET /products/{productId}/product-tags | To get all the tags of a product. | Planning | I | 13 | GET /products/product-tags | All the product tags for the tag cloud. | Planning | I | 14 | GET /offers | To list the special |
offersPlanning | I | 15 | GET //{promotionId}To get the complete detail of a particular offer | Planning | I | 16 | POST /sendMail | For Tell a Friend functionality | Planning | I | 17 | POST /products/compare-list | To create a compare list and to add a product to it18 | GET /products/compare-list | To get the list of added products with detail for the comparison view. | Planning | I | 19 | DELETE /products/compare-list/{productId} | To remove a product from the compare list. | Planning | I | Shopping List and Quotes
Wishlist
Sr No. | API Endpoint | Description | Tasks | Status | Phase | Shopping List |
---|
1 | POST / | shopping-listsTo create a new shopping list. | Planning | I | customers/{customerPartyId}/wishlist | To Create a wishlist | 2 | GET /shopping-lists | To get the list of shopping lists. | Planning | I | 3 | GET /shopping-lists/{shoppingListId} | To get the detail of a shopping list. This will also bring the list of available interval/frequency data for setting the recurrence detail using the update shopping list API. |
| Planning |
|
I1 | 4 | PUT /shopping-listscustomers/{shoppingListId} | To update the shopping list detail. Recurrence info can also be set from this API. | Planning | I | 5 | POST /shopping-lists/{shoppingListId}/items | Add an item to the shopping listcustomerPartyId}/wishlist/{wishlistId} | To add a product to the wishlist. |
| Planning | I |
62GET | DELETE / | shopping-listscustomers/{ | shoppingListIdcustomerPartyId}/ | itemsGet the list of items on a shopping list. | Planning | I | 7 | PUT /shopping-lists/{shoppingListId}/items/{itemId} | Update the particular item on the shopping list. | Planning | I | 8 | DELETE /shopping-lists/{shoppingListId}/items/{itemId} | Remove the particular item from the shopping list. | Planning | I |
Quote |
wishlist/{wishlistId}/{productId} | To remove a product from the wishlist | 1 | POST /quote-requests | Quotes Request can be created from the shopping list and from the cart. This API will create a quote request. | Planning | I | 2 | GET /quote-requests | To get the list of quote requests(request history). |
| Planning | I |
3 | GET /quote-requestscustomers/{requestId} | To get the detail of a quote request. | Planning | I | 4 | GET /quotes | To get the list of quotes. | Planning | I | 5 | GET /quotes/{quoteIdcustomerPartyId}/wishlist/{wishlistId} | To get the detail of a quote. | Planning | I | 6 | POST /order-quotes | To create an order from the quotewishlist. |
| Planning | I |
...
Checkout
Note: The below API endpoints are written considering the Object-Oriented implementation of Shopping Cart. We need to identify the best way to store the shopping cart object as the user session won't be in the picture here. One way to introduce a new table to keep the cart object with a unique cart ID. For better performance cache can also be used efficiently. The cart object should have the last updated timestamp so that a clear policy to remove the abandoned cart can be imposed.
Sr No. | API Endpoint | Description | Tasks | Status | Phase |
---|
Shopping Cart |
cartsPlanning | I | 2 | GET /carts/{cartReference} | Planning | I | 3 | DELETE /carts/{cartReference} | Planning | I | 4 | POST /carts/{cartReference}/items | For adding products and other order adjustments like shipping charges, tax, etc. | Planning | I | 5 | GET /carts/{cartReference}/items | Planning | I | 6 | PUT /carts/{cartReference}/items/{itemSeqId} | Planning | I | 7 | DELETE /carts/{cartReference}/items/{itemSeqId} | Planning | I | 8 | POST /carts/{cartReference}/promotions | To apply the promo code on the cart. | Planning | I | 9 | DELETE /carts/{cartReference}/promotions/{itemSeqId} | To remove an applied promotion. | Planning | I | 10 | POST /carts/{cartReference}/items/shopping-list/{shoppingListId} | This will add all the items of a given shopping list to the cart. | Planning | I | 11 | POST /carts/{cartReference}/items/order/{orderId} | This will add all the items of a given past order to the cart. | Planning | I | Checkout |
1 | POST /carts/{cartReference}/ship-groups | To create a new ship group in case of split shipment. | Planning | I | 2 | GET /carts/{cartReference}/ship-groups | To get the ship groups with items. | Planning | I | 3 | POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/shipping-address | To add the shipping address. | Planning | I | 4 | POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/items | To move items from one ship group to another in case of split shipment. | Planning | I | 5 | POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/shipping-instructions | orders | To Create an order with all the necessary detail (items, shipping address, payment information, etc. |
To add special instructions, gift message in case of a gift, split preferences(ship all items together or ship items when available6PUT cartscartReferenceship-groups/{shipGroupSeqId}/shipping-instructionsTo update special instructions, gift message in case of a gift, split preferences(ship all items together or ship items when available) | Planning | I | statuses/CANCEL | To cancel an order |
7 | GET /shipping-methods} | To get the shipping methods8POST cartscartReferenceship-groups/{shipGroupSeqId}/shipping-methodTo add/update the shipping method. | Planning | I | 9 | GET /payment-options | To get the list of supported payment options. | Planning | I | 10 | POST /carts/{cartReference}/payment-methods | To add a payment method. The combination of the gift card and other payment methods are supported as of now. | Planning | I | items/statuses/CANCEL | To Cancel order items. |
11 | POST /checkout | To place the order. | Planning | I | Anonymous Checkout |
1 | POST /carts/{cartReference}/guest/personal-information | Set the anonymous user's detail for the order. Name, phone, email, etc. | Planning | I | 2 | PUT /carts/{cartReference}/guest/personal-information | Planning | I | 3 | POST /carts/{cartReference}/guest/shipping-address | Planning | I | 4 | PUT /carts/{cartReference}/guest/shipping-address | Planning | I | 5 | POST /carts/{cartReference}/guest/payment-informaion | Planning | I | 6 | PUT /carts/{cartReference}/guest/payment-informaion