GuidesChangelog
HomeLog In
Guides
These docs are for v2023.1. Click to read the latest docs for v2024.2.

Sales Orders

Supported scenarios

  • Get Sales Orders;
  • Add Sales Orders;
  • Receive Sales Order events.

Get Sales Orders

Purpose:
Get sales sales orders from Floriday trading agent.

Prerequisites:

  • The supplier application has the latest update of organization;
  • The supplier application has the latest update of delivery conditions;
  • The supplier application has the latest update of additional services;
  • The supplier application has the latest update of trade items;
  • The supplier application has the latest update of supply lines from Floriday.

Process steps:

NRProcess stepAPI call / scenario
1Sales orders are placed or cancelled in the channel by the customer organization on a supply-line with chosen deliverylocation, deliverydatetime and additional service(s).
2Sales orders are processed by Floriday.
3AGet all sales orders with a result limit.GetSalesOrders
Process the retrieved sales-orders in the supplier application with their unique sales order ID.
Determine latest sequence number in the supplier application.
Sync sales orders by latest sequence number.GetSalesOrdersBySequenceNumber
Process the retrieved sales-orders in the supplier application with their unique sales order ID.
3BGet sales orders (history) within a timeframe from a trade instrument.GetSalesOrders
Process the retrieved sales-orders in the supplier application with their unique sales order ID.
3CGet sales orders (history) within a timeframe from a trade instrument.GetSalesOrderByIdAndVersion
Process the retrieved sales-orders in the supplier application with their unique sales order ID and version.
4Sales orders are send to the customer Channel by Floriday.
5Sales orders can be retrieved by the Customer organizations from the Customer channel.


Add Sales Orders

Purpose:
Add direct sales sales orders in Floriday trading agent.

Prerequisites:

  • The supplier application has the latest update of organizations;
  • The supplier application has the latest update of delivery conditions;
  • The supplier application has the latest update of additional services;
  • The supplier application has the latest update of trade items;
  • The supplier application has the latest update op supply lines from Floriday.

Process steps:

NRProcess stepsAPI call / scenario
1Add a sales order in Floriday based on a supply line.AddSalesOrder
Sales order is processed by Floriday.
2Sales orders are send to the Floriday customer Channel.
4Sales orders can be retrieved by the Customer organizations from the Floriday Customer channel.
5Get sales order statusGetSalesOrderById


Receive Sales Order events

Purpose:
Receive sales order events for supplier applications with a server.
See Webhooks.