Skip to content
Developersskuflo.iov1Changelog

Loading complete: sign off and close the load this dispatch station is filling

POST/v1/station/load/completeFactory API keyBase URL api.skuflo.io

The same as closing the load in the dashboard: shortages are worked out, load.closed fires, and every order that went partly loaded fires order.short_loaded and tells its retailer. Every scanner on the load goes back to No load open. 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

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.
422The body failed validation. The response lists every problem at once.
429More than 600 requests a minute. Wait retry-after seconds.