Skip to content
Developersskuflo.iov1Changelog

Close a load (loading complete): signed off, computes shortages and fires load.closed / order.short_loaded

POST/v1/loads/{id}/closeFactory API keyBase URL api.skuflo.io

Loading complete. Needs a sign off: driver_name, photo (the loaded vehicle) and signature (the driver's, a PNG), each image a data URL. Without them the answer is 422 signoff_required. The manifest (GET /v1/loads/:id/manifest.pdf) then prints as a signed manifest.

Try it now

Path parameters#

NameTypeDescription
idrequiredstring (uuid)·

Body parameters#

NameTypeDescription
driver_nameoptionalstring, max 100The name the driver signs as
photooptionalstringPhoto of the loaded vehicle: a data URL (data:image/jpeg;base64,...) or base64. JPEG, PNG or WebP, up to 4 MB.
signatureoptionalstringThe driver's signature as a PNG data URL (from a signature pad), up to 512 KB

Responses#

StatusMeaning
200Success. An example body is in the column on the right.

Other errors#

StatusMeaning
401No key, or the key is not recognised.
402billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled.
403The key is valid but its role cannot do this.
404Nothing with that id in your factory.
422The body failed validation. The response lists every problem at once.
429More than 600 requests a minute. Wait retry-after seconds.