Skip to main content

Workshop

Manage workshop entries for equipment maintenance, repair, cleaning, and downtime. The workshop system tracks when inventory items are unavailable for rental.

Endpointsโ€‹

MethodEndpointDescription
GET/v1/workshopList workshop entries
GET/v1/workshop/{id}Get workshop entry
POST/v1/workshopAdd to workshop
PATCH/v1/workshop/{id}Update workshop entry
DELETE/v1/workshop/{id}Remove from workshop
GET/v1/workshop/{id}/notesList notes
POST/v1/workshop/{id}/notesAdd note
GET/v1/workshop/templatesList checklist templates
GET/v1/workshop/templates/{id}Get checklist template
POST/v1/workshop/templatesCreate checklist template
PATCH/v1/workshop/templates/{id}Update checklist template
DELETE/v1/workshop/templates/{id}Archive checklist template
POST/v1/workshop/templates/{id}/duplicateDuplicate checklist template
GET/v1/workshop/{id}/checklistsList workshop checklists
POST/v1/workshop/{id}/checklistsAttach checklist
DELETE/v1/workshop/{workshopId}/checklists/{checklistId}Remove checklist
PATCH/v1/workshop/{workshopId}/checklists/{checklistId}/items/{itemId}Complete item
DELETE/v1/workshop/{workshopId}/checklists/{checklistId}/items/{itemId}Reset item
GET/v1/products/{id}/checklist-defaultsList product checklist defaults
POST/v1/products/{id}/checklist-defaultsAdd product checklist default
DELETE/v1/products/{id}/checklist-defaults/{templateId}Remove product checklist default

Authenticationโ€‹

All workshop endpoints require an API key with products:read scope for GET requests, and products:write scope for POST/PATCH/DELETE requests.

Workshop Statusโ€‹

StatusDescription
scheduledItem is scheduled to enter workshop at a future time
in_workshopItem is currently in the workshop
completedItem has been removed from workshop

Workshop Reasonsโ€‹

ReasonDescription
maintenanceRoutine maintenance
repairRepair needed
cleaningCleaning/sanitization
otherOther reason

Tracking Levelsโ€‹

Workshop works at two levels depending on your inventory tracking mode:

Item-Level Trackingโ€‹

When inventory_id is provided, a specific inventory item is tracked:

  • One workshop entry per inventory item
  • Item cannot be rented while in workshop
  • Affected bookings are automatically reassigned to alternative inventory

Group-Level Trackingโ€‹

When only product_id is provided (no inventory_id), quantity is tracked:

  • Reduces available quantity for the product
  • Used for products with group-level inventory tracking

Schedulingโ€‹

Workshop entries can be:

  • Immediate: Item enters workshop right away (start_immediately: true)
  • Scheduled: Item enters workshop at a future date (scheduled_start_at)

Auto-complete can be enabled to automatically mark the entry as completed when scheduled_end_at is reached.

Overdue Entriesโ€‹

An entry is considered overdue when:

  • Status is in_workshop
  • scheduled_end_at has passed

Use ?overdue=true to filter for overdue entries.