Last updated

Glossary

Important terms and their definitions in the Closelink ecosystem.

Enquiry

Similar terms: Request for Quote (RFQ)

An enquiry is a request for one or multiple suppliers to quote available quantity, prices etc. for a set of products. It contains the details of the products and quantities requested. As well as the vessel, port and delivery date.

Full Enquiry API Model
idstring

The ID of the enquiry

Example: "5fc4f3b053e79838873f72e9"
dateCreatedstring

The date the enquiry was created

Example: "2023-10-01T12:00:00Z"
dateUpdatedstring

The date the enquiry was last updated

Example: "2023-10-02T12:00:00Z"
versioninteger(int64)

The version of the enquiry

Example: 1
customerIdstring

The customer ID associated with the enquiry

Example: "572206b5e4b0d7441f638363"
vesselIdstring

The vessel ID associated with the enquiry

Example: "572206b5e4b0d7441f638364"
portIdstring

The port ID associated with the enquiry

Example: "572206b5e4b0d7441f638365"
statestring

The state of the enquiry

Example: "OPEN"
dateDeliverystring

Lubes only: The delivery date of the enquiry

Example: "2023-10-10T12:00:00Z"
dateCanceledstring

The cancellation date of the enquiry

Example: "2023-10-05T12:00:00Z"
dateStartedstring

The start date of the enquiry

Example: "2023-10-01T12:00:00Z"
dateOrderedstring

The order date of the enquiry

Example: "2023-10-01T12:00:00Z"
buyerReferencestring

The buyer reference for the enquiry

Example: "123-XYZ"
enquiryNumberstring

The enquiry number

Example: "CL-123"
cancelReasonstring

The reason for cancellation

Example: "Chose a different supplier"
itemsArray of objects(OrderItemMessage)

The list of items in the enquiry

samplekitsArray of objects(SamplekitMessage)

The list of sample kits in the enquiry

createdBystring

The ID of the user who created the enquiry

Example: "572206b5e4b0d7441f638366"
updatedBystring

The ID of the user who last updated the enquiry

Example: "572206b5e4b0d7441f638367"
commentstring

The comment on the enquiry

Example: "Urgent delivery required"
chosenOrderIdstring

The chosen order ID for the enquiry

Example: "572206b5e4b0d7441f638367"
spotboolean

Whether the enquiry is a spot enquiry

Example: true
receiverSupplierIdsArray of strings

The list of receiver supplier IDs

assignedSupplierIdsArray of strings

The list of assigned supplier IDs

excludeSupplierGroupIdsArray of strings

The list of excluded supplier group IDs

attributesobject

The attributes of the enquiry

creationCommentstring

The creation comment for the enquiry

Example: "Initial creation"
agentIdstring

The agent ID associated with the enquiry

Example: "572206b5e4b0d7441f638368"
sourcestring

The source of the enquiry

Example: "ERP_SYSTEM"
typestring

The type of the enquiry

Example: "LUBES"
contractIdstring

Fuel only: The contract ID associated with the enquiry

Example: "572206b5e4b0d7441f638369"
etastring

Fuel only: The estimated time of arrival

Example: "2023-10-10T12:00:00Z"
etdstring

Fuel only: The estimated time of departure

Example: "2023-10-11T12:00:00Z"
validityTimeinteger(int64)

Fuel only: The validity time of the enquiry in milliseconds

Example: 3600000
validUntilstring

Fuel only: The date until the enquiry is valid

Example: "2023-10-10T12:00:00Z"
fileIdsArray of strings

The list of file IDs associated with the enquiry

approvalRequestStatestring

The approval request state of the enquiry

Example: "PENDING"

Related API Routes

Related Webhook Events

Draft (Enquiry)

A draft enquiry is an enquiry that has not been sent to any suppliers yet. It is a temporary state that allows users to prepare an enquiry before sending it out.

Related API Routes

Related Webhook Events

Offer

Similar terms: Quote

An offer is a response to an enquiry. It contains the same details as the enquiry with the addition of prices and possibly additional information and changes from the supplier.

Full Offer API Model
idstring

ID of the offer

Example: "5abb6605e4b05f80261fdf37"
dateCreatedstring

Date when the offer was created

Example: "2025-01-01T00:00:00Z"
dateUpdatedstring

Date when the offer was last updated

