magento / catalog-storefront

Open Software License 3.0
7 stars 18 forks source link

Price Book: Save and Read prices #454

Closed magento-engcom-team closed 3 years ago

magento-engcom-team commented 3 years ago

Need to save prices in the internal storage inside Pricing service

Service methods implementation:

rpc assignPrices(AssignPricesRequest) returns (PriceBookAssignPricesResponse); 
rpc unassignPrices(UnassignPricesRequest) returns (PriceBookUnassignPricesResponse);
rpc getPrices(GetPricesRequest) returns (GetPricesOutput);

Repo: https://github.com/magento/storefront-pricing-ce Design: https://github.com/magento/architecture/blob/master/design-documents/storefront/pricing.md#price-books

AC:

Tech Details:

Here is the proposed structure for internal Storage (e.g. elastic indexers), but it may have any columns, that necessary 

| pricebook*id | id  | regular_price |   price | maximum_regular_price | maximum*price |  qty |
magento-engcom-team commented 3 years ago

The issue was exported from the internal JIRA. The link to the original JIRA issue: https://jira.corp.magento.com/browse/SFAPP-147

m2-assistant[bot] commented 3 years ago

Hi @magento-engcom-team. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this