commercestorepricing.PricingService

Provides product prices for buyer accounts in a WebStore.

Given a commercestorepricing.PricingRequest, return the commercestorepricing.PricingResponse that computes the price for the products in the pricing request.

ParamDescription
PricingRequestThe input request that contains the products to be priced along with other contextual information
TypeDescription
PricingResponseThe price of each of the products passed in as the request

Given a commercestorepricing.TransactionalPricingRequest, return the commercestorepricing.TransactionalPricingResponse that computes the price for the products and total in the pricing request. The calculation always uses the catalog pricing as a starting point, and adjustments are applied based on other factors.

ParamDescription
TransactionalPricingRequestThe input request that contains the products to be priced along with other contextual information
TypeDescription
TransactionalPricingResponseThe price of each of the products and total passed in as the request