AlphaAlpha Docs
API ReferenceProduct expiry threshold

Upsert a product+site expiry threshold

PUT
/product-expiry-thresholds
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/product-expiry-thresholds" \  -H "Content-Type: application/json" \  -d '{    "productId": "string",    "siteId": "string",    "thresholdDays": 0  }'
{
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "id": "string",
  "productId": "string",
  "siteId": "string",
  "tenantId": "string",
  "thresholdDays": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}