Preview a promotion against a sample cart
Purpose
Staff evaluate sample discount outcomes without creating a sale or consuming promotion capacity.
How It Works
A console reader opens Try It and supplies sample products, codes and buyer context. Commerce builds an in-memory cart and invokes the shared checkout assessment. Selected draft or paused promotions can participate as active for this assessment alone. The response presents line amounts, discounts and explanations for review. The request does not create the sale records a real checkout would use. Parts now reach the shared assessment, but no rated shipping charge is supplied. The product should add dedicated parts and shipping-parity proof before extending the preview’s assurance.
Relationships
The choose the best permitted promotional result capability supplies related configuration or assessment used in this work.
The prepare and control a promotion’s lifecycle capability supplies related configuration or assessment used in this work.