Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sr No.API EndpointDescriptionTasksStatusPhase
1POST /guest-tokenThis API will return a token for a guest account.
PlanningI
2POST /customer-tokenThis API will return a token for the registered user.
PlanningI
3POST /refresh-tokenIn case we need to update the token. As JWT token ideally contains a certain expiry time. So if the user is active then instead of getting him to log out, this API can generate a new token from the existing token.
PlanningI


Customer

Sr No.API EndpointDescriptionTasks/PRsStatusPhase
Customer Profile
1POST /customersTo register the customer.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
2GET /customers/
password-hint
{customerPartyId}To get the
password hint
customer's personal information, addresses, emails, phones, etc.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
3
POST
PUT /customers/
reset-password
{customerPartyId}To
get the reset password link on the registered email
update the customer's personal information.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
4POST /customers/
{customerPartyId}/change
reset-passwordTo
change
get the reset password link on the registered email.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
5POST /customers/{customerPartyId}/
profile
change-passwordTo
get the complete profile of a customer, personal information, addresses, emails, phones, etc. There should be one filter to bring specific information like only personal information, only addresses, etc.
change the password.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
6
PUT
GET /customers/{customerPartyId}/shipping-addressesTo
update
get the customer's
personal information.
shipping addresseshttps://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
7POST /customers/{customerPartyId}/shipping-addressesTo create the
postal
shipping address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
8PUT /customers/{customerPartyId}/shipping-addresses/{contactMechId}To update the
postal address and to mark the default address
shipping address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
9DELETE /customers/{customerPartyId}/shipping-addresses/{contactMechId}To delete/expire the
postal
shipping address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
10POST /customers/{customerPartyId}/
phonesTo create a telecom number.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI11PUT /customers/{customerPartyId}/phones/{contactMechId}To update a telecom number.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI12DELETE /customers/{customerPartyId}/phones/{contactMechId}To delete a telecom number
payment-methodsTo save a payment method e.g. credit card, gift card, eft accounthttps://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
13
11
POST
GET /customers/{customerPartyId}/
emailsTo create an email address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI14PUT /customers/{customerPartyId}/emails/{contactMechId}To update an email address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI15DELETE /customers/{customerPartyId}/emails/{contactMechId}To remove an email address.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI16POST /customers/{customerPartyId}/contact-informationTo add the other contact information like electronic address, Internet IP address, Internet Domain Name, Web Url, LDAP address, File server, etc. 
payment-methodsTo get the user's payment methods eg. saved credit cards, gift cards, eft accountshttps://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
17
12PUT /customers/{customerPartyId}/
contact
payment-
information
methods/{
contactMechId
paymentMethodId}To update the
other contact information like electronic address, Internet IP address, Internet Domain Name, Web Url, LDAP address, File server, etc
payment method detail.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
18
13DELETE /customers/{customerPartyId}/
contact
payment-
information
methods/{
contactMechId
paymentMethodId}To remove
the other contact information like electronic address, Internet IP address, Internet Domain Name, Web Url, LDAP address, File server, etc
a saved credit card, gift card, eft account.https://github.com/apache/ofbiz-plugins/pull/45In Code ReviewI
19
14
POST
GET /customers/{customerPartyId}/
sendEmailTo send the mail from the profile page to the added email address.PlanningI20POST /customers/{customerPartyId}/credit-cardsTo create a credit card.In ProgressI21PUT /customers/{customerPartyId}/credit-cards/{paymentMethodId}To update the credit card detail and to mark it as default.In ProgressI22DELETE /customers/{customerPartyId}/credit-cards/{paymentMethodId}To remove a credit card.In ProgressI23POST /customers/{customerPartyId}/gift-cardsTo create a gift card.PlanningI24PUT /customers/{customerPartyId}/gift-cards/{paymentMethodId}To update the gift card detail and to mark it as default.PlanningI25DELETE /customers/{customerPartyId}/gift-cards/{paymentMethodId}To remove the gift card.PlanningI26POST /customers/{customerPartyId}/eft-accountsTo create an EFT account.PlanningI27PUT /customers/{customerPartyId}/eft-accounts/{paymentMethodId}To update the EFT account detail and to mark it as default.PlanningI28DELETE /customers/{customerPartyId}/eft-accounts/{paymentMethodId}To remove the EFT account.PlanningI29POST /customers/{customerPartyId}/shipment-methods/{shipmentMethodId}To mark the default shipping method if there is a default shipping address.PlanningI30POST /customers/{customerPartyId}/contact-list/{contactListId}/subscriptionTo subscribe to the contact list.PlanningI31PUT /customers/{customerPartyId}/contact-list/{contactListId/subscriptionTo unsubscribe the contact list.PlanningIOrder History & Return1GET /customers/{customerPartyId}/orders
order-history
To fetch all the orders of a customer.
PlanningI2GET /customers/{customerPartyId}/orders/{orderId}To fetch the order detail.PlanningI3PUT /customers/{customerPartyId}/orders/{orderId}To update the order. Right now the support to cancel an item(partially or fully) is there. That should be handled in this API.PlanningI4GET /customers/{customerPartyId}/orders/{orderId}/order-pdfTo get the order pdf.PlanningI5GET /customers/{customerPartyId}/orders/{orderId}/invoice-pdfTo get the invoice pdf.PlanningI6POST /customers/{customerPartyId}/returnsTo create a return.Planning

In Progress
I


Catalog

Sr No.API EndpointDescriptionTasksStatusPhase
Catalog
1GET /
catalogsTo get the list of catalogs.PlanningI2GET /catalogs/{catalogId}
categoriesTo get the
feature categories, feature products,
category hierarchy
in a single call
.
PlanningI
3
2
GET /catalogs/{catalogId}/feature-categoriesTo get the feature categories of a catalog.PlanningI
GET /categories/{categoryId}This will fetch all the products of a category
4GET  /catalogs/{catalogId}/feature-productsTo get the feature products of a catalog.PlanningI5GET /catalogs/{catalogId}/category-hierarchyTo get the category hierarchy of a catalog
.
PlanningI
6
3GET /productsThis 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.
PlanningI
7
4GET /products/{productId}To get the product detail.
PlanningI
8
5POST /products/{productId}/reviewsTo add a review of a product.
PlanningI
9GET /products/{productId}/reviewsTo get the reviews of a product.PlanningI10GET /products/{productId}/associated-productsTo get the list of cross-sell/upsell products.PlanningI11POST /products/{productId}/product-tagsTo add a tag for a product.PlanningI12GET /products/{productId}/product-tagsTo get all the tags of a product.PlanningI13GET /products/product-tagsAll the product tags for the tag cloud.PlanningI
6GET /
14GET /
offersTo list the special
offersPlanningI15GET /
offers
/{promotionId}To get the complete detail of a particular offerPlanningI16POST /sendMailFor Tell a Friend functionalityPlanningI17POST /products/compare-listTo create a compare list and to add a product to it
.
PlanningI
18GET /products/compare-listTo get the list of added products with detail for the comparison view.PlanningI19DELETE /products/compare-list/{productId}To remove a product from the compare list.PlanningI

Shopping List and Quotes


Wishlist

Shopping Listshopping-listsAdd an item to the shopping listshopping-listsshoppingListIditemsTo get the list of quote requests(request history)
Sr No.API EndpointDescriptionTasksStatusPhase
1POST /To create a new shopping list.PlanningIcustomers/{customerPartyId}/wishlistTo Create a wishlist2GET /shopping-listsTo get the list of shopping lists.PlanningI3GET /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
I14PUT /shopping-listscustomers/{shoppingListId}To update the shopping list detail. Recurrence info can also be set from this API.PlanningI5POST /shopping-lists/{shoppingListId}/itemscustomerPartyId}/wishlist/{wishlistId}To add a product to the wishlist.
PlanningI
62GET DELETE /customers/{customerPartyId}/Get the list of items on a shopping list.PlanningI7PUT /shopping-lists/{shoppingListId}/items/{itemId}Update the particular item on the shopping list.PlanningI8DELETE /shopping-lists/{shoppingListId}/items/{itemId}Remove the particular item from the shopping list.PlanningI
Quote
wishlist/{wishlistId}/{productId}To remove a product from the wishlist1POST /quote-requestsQuotes Request can be created from the shopping list and from the cart.  This API will create a quote request.PlanningI2GET /quote-requests.
PlanningI
3GET /quote-requestscustomers/{requestId}To get the detail of a quote request.PlanningI4GET /quotesTo get the list of quotes.PlanningI5GET /quotes/{quoteIdcustomerPartyId}/wishlist/{wishlistId}To get the detail of a quotewishlist.
PlanningI6POST /order-quotesTo create an order from the quote.PlanningI

