API reference
Endpoints for all six apps. Base URL https://api.bodegito.com/v1 — Beta: endpoints follow the OpenAPI snapshot.
Beta — this reference may lag the live OpenAPI snapshot (/api/openapi.json). In case of conflict, the snapshot wins.
Conventions
- Pagination: ?page=&page_size= (default 20, max 200). Filtering: ?filter[field]=value. Sorting: ?sort=-created_at.
- Envelope: every list returns {data, page, page_size, total}. Every write returns the created/updated resource.
- Idempotency: POST endpoints accept Idempotency-Key header — safe to retry webhooks and order creation.
WMS
GET
/wms/inventoryQuery on-hand inventory (by sku / warehouse / location)filter[sku], filter[warehouse_id]POST
/wms/inventory/adjustAdjust inventory (reason required, audit-logged)sku, warehouse_id, qty_delta, reasonGET
/wms/receiptsList inbound receiptsPOST
/wms/receiptsCreate inbound receiptmerchant_id, warehouse_id, lines[]POST
/wms/receipts/{id}/receiveReceive lines (build pallets, print LPN labels)lines[{sku, qty_received, pallet_id}]GET
/wms/shipmentsList outbound shipmentsPOST
/wms/shipmentsCreate outbound shipmentmerchant_id, warehouse_id, lines[]POST
/wms/shipments/{id}/shipShip (deduct inventory, print packing list)POST
/wms/shipments/{id}/deliverConfirm delivery (terminal state)delivered_at, signed_byGET
/wms/wavesList wavesPOST
/wms/waves/releaseRelease a wave (create pick tasks)wave_idGET
/wms/loadsList loads (LTL/TL)POST
/wms/loads/{id}/shipShip load (generate VICS BOL)OMS
GET
/oms/ordersList sales ordersfilter[status], filter[merchant_id]POST
/oms/ordersCreate sales ordermerchant_id, channel, lines[]POST
/oms/orders/{id}/releaseRelease order to WMSGET
/oms/inventoryQuery OMS inventory (standalone mode) or WMS-synced viewPOST
/oms/inventory/adjustAdjust OMS inventory (standalone mode only)GET
/oms/channels/connectionsList channel connectionsPOST
/oms/channels/connectionsCreate channel connectionchannel, credentials, sync_scopes[]POST
/oms/channels/connections/{id}/testTest channel connectivityGET
/oms/product-mappingsList channel SKU mappingsPOST
/oms/product-mappingsCreate SKU mappingconnection_id, channel_sku, oms_product_idPOST
/oms/sync/inventoryPush available-to-promise to channelsconnection_idPOST
/oms/sync/productsPush product info to channelsconnection_id, product_ids[]Purchase
GET
/purchase/ordersList purchase ordersfilter[status], filter[merchant_id]POST
/purchase/ordersCreate purchase ordervendor_id, merchant_id, lines[]POST
/purchase/orders/{id}/releaseRelease PO to WMS (create inbound receipt)GET
/purchase/asnsList ASNsPOST
/purchase/asnsCreate ASNpo_id, merchant_id, etaGET
/purchase/vendorsList vendors (shared across tenants)POST
/purchase/vendorsCreate vendorname, contactYMS
GET
/yms/appointmentsList appointmentsfilter[date], filter[type]POST
/yms/appointmentsCreate appointmentcarrier, plate, container_no, window_start, window_endPOST
/yms/appointments/{id}/check-inCheck in at gatePOST
/yms/gate-entriesRecord gate entry/exitplate, direction, appointment_idGET
/yms/movementsList yard move tasksPOST
/yms/movementsCreate move tasktrailer_id, to_locationPOST
/yms/movements/{id}/completeComplete move taskGET
/yms/yard-mapYard spot occupancy mapTMS
GET
/tms/ordersList transport ordersPOST
/tms/ordersCreate transport order (usually from WMS load)load_id, origin, destinationPOST
/tms/orders/{id}/assignAssign carriercarrier_id, rateGET
/tms/orders/{id}/trackingTrack in-transit statusPOST
/tms/orders/{id}/podUpload proof of deliverypod_files[]GET
/tms/carriersList carriersGET
/tms/freight-billsFreight bills (with per-merchant split lines)Drayage
GET
/drayage/ordersList drayage ordersfilter[merchant_id]POST
/drayage/ordersCreate drayage ordermerchant_id, container_no, pickup, deliveryPOST
/drayage/orders/{id}/completeComplete (creates WMS inbound receipt)GET
/drayage/containersTrack containersGET
/drayage/containers/{no}/eventsContainer event timelineCreate an order
POST /v1/oms/orders
{
"merchant_id": "mch_acme",
"channel": "shopify",
"lines": [{ "sku": "ACME-WIDGET-01", "qty": 10 }]
}201 Created
{ "id": "so_9f31", "status": "draft",
"merchant_id": "mch_acme", "lines": [...] }