[ECOMMERCE-279] Re-evaluate salesforce ecommerce API for getting list products and category due to paging support Created: 17/Mar/20  Updated: 05/Apr/20  Resolved: 01/Apr/20

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Type: Improvement Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 14d 1.5h
Original Estimate: Not Specified

Attachments: PNG File result-for-womens.png    
Issue Links:
Cloners
clones ECOMMERCE-274 Should get all products for salesforc... Closed
dependency
is depended upon by ECOMMERCE-285 Introduce additional url config for c... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: Ecom. Further connectors
Sprint: Add-Ons 33, Add-Ons 34
Story Points: 5

 Description   

Currently, info.magnolia.ecommerce.salesforce.products.ByCategoryId does not return correctly as well. It just return first 25 product only. And Salesforce support paging as well. So we need to get products correctly. see 

 

AC: Re-evaluate again for below API

  • info.magnolia.ecommerce.salesforce.categories.All
  • info.magnolia.ecommerce.salesforce.categories.ByProductId
  • info.magnolia.ecommerce.salesforce.products.ByCategoryId
  • info.magnolia.ecommerce.salesforce.products.SearchByQueryParams
  • info.magnolia.ecommerce.salesforce.products.SearchByText


 Comments   
Comment by Oanh Thai Hoang [ 01/Apr/20 ]

For jlegendre, there has a changed in baseUrl when configuring connector due to DATA-API

The old one:

baseUrl: https://magnolia1-tech-prtnr-eu02-dw.demandware.net 

The new one:

baseUrl: https://magnolia1-tech-prtnr-eu02-dw.demandware.net/s/-/dw/data/v20_4 
Generated at Mon Feb 12 01:42:32 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.