Get familiar with the poke parameters and response. In this version, the cart content is mandatory.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Content of the cart
In this version of the "poke" API, filling in the content of the cart is mandatory, as this is the most complex version. In the "cart" parameter, you have to put a JSON array that looks like this:
[{
"price":10.00,
"quantity":1,
"product_id":1234,
"category_id":1234
}]In the real world, it is possible to setup a campaign without the content of the cart, for example if no filtering of products is needed. This option should then be enabled in the Luckycycle® dashboard (known as the "full basket mode").
