Subtract from quantity amount for all samples in a series

Decreases the tracked amount on every sample in the series by the supplied delta. All samples in the series must already have a quantity configured and use the same quantity type. Subtraction cannot drop any sample's amount below zero — that is rejected with 400 and no sample is updated. For a single sample, use POST /samples/{sampleID}/quantity/subtract.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Body Params
Headers
string
Defaults to Swagger
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses
200

Amount was successfully subtracted from the samples

204

No Content

400

Not all samples have a quantity set, have the same quantity type or the amount dropped below 0

401

You do not have the permission to edit one or all of the samples.

404

The series was not found

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!