ReorderPoints

Deletes one reorder point.

Requires ManageInventory and an Idempotency-Key header. Removes the reorder point (the Delete button on Reorder → Thresholds): the item stops being listed by GET /api/v1/items/low-stock for it at once, and synced devices drop it on their next pull. To keep the rule but stop it, send "isActive": false to PUT /api/v1/items/{id}/reorder-points instead. Find ids with GET /api/v1/reorder-points or GET /api/v1/items/{id}/reorder-points. Example: DELETE /api/v1/reorder-points/7.

delete/api/v1/reorder-points/{id}

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/reorder-points/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Reorder point id. Example: 7.

Response

Deleted; body is the reorder point as it was.

idinteger

Reorder point id. Example: 7.

itemIdinteger

Item the reorder point belongs to.

locationIdinteger nullable

Location it watches; null = the item's stock at all locations together.

locationNamestring nullable

Name of LocationId; null for all locations.

minimumStockinteger

Low-stock level: below this many units the item is listed by GET /api/v1/items/low-stock. Example: 10.

reorderQuantityinteger nullable

Units to reorder; null = twice MinimumStock. Example: 24.

isActiveboolean

False when the reorder point is switched off (kept, but never low stock).

createdAtstring date-time

UTC creation time (0001-01-01T00:00:00Z for rows made before the API recorded it).

updatedAtstring date-time

UTC last modification time (same caveat as CreatedAt).

Changes

No recorded changes to this operation across all 1 revision of this API.