shelf-life

Update Shelf Life Record

Sets the business's own collection-start date and/or retention duration for a category. expires_at is recomputed here whenever both are present -- if either is cleared, expires_at goes back to null rather than showing a stale computed date.

patch/shelf-life/{record_id}

Request

  • Base URL: https://api.openproof.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.openproof.io/shelf-life/{record_id}
  • Auth: HTTP bearer

Path parameters

record_idstring required

Request body

collection_started_atstring date-time nullable
retention_daysinteger nullable

Response

Successful Response

unknown required

Changes

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