Send Product
curl --request POST \
--url https://app.fliqr.ai/api/contacts/{contact_id}/send/products \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '
{
"product_id": [
1111,
222,
3333
]
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({product_id: [1111, 222, 3333]})
};
fetch('https://app.fliqr.ai/api/contacts/{contact_id}/send/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/contacts/{contact_id}/send/products"
payload = { "product_id": [1111, 222, 3333] }
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Ecommerce
Send product
Send a product message to the contact
POST
/
contacts
/
{contact_id}
/
send
/
products
Send Product
curl --request POST \
--url https://app.fliqr.ai/api/contacts/{contact_id}/send/products \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '
{
"product_id": [
1111,
222,
3333
]
}
'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({product_id: [1111, 222, 3333]})
};
fetch('https://app.fliqr.ai/api/contacts/{contact_id}/send/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.fliqr.ai/api/contacts/{contact_id}/send/products"
payload = { "product_id": [1111, 222, 3333] }
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
API access token from your Fliqr AI dashboard (Settings → API). Send it in the X-ACCESS-TOKEN header on every request.
Path Parameters
Body
application/json
The product_id field could be a single product id, an array of product ids, or multiple product ids separated by a comma
Response
default
successful operation
Was this page helpful?
⌘I