Change Order
curl --request POST \
--url https://app.fliqr.ai/api/contacts/{contact_id}/order/{order_id} \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '{
"status": 7
}'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({status: 7})
};
fetch('https://app.fliqr.ai/api/contacts/{contact_id}/order/{order_id}', 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}/order/{order_id}"
payload = { "status": 7 }
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}Ecommerce
Change order
Change order status.
POST
/
contacts
/
{contact_id}
/
order
/
{order_id}
Change Order
curl --request POST \
--url https://app.fliqr.ai/api/contacts/{contact_id}/order/{order_id} \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: <api-key>' \
--data '{
"status": 7
}'const options = {
method: 'POST',
headers: {'X-ACCESS-TOKEN': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({status: 7})
};
fetch('https://app.fliqr.ai/api/contacts/{contact_id}/order/{order_id}', 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}/order/{order_id}"
payload = { "status": 7 }
headers = {
"X-ACCESS-TOKEN": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}Authorizations
API access token from your Fliqr AI dashboard (Settings → API). Send it in the X-ACCESS-TOKEN header on every request.
Body
application/json
The new order status. 6 - Processing, 7 - Shipped, 10 - Completed, 13 - Canceled.
Available options:
6, 7, 10, 13 The name for the shipping
The phone for the shipping
The email for the shipping
The country for the shipping
The state for the shipping
The city for the shipping
The zip code for the shipping
The address for the shipping
The street_1 for the shipping
The street_2 for the shipping
Note related to the order.
Response
successful operation
Was this page helpful?
⌘I