These docs are for v2024.1. Click to read the latest docs for v2025.1.

Blanket orders

Placing blanket orders

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

Prerequisites:

  • There are contracts available on the Floriday platorm;
  • Contracts have the status "Approved";
  • Blanket order is placed on specific ContractId.

NRProces stepsAPI call / scenario
1Creates a new blanket order[AddBlanketOrder](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/AddBlanketOrder)
2Floriday matches blanket order to the bandwiths of the contract.
2AWhen a blanket order falls within the bandwith of the contract, Floriday will create a sales order.SalesOrder
2BWhen a blanket order does not fall within the bandwith of the contract, Floriday will notify the supplier that the blanket order has to be approved.Response: Status Pending


Receiving blanket orders

Purpose:
Receive direct sales blanket orders from Floriday trading agent.

Prerequisites:

  • There are blanket orders placed on the Floriday trading agent.

NRProces stepsAPI call / scenario
1Returns a blanket order by ID.[GetBlanketOrderById](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/GetBlanketOrderById)
2Returns the maximum sequence number found in blanket orders.[GetBlanketOrdersMaxSequence](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/GetBlanketOrdersMaxSequence)
3Returns a list with a maximum of 1000 blanket orders starting from a specified sequencenumber.[GetBlanketOrdersBySequenceNumber](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/GetBlanketOrdersBySequenceNumber)


Finalizing, Approving, or Declining blanket orders.

Purpose:
Finalizing concept blanket orders, approving or declining blanket orders in Floriday trading agent.


NrProces stepsAPI call / scenario
1Sets the ApprovalStatus of the blanket order from Draft to Finalized.[SetBlanketOrderFinalized](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/SetBlanketOrderFinalized)
2Sets the ApprovalStatus of the blanket order from Finalized to Approved.[SetBlanketOrderApproved](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/SetBlanketOrderApproved)
3Sets the ApprovalStatus of the blanket order from Finalized to Declined.[SetBlanketOrderDeclined](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/SetBlanketOrderDeclined)


Modifying an existing blanket order

Purpose:
Finalizing concept blanket orders, approving or declining blanket orders in Floriday trading agent.


NrProces stepsAPI call / scenario
1Modifies an existing blanket order.[EditBlanketOrder](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/EditBlanketOrder)