Get basket promotions
get_cart_promotionsEvaluate a prospective basket for a destination country: whether it can be fulfilled, which promotions apply (including free-delivery style offers and free gifts) and the adjusted basket value. Same check the checkout runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Basket lines as product ids with quantities. | |
| locale | No | Storefront locale such as en-GB (default), en-US, de, fr-FR, es-ES, it-IT, nl-NL, pl. Controls product names, slugs and prices. | |
| has_tax_id | No | Whether the buyer has a VAT/tax id (business purchase). | |
| country_code | Yes | Destination country (ISO alpha-2). |