Login

  • Fiori
  • POST Order

Place an order

This method allows you to order and purchase a flower arrangement.

Resource

Production environment:

  • https://fiori.altravia.com/order

Testing environment

  • https://test.fiori.altravia.com/order

Parameters

Property name Type Required Description
Mitt_Cognome string yes Sender's surname.
Mitt_Nome string yes Sender's name.
Mitt_Email string yes Sender's email.
Mitt_Telefono string yes Sender's phone.
Mitt_Indirizzo string yes Sender's address.
Mitt_Citta string yes Sender's city.
Mitt_Provincia string yes Sender's province.
Mitt_Stato string yes Sender's country.
Mitt_CodFiscale string no Sender's fiscal code or Vat.
Dest_nazioneConsegna string yes Nation of delivery in Italian; see Get Countries.
Dest_Cognome string yes Recipient surname.
Dest_Nome string yes Recipient name.
Dest_Presso string no C/o.
Dest_Indirizzo string yes Recipient address.
Dest_Citta string yes Recipient city.
Dest_Cap string yes Recipient postal code.
Dest_dataConsegna string yes Delivery date in ISO 8601 format; see Get Date Available for products with "isSpedito" on false; see Get Shipment Date for products with "isSpedito" on true.
Dest_Telefono string yes Recipient phone.
Dest_Messaggio string yes Message to attach.
Dest_Note string no Note to attach.
chkPromotions boolean no Acceptance o less than the possibility of receiving commercial communications from www.lafiorista.it; false by default.
idComposizione int yes Id of the product you want to order.
quantitaOrdinata int yes Quantity to order.
tipoComposizione string yes Product type; can take only three values: small, medium or deluxe.
sitoOrdine string no Website that placed the order; fiori.altravia.com by default.

Request examples

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
Mitt_Cognome string Sender's surname.
Mitt_Nome string Sender's name.
Mitt_Email string Sender's email.
Mitt_Telefono string Sender's phone.
Mitt_Indirizzo string Sender's address.
Mitt_Citta string Sender's city.
Mitt_Provincia string Sender's province.
Mitt_Stato string Sender's country.
Mitt_CodFiscale string Sender's fiscal code or Vat.
Dest_nazioneConsegna string Nation of delivery in Italian.
Dest_Cognome string Recipient surname.
Dest_Nome string Recipient name.
Dest_Presso string C/o.
Dest_Indirizzo string Recipient address.
Dest_Citta string Recipient city.
Dest_Cap string Recipient postal code.
Dest_dataConsegna string Delivery date in ISO 8601 format.
Dest_Telefono string Recipient phone.
Dest_Messaggio string Attached message.
Dest_Note string Attached note.
chkPromotions string True or False.
idComposizione int Id of the ordered product.
quantitaOrdinata int Ordered quantity.
tipoComposizione string Product type ordered.
sitoOrdine string Website that placed the order; fiori.altravia.com by default.
dataOrdine string Order date in ISO 8601 format.
nomeComposizione string Name of the ordered composition.
owner string Order owner.
prezzo_base double Product price.
prezzo_totale double Product price for the quantity.
isSpedito string True or False; indicates if the product will be delivered by a deliveryman in the area (false) or sent by courier (true).
_id string Unique order id.