Newer Version Available

This content describes an older version of this product. View Latest

Commerce Webstore Pricing Products

Get the price for multiple products.

Getting prices for products respects buyer entitlements and only users entitled to view product and price data can access it.

Resource
1/commerce/webstores/webstoreId/pricing/products
Available version
49.0
Requires Chatter
No
HTTP methods
POST

POST methods typically create an item, but for this resource POST is used to retrieve information.

Request body for POST
Root XML tag
<PricingInput>
JSON example
1{
2   "pricingLineItems":[
3      {
4         "productId":"01txx000000000V"
5      },
6      {
7         "productId":"01txx000000000W"
8      },
9      {
10         "productId":"01txx000000000A"
11      }
12   ]
13}
Properties
Name Type Description Required or Optional Available Version
pricingLine​Items Pricing Line Item Input[] Line items for pricing. Required 49.0
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
effective​AccountId String ID of the account for which the request is made. If unspecified, defaults to the account ID for the context user. Optional 49.0
Response body for POST
Pricing Result