Update one or more fields on a sample. Only the fields you send are changed.
Samples can only be edited while their order is in the 'placed' or 'in progress' status; editing a sample on an order in any other status returns the invalid_order_status error. A sample belonging to another lab returns 404 rather than 403.
The IDs for type_id, production_method_id and classification_id are the same ones used when creating a sample, and are listed at GET /sampletypes, GET /sampleproductionmethods and GET /sampleclassifications. The new sample type must belong to the same industry as the sample and its order.
The regulator sample ID cannot be edited through this API, because regulator requirements for changing it differ from state to state.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||