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

Creating contracts

Under construction

Creating contract drafts

Purpose:
Creating contract drafts via the API instead of using the online Floriday customer portal.


NRProcess stepsAPI call / scenario
1Add a new contract draft to Floriday[AddContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/AddContract)


Editing contract drafts

Purpose:

Editing the data of a contract draft.

NRProcess stepsAPI call / scenario
1Update an existing contract draft based on id.[EditContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/EditContract)


Approving and Declining finalized contracts

Purpose:
Responding to finalized contracts from suppliers.


NRProcess stepsAPI call / scenario
1aSets the contract status to FINALIZED and offers the contract to the supplier for approval[FinalizeContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/FinalizeContract)
2aSupplier receives finalized contract and can either approve or decline contract.
1bSets the state of the contract to Approved if already finalized by the supplier.[ApproveContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/ApproveContract)
2bCreates valid contract for placing BlanketOrders.
1cSets the state of the contract to Declined if already finalized by the supplier.[DeclineContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/DeclineContract)
2cSupplier can either delete or adjust the declined contract as a draft.


Deleting contracts approvals

Purpose:

  • Makes it possible to retract contract approvals from suppliers when the contract approvals are not yet accepted;
  • When contract is already approved, it will request for a contract delete.

NRProces stepsAPI call / scenario
1Deletes contract if contract is not yet approved. Requests delete by supplier if already approved.[RequestDeleteContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/RequestDeleteContract)


Approve request for contract delete

Purpose:
Approving contract delete requests created by supplier.


NRProces stepsAPI call / scenario
1Approves contract delete request created by supplier.[ApproveDeleteContract](https://api.staging.floriday.io/customers-api-2024v1/swagger/index.html#/Contracts/ApproveDeleteContract)