Login

  • Fiori
  • GET Products

See all available products

This method allows you to see every single floral product that is available to be purchased and shipped.

Resource

Production environment:

  • https://fiori.altravia.com/products
  • https://fiori.altravia.com/products/"idComposizione"

Testing environment

  • https://test.fiori.altravia.com/products
  • https://test.fiori.altravia.com/products/"idComposizione"

Parameters

Request Example

Response

Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
data DataResponseDetails Present only if the API call goes to good end, it will contain the answer data.
success boolean True or false.
message string It contains a message that can be shown by the user.
error int Present only if the API call fails, it contains an error code.

Data Response Details

Parameter Type Description
idComposizione int Unique id of the product.
NomeProd string Name of the product.
pathFoto string Path to access the photo.
pathFotoZoom string Path to access the large photo.
Descrizione string Product description.
Dettagli string Detailed description.
PrezzoSmall double Small product price.
PrezzoMedium double Medium product price.
PrezzoDeluxe double Deluxe product price.
PrezzoSmall_Estero double Small product price for abroad.
PrezzoMedium_Estero double Medium product price for abroad.
PrezzoDeluxe_Estero double Deluxe product price for abroad.
DettSmall string Small product detail.
DettMedium string Medium product detail.
DettDeluxe string Deluxe product detail.
isEnabled string True or False; indicates whether the product is available or not.
toItaly string True or False; indicates if the shipment in Italy is active or not.
toWorld string True or False; indicates if the shipment in Italy is active or not.
isSpedito string True or False; indicates if the product will be delivered by a deliveryman in the area (false) or sent by courier (true).

Additional examples

Request of a specific product:

Response