Example: "2025-01-02T00:00:00Z"
enquiryIdstring

ID of the enquiry

Example: "5abb6605e4b05f80261fdf37"
customerIdstring

ID of the customer

Example: "5abb6605e4b05f80261fdf37"
supplierIdstring

ID of the supplier

Example: "5abb6605e4b05f80261fdf37"
enquiryTypestring

Type of the enquiry

Enum"SPOT""ASSIGNED""FORWARDED""ANONYMOUS"
Example: "ASSIGNED"
statestring

State of the offer

Enum"DRAFT""ENQUIRY""QUOTED""ORDER""CUSTOMER_ADJUSTED""SUPPLIER_ADJUSTED""CONFIRMED""ACKNOWLEDGED""CANCELED""DELIVERED"
Example: "CONFIRMED"
dateDeliveredstring

Date when the offer was delivered

Example: "2025-01-03T00:00:00Z"
dateConfirmationstring

Date when the offer was confirmed

Example: "2025-01-04T00:00:00Z"
dateOrderedstring

Date when the offer was ordered

Example: "2025-01-05T00:00:00Z"
dateEnquiredstring

Date when the enquiry was made

Example: "2025-01-06T00:00:00Z"
dateQuotedstring

Date when the offer was quoted

Example: "2025-01-07T00:00:00Z"
dateCanceledstring

Date when the offer was canceled

Example: "2025-01-08T00:00:00Z"
dateAcknowledgedstring

Date when the offer was acknowledged

Example: "2025-01-09T00:00:00Z"
dateInvoicedstring

Date when the offer was invoiced

Example: "2025-01-10T00:00:00Z"
vendorReferencestring

Vendor reference

Example: "VR-12345"
offerNumberstring

Offer number

Example: "CL-1AB2CD-XY"
cancelReasonstring

Reason for cancellation

Example: "Delivery not needed anymore"
volumenumber

Volume of the offer

Example: 1000
pplobject(MoneyMessage)

Money model

totalobject(MoneyMessage)

Money model

createdBystring

ID of the user who created the offer

Example: "5abb6605e4b05f80261fdf37"
updatedBystring

ID of the user who updated the offer

Example: "5abb6605e4b05f80261fdf37"
orderedBystring

ID of the user who ordered the offer

Example: "5abb6605e4b05f80261fdf37"
paymentTermReferencestring

Payment term reference

Enum"DAYS_AFTER_DELIVERY""DAYS_AFTER_NOMINATION""DAYS_AFTER_INVOICE_DATE""PREPAYMENT"
Example: "DAYS_AFTER_DELIVERY"
paymentTermReferenceDaysinteger(int64)

Payment term reference days

Example: 30
supplyModestring

Supply mode

Enum"BARGE""TRUCK""BARGEANDTRUCK""EX_WHARF""EX_PIPE"
Example: "BARGE"
supplyModeIncludesDeliveryCostsboolean

Indicates if the supply mode includes delivery costs

Example: true
noticeDaysinteger(int64)

Notice days

Example: 7
priceCompleteboolean

Indicates if the price is complete

Example: true
fileIdsArray of strings

List of file IDs

Example: ["67c586ef358cb50eab2a63c7","5abb6605e4b05f80261fdf37"]
changesobject(OfferChangesMessage)

Changes in the offer

portIdstring

ID of the port

Example: "5abb6605e4b05f80261fdf37"
dateDeliverystring

Date of delivery

Example: "2025-01-11T00:00:00Z"
buyerReferencestring

Buyer reference

Example: "BUYER-REF123"
vesselIdstring

ID of the vessel

Example: "5abb6605e4b05f80261fdf37"
itemsArray of objects(OfferItemResponseMessage)

List of offer items

surchargesArray of objects(SurchargeMessage)

List of surcharges

samplekitsArray of objects(SamplekitMessage)

List of sample kits

agentIdstring

ID of the agent

Example: "5abb6605e4b05f80261fdf37"
typestring

Type of the offer

Enum"LUBES""FUEL"
Example: "LUBES"
surveyorobject(SurveyorMessage)

Surveyor model

contractIdstring

Fuel only: ID of the contract

Example: "5abb6605e4b05f80261fdf37"
etastring

Fuel only: Estimated time of arrival

