Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. This Developer Center contains the guides for Commerce 6.13.0 through 7.4.1.Visit new site

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

Amounts

Amounts

Amounts contain product prices.

The table below describes some of the Amounts XML elements:

XML Element

Definition

<object_guid>

Defines the products associated with this amount.

<object_type>

Defines the type of object the amount represents.

<list_price>192.00</list_price>

The list price for the product.

<price_list_guid>

Defines the price list assignment associated with this amount.

Sample XML: Amounts


<amounts>
<base_amount>
    <guid>47B01916-7E58-631C-5C72-E1603B5BD419</guid>
    <object_guid>CANON_CAMERA_WITH_COLOR_CASE_AND_BACKPACK</object_guid>
    <object_type>PRODUCT</object_type>
    <quantity>1.00</quantity>
    <list_price>300.99</list_price>
    <sale_price>289.99</sale_price>
    <price_list_guid>SNAPITUP_USD</price_list_guid>
</base_amount>
...
</amounts>