Supply lines

Supported supply lines scenarios

  • Syncing modified supply lines.
  • Receiving supply lines of a selected supplier.
  • Receiving supply data of a selected supply line.

For all the types of supply lines and their business rules, please read Supply.

πŸ“˜

Sync vs Get

This page describes how to utilize both the Sync and non-sync Get endpoints. We strongly recommend using the Sync endpoints whenever possible.

Read the Best Practices for more information.


Syncing modified supply lines

Purpose:
Synchronise modified supply lines of all connected suppliers from Floriday in customer application.

Prerequisites:

  • Known sequence numbers retrieved from Floriday are used for this scenario.

NRStepsAPI call / scenario
1Returns the maximum sequence number found in supply lines.GetSupplyLinesMaxSequence
2Receive supply lines from all the suppliers in your network based on the provided sequence number.GetSupplyLinesBySequenceNumber


Receiving supply lines of a selected supplier

Purpose:
Synchronise supply lines of specified supplier from Floriday in customer application.

Prerequisites:

  • The specified supplier is a connection of the customer;
  • There are valid supply lines available for the customer.
NRStepsAPI call / scenario
1Receive a maximum of 1000 supply lines which are valid in the given timeframe for the specified supplier.GetSupplyLines
2Use filtering to restrict the amount of supply lines you will receive in one call to make sure it stays under 1000.

Receiving supply data of a selected supply line

Purpose:
Synchronise supply lines of specified supplier from Floriday in customer application.

Prerequisites:

  • A known supply line id retrieved from Floriday is specified for this scenario;
  • The specified supply line is from a supplier which is a connection of the customer.
NRStepsAPI call / scenario
1Receive supply data based on a specified Supply ID.GetSupplyLinesById