Run with Postman

Fiori

Web service that provides rest calls for service, shipping and delivery of flowers and floral products

Various

Calls for product list, available dates and shipping countries

This method allows you to see the next dates available for flower delivery

This calendar is only valid for products with the 'isSpedito' parameter set to 'False'.

Authorizations:

Responses

Response Schema: application/json
Array of objects (Date_Available) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.fiori.altravia.com/date_available");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "",
  • "error": null
}

This method allows you to see the next dates available for delivery of flowers by courier

This calendar is only valid for products with the 'isSpedito' parameter set to 'True'

Authorizations:

Responses

Response Schema: application/json
Array of objects (Shipment_Date) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.fiori.altravia.com/shipment_date");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "",
  • "error": null
}

List of all countries

This method allows you to see the countries where you can send flowers

Authorizations:

Responses

Response Schema: application/json
Array of objects (Countries) [ items ]
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://test.fiori.altravia.com/countries");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "message": "",
  • "error": null
}

Unique country

This method allows you to see the country identified by the code passed in the path

Authorizations:
path Parameters
codNazione
required
string
Default: "<string>"
Example: IT

Country code

Responses

Response Schema: application/json
object (Countries)
success
boolean
message
string
error
integer

Request samples