Example: "2025-01-12T00:00:00Z"
etdstring

Fuel only: Estimated time of departure

Example: "2025-01-13T00:00:00Z"
quoteValidityTimeinteger(int64)

Fuel only: Quote validity time in minutes

Example: 1622505600000
validityTimeinteger(int64)

Fuel only: Validity time in minutes

Example: 120
validUntilstring

Fuel only: Valid until date

Example: "2025-01-14T00:00:00Z"
quoteValidUntilstring

Fuel only: Quote valid until date

Example: "2025-01-15T00:00:00Z"

Related API Routes

Related Webhook Events

Order

Similar terms: Purchase Order (PO)

Once an offer has been accepted by the customer, it is converted into an order. The order contains the same details as the offer with some additional information.

Vessel

A vessel is a ship that is managed in closelink. It contains information about the vessel itself, as well as the tanks and their capacity.

Full Vessel API Model
dateCreatedstring(date-time)

The date the vessel was created

Example: "2023-07-04T19:53:42.172Z"
dateUpdatedstring(date-time)

The date the vessel was last updated

Example: "2023-07-04T19:53:42.172Z"
dateActiveUpdatedstring(date-time)

The date the active status of the vessel was last updated

Example: "2023-07-04T19:53:42.172Z"
idstring

The ID of the Vessel

Example: "5fc4f3b053e79838873f72e9"
versioninteger(int64)

Version of the model

Example: 2
customerIdstring

ID of the customer this vessel belongs to

Example: "61c9c86346e0fb0001fe4df6"
namestringrequired

Vessel name

Example: "Rio Bravo"
imostringrequired

The IMO ship identification number

Example: 923012
emailstring

Vessel email address

Example: "vessel@company.com"
invoiceVATstring

VAT number for invoices

Example: "DE123456789"
invoiceAddressobject(AddressMessage)

Model for address details

directOrderAllowedbooleanrequired

Are direct orders allowed for this vessel

Example: true
payingbooleanrequired

Is this a paying vessel

Example: true
activebooleanrequired

Is this vessel active

Example: true
defaultSupplierIdstring

Default supplier id

Example: "61e694d1c9e77c00013dd46e"
transactionEmailAddressesArray of stringsrequired

Transaction email addresses

Example: ["vessel@company.com"]
lubricationChartobject(LubricationChartMessage)

Lubrication Chart Model

servicesArray of strings

Services

Example: ["HFO","LNG"]
typesArray of strings

Types

Example: ["Container","Panamax"]
mailNotificationSettingsobject(MailNotificationSettingsMessage)required

Email notification settings

Related API Routes

Port call

A port call is stop of a vessel at a port as part of its scheduled voyage. It contains information about the expected arrival and departure times.

Full Port Call API Model
idstringread-only

Internal ID

Example: "5cb6cfc92a8bc367aeec923b"
dateCreatedstring(date-time)read-only

The date-time the object was created

Example: "2024-04-17T07:03:37.947Z"
dateUpdatedstring(date-time)read-only

The date-time the object was last updated

Example: "2024-04-17T07:03:37.947Z"
customerGroupIdstringread-only

Internal customerGroupId

Example: "5cb6cfc92a8bc367aeec923b"
imostringrequired

The imo of the vessel

Example: 9776171
etastring(date-time)required

The estimated time of arrival

Example: "2024-03-01T00:00:00.000Z"
etdstring(date-time)required

The estimated time of departure

Example: "2024-03-05T00:00:00.000Z"
locodestringrequired

The locode of the port

Example: "DEHAM"
agentIdsArray of strings

A list of internal IDs of agents for a stop

Example: ["5cb6cfc92a8bc367aeec923b"]

Related API Routes

Port

Closelink representation of a real world port.

Full Port API Model
idstringread-only

Internal ID

Example: "5cb6cfc92a8bc367aeec923b"
dateCreatedstringread-only

The date-time the object was created

Example: "2024-04-17T07:03:37.947Z"
dateUpdatedstringread-only

The date-time the object was last updated

Example: "2024-04-17T07:03:37.947Z"
namestringrequired

The name of the port

Example: "Hamburg"
countryobject(CountryMessage)required

Country entry

latitudenumber(double)

The latitude of the port

Example: 53.5511
longitudenumber(double)

The longitude of the port

