Integration Guides

Croissant Toggle

The Croissant Toggle is a smart component that displays a total Croissant Guaranteed Buyback Value and allows your customers to "opt in" to Croissant.

Required Attributes

merchant-id

placement

pricing-url

product-list

Example

<croissant-toggle
	merchant-id="123321"
	placement="pdp" 
	pricing-url="https://api.retailer.croissant.com/v0/prices"
  product-list="[{'product-id': '1233456789', 'quantity': '1'}]"
></croissant-toggle>

Optional Attributes

payout-method

custom-modal-content


Whatโ€™s Next