Integration Guides

Croissant Buyback Badge

Required Attributes

Add external links once these pages are published:

merchant-id

placement

pricing-url

product-list

Example

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

Optional Attributes

payout-method

custom-modal-content