Example: 9.9937
locodestringrequired

The locode of the port

Example: "DEHAM"
aliasesArray of strings

A list of aliases for the port

Example: ["Hamburg Süd","Hamburg Port"]
locodeAliasesArray of strings

A list of locode aliases for the port

Example: ["DEHAM1","DEHAM2"]
timeZoneIdstringrequired

The timezone of the port

Example: "Europe/Berlin"

Related API Routes

Company

A company is a legal entity that is managed in closelink. It can either be a customer or a supplier.

Customer group

A customer group is a group of companies that are managed together in closelink.

Full Customer Group API Model
idstringread-only

Internal ID

Example: "5cb6cfc92a8bc367aeec923b"
dateCreatedstring(date-time)read-only

The timestamp the object was created

Example: "2023-07-04T19:53:42.172Z"
dateUpdatedstring(date-time)read-only

The timestamp the object was last updated

Example: "2023-07-04T19:53:42.172Z"
namestringrequired

Name of the company

Example: "Closelink GmbH"
addressobject(AddressMessage)

Model for address details

phonestring

Phone number of the company

Example: "+49 40 1234567-0"
faxstring

Fax number of the company

Example: "+49 40 1234567-98"
emailstringrequired

Email address of the company

Example: "hello@closelink.com"
invoiceMailstring

Email address for invoicing

Example: "financial-department@closelink.com"
additionalReceiverArray of strings

A list of additional email addresses to receive emails

Example: "[cc@closelink.com,bcc@closelink.com]"
testCompanybooleanrequired

Flag that indicates if the customer group is a test group

Example: false
gtcAcceptedbooleanrequired

Flag that indicates if the customer group has accepted the terms and conditions of Closelink

Example: true
invoiceVATstring

Invoice VAT number

Example: 9776171
trialbooleanrequired

Flag that indicates if a company is on trial

Example: true
mailSettingsobject(MailSettingsMessage)
headquarterstring

Headquarter of the company

Example: "Copenhagen, Denmark"
closelinkLitebooleanrequired

Flag that indicates if a customer group is a Closelink Lite customer

Example: false
gtcUrlstring

URL of the terms and conditions of a customer

Example: "https://www.closelink.com/terms-conditions"

Related API Routes

Customer

A customer is a company managed in Closelink that is using Closelink to purchase products.

Supplier

A supplier is a company managed in Closelink that is using Closelink to sell products.

Full Supplier API Model
idstringread-only

Internal ID

Example: "5cb6cfc92a8bc367aeec923b"
dateCreatedstring(date-time)read-only

The ISO date when the object was created

Example: "2025-05-01T20:00:00Z"
dateUpdatedstring(date-time)read-only

The ISO date when the object was last updated

Example: "2025-05-01T20:00:00Z"
namestringrequired

Name of the company

Example: "Closelink GmbH"
addressobject(AddressMessage)

Model for address details

phonestring

Phone number of the company

Example: "+49 40 1234567-0"
faxstring

Fax number of the company

Example: "+49 40 1234567-98"
emailstringrequired

Email address of the company

Example: "hello@closelink.com"
invoiceMailstring

Email address for invoicing

Example: "financial-department@closelink.com"
additionalReceiverArray of strings

A list of additional email addresses to receive emails

Example: "[cc@closelink.com,bcc@closelink.com]"
testCompanybooleanrequired

Flag that indicates if a company is a test company

Example: false
gtcAcceptedbooleanrequired

Flag that indicates if the company has accepted the terms and conditions of Closelink

Example: true
invoiceVATstring

Invoice VAT number

Example: 9776171
trialbooleanrequired

Flag that indicates if a company is on trial time

Example: true
mailSettingsobject(MailSettingsMessage)required
invoiceAddressobject(AddressMessage)required

Model for address details

supplierGroupIdstringrequired

The supplier group ID of the company

Example: "5cb6cfc92a8bc367aeec923b"
showGtcbooleanrequired

Flag to show the general terms and conditions

typestringrequired

The type of the company

Enum"LUBES""FUEL"
Example: "LUBES"

Related API Routes

Approval request

An approval request can be issued by a customer for an offer if the value of the offer exceeds a configured threshold.

Full Approval Request API Model
idstring

Unique identifier of the approval request.

Example: "5abb6605e4b05f80261fdf37"
dateCreatedstring

