iotoms Docs

Delete a price variance tolerance

DELETE
/api/v1/pricing/variances/tolerance/{id}

Removes a tolerance override. That scope then falls back to the next broader tolerance (party, tenant default, then built-in), never to no check at all.

How to use it

  1. Find the tolerance ID in the scopes returned by List price variance tolerances.
  2. Delete it; that party or party-and-item scope falls back to the next broader tolerance, ending at the built-in default.

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Path Parameters

id*integer

ID of the record.

Formatint64

Header Parameters

X-TenantID*string

Your merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request worked, ERROR when it did not.

message*string

Short human-readable message describing the result, for logs or display; do not parse it.

data?|

Key-value result. For PDF endpoints: pdfUrl (a temporary signed download link), templateId, templateVersion, generatedAt plus document keys such as dayCycleId.

Example Request
curl -X DELETE 'https://beta.iotoms.com/api/v1/pricing/variances/tolerance/0' \  -H 'X-TenantID: your-tenant-code'
Example Response
{  "status": "string",  "message": "string",  "data": {    "property1": {},    "property2": {}  }}