{ "opencollection": "1.0.0", "info": { "name": "Cart Actions Endpoints Real-time Pricing Engine API", "version": "3.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Real-time Pricing Engine", "type": "folder" }, "items": [ { "info": { "name": "Calculate Prices for Products by Ids", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/price-engine/actions/evaluate-products-by-id", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-date", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Use this endpoint to calculate prices for one or more products in a specific price list using item IDs. If you prefer to use SKUs to calculate product prices, use the [calculate prices for products by SKUs](/v3/api-reference/offers/real-time-pricing-engine/calculate-prices-for-products-by-skus) endpoint.\n" }, { "info": { "name": "Calculate Prices for Products by Skus", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/price-engine/actions/evaluate-products-by-sku", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-date", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Use this endpoint to calculate prices for one or more products in a specific price list by product SKUs. If you prefer to use item IDs to calculate product prices, use the [calculate prices for products by item IDs](/v3/api-reference/offers/real-time-pricing-engine/calculate-prices-for-products-by-item-ids) endpoint.\n`itemId` is used as the default identifier for a product. If you want to set SKUs as product identifiers and use this endpoint, you must contact fabric support at support@fabr" }, { "info": { "name": "Evaluate Cart Promotions", "type": "http" }, "http": { "method": "POST", "url": "https://api.fabric.inc/v3/price-engine/actions/evaluate-cart", "headers": [ { "name": "x-fabric-tenant-id", "value": "5f328bf0b5f328bf0b5f328b" }, { "name": "x-fabric-date", "value": "" }, { "name": "x-fabric-request-id", "value": "" }, { "name": "x-fabric-channel-id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Evaluate cart's total cost instantly, after applying all applicable promotions and discount coupons. Using this endpoint, submit a range of data that will be referenced against the conditions that are set earlier using the promotions, coupons or prices APIs. The response includes the details of the promotions and discounts applied. These promotions and discounts can be displayed on your website to help shoppers know that they're getting their expected discounts." } ] } ], "bundled": true }