...


Checkout

...

Sr No.API EndpointDescriptionTasksStatusPhase
Shopping Cart
1POST /
cartsPlanningI2GET /carts/{cartReference}PlanningI3DELETE /carts/{cartReference}PlanningI4POST /carts/{cartReference}/itemsFor adding products and other order adjustments like shipping charges, tax, etc.PlanningI5GET /carts/{cartReference}/itemsPlanningI6PUT /carts/{cartReference}/items/{itemSeqId}PlanningI7DELETE /carts/{cartReference}/items/{itemSeqId}PlanningI8POST /carts/{cartReference}/promotionsTo apply the promo code on the cart.PlanningI9DELETE /carts/{cartReference}/promotions/{itemSeqId}To remove an applied promotion.PlanningI10POST /carts/{cartReference}/items/shopping-list/{shoppingListId}This will add all the items of a given shopping list to the cart.PlanningI11POST /carts/{cartReference}/items/order/{orderId}This will add all the items of a given past order to the cart.PlanningICheckout1POST /carts/{cartReference}/ship-groupsTo create a new ship group in case of split shipment.PlanningI2GET /carts/{cartReference}/ship-groupsTo get the ship groups with items.PlanningI3POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/shipping-addressTo add the shipping address.PlanningI4POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/itemsTo move items from one ship group to another in case of split shipment.PlanningI5POST /carts/{cartReference}/ship-groups/{shipGroupSeqId}/shipping-instructions
ordersTo 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 available
)
PlanningI
6
2
PUT
PATCH /
carts
orders/{
cartReference
orderId}/
ship-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)PlanningI
statuses/CANCELTo cancel an order
7GET /shipping-methods}To get the shipping methods
.
PlanningI
8
3
POST
PATCH /
carts
orders/{
cartReference
orderId}/
ship-groups/{shipGroupSeqId}/shipping-methodTo add/update the shipping method.PlanningI9GET /payment-optionsTo get the list of supported payment options.PlanningI10POST /carts/{cartReference}/payment-methodsTo add a payment method. The combination of the gift card and other payment methods are supported as of now.PlanningI
items/statuses/CANCELTo Cancel order items.
11POST /checkoutTo place the order.PlanningIAnonymous Checkout1POST /carts/{cartReference}/guest/personal-informationSet the anonymous user's detail for the order. Name, phone, email, etc.PlanningI2PUT /carts/{cartReference}/guest/personal-informationPlanningI3POST /carts/{cartReference}/guest/shipping-addressPlanningI4PUT /carts/{cartReference}/guest/shipping-addressPlanningI5POST /carts/{cartReference}/guest/payment-informaionPlanningI6PUT /carts/{cartReference}/guest/payment-informaion

PlanningI