Date when the approval request was created.

Example: "2025-01-01T00:00:00Z"
dateUpdatedstring

Date when the approval request was last updated.

Example: "2025-01-02T00:00:00Z"
createdBystring

User who created the approval request.

Example: "5abb6605e4b05f80261fdf37"
updatedBystring

User who last updated the approval request.

Example: "5abb6605e4b05f80261fdf37"
customerIdstring

Customer ID associated with the approval request.

Example: "5abb6605e4b05f80261fdf37"
statestring

Current state of the approval request.

Enum"PENDING""APPROVED""DECLINED""WITHDRAWN""EXPIRED"
Example: "PENDING"
offerIdstring

Offer ID associated with the approval request.

Example: "5abb6605e4b05f80261fdf37"
approversArray of objects(ApproverMessage)

List of approvers for the approval request.

controllerEmailAddressstring

Email address of the approver who responded to the approval with approval or rejection.

Example: "controller@example.com"
responseMessagestring

Response message for the approval request.

Example: "Approved successfully."
requestMessagestring

Request message for the approval request.

Example: "Please approve this offer."
dateApprovedstring

Date when the approval request was approved.

Example: "2025-01-03T00:00:00Z"
dateDeclinedstring

Date when the approval request was declined.

Example: "2025-01-03T00:00:00Z"
dateExpiredstring

Date when the approval request expired.

Example: "2025-02-01T00:00:00Z"
dateWithdrawnstring

Date when the approval request was withdrawn.

Example: "2025-01-04T00:00:00Z"
totalobject(MoneyMessage)

Money model

Related API Routes

Related Webhook Events

Product

Items that are offered and ordered as part of an enquiry are called products in Closelink (usually marine lubricants).

Full Product API Model
idstringread-only

The internal ID of a product

Example: "5cb6cfc92a8bc367aeec923b"
dateCreatedstringread-only

The timestamp a product was created

Example: "2023-07-04T19:53:42.172Z"
dateUpdatedstringread-only

The timestamp a product was last updated

Example: "2023-07-04T19:53:42.172Z"
supplierProductGroupstringread-only

The supplier group associated with a product

Example: "SHELL"
publicIdstringread-only

The public ID of a product

Example: "L-3VFMZL"
namestringread-only

The name of a product

Example: "Aeroshell Grease 33"
packTypeDefaultstringread-only

The default pack type of a product

Enum"BULK""DRUMS""IBCS""PAIL""BULK_EX_IBC""BULK_EX_DRUMS""BOTTLE""PACK""CARTON"
Example: "BULK"
aliasesArray of stringsread-only

Aliases of a product, used as additional names

unitDefaultstringread-only

The unit default of a product

Enum"L""KG""MT""BARREL""MWH""MMBTU""PIECE"
Example: "L"
groupstringread-only

The group of a product

Enum"CYLINDER_OIL""SYSMTEM_OIL_2_STROKE""ENGINE_OIL_4_STROKE""ANCILLARY_OIL""GREASE""HFO""MDO""MGO""LNG""TEST_KIT"
Example: "GREASE"
latestSuccessorProductIdstringread-only

The internal ID of the latest successor product of a given product

Example: "5cb6cfc92a8bc367aeec923b"
dateDeprecatedstringread-only

The timestamp a product was deprecated and should not be used anymore

Example: "2023-07-04T19:53:42.172Z"
typestringread-only

The type of a product

Enum"LUBES""FUEL"
Example: "LUBES"
viscosityinteger(int32)read-only

The viscosity of a product

sulphurContentstringread-only

The sulphur content of a product

Enum"HS""VLS""ULS"
Example: "HS"
archivedbooleanread-only

Indicates whether a product is archived

Related API Routes

Remaining on board (ROB)

Similar terms: Stock

The amount of product remaining on board a vessel in a specific tank.

Full Remaining On Board API Model
imostringrequired

The IMO of the vessel reporting the remaining on board information

Example: 9776171
dateMeasuredstringrequired

The date when the remaining on board information were measured

Example: "2024-03-01T00:00:00.000Z"
quantityinteger(int32)required

The quantity in liters

Example: 15000
vesselTankIdstringrequired

The vessel tank ID

Example: "5fc4f3b053e12538873f72e9"

Related API Routes