GymMaintain
Contents · Parts

Parts

GET   /parts?low_stock=1
POST  /parts
GET   /parts/{id}
PATCH /parts/{id}
POST  /parts/{id}/receive

low_stock=1: stock ≤ min_stock.

name is required. Optional: sku, bin, stock, min_stock, unit_price, supplier_id, notes (text on the part, not /notes).

A receipt adds to stock. qty is required, integer ≥ 1:

{"qty":2}
curl -X POST https://app.gymmaintain.com/api/v1/parts/<uuid>/receive \
  -H "Authorization: Bearer gm_..." -H "Content-Type: application/json" \
  -d '{"qty":2}'