Decrement the inventory count
PUT {{baseUrl}}/api/Premium/Decrement/:premiumId?decrementor=<integer>
The decrementor defaults to -1 and MUST be a negative number. If you need to increment, use the Increment Premium endpoint.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
decrementor | string | The decrementor. |
RESPONSES
status: OK
{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","code":"\u003cstring\u003e","description":"\u003cstring\u003e","price":"\u003cdouble\u003e","fairMarketValue":"\u003cdouble\u003e","cost":"\u003cdouble\u003e","inventoryCount":"\u003cinteger\u003e","isActive":"\u003cboolean\u003e","createDateTimeUtc":"\u003cdateTime\u003e","createdByUser":"\u003cstring\u003e","modifiedDateTimeUtc":"\u003cdateTime\u003e","modifiedByUser":"\u003cstring\u003e","customFields":[{"name":"\u003cstring\u003e","value":"\u003cstring\u003e","displayName":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","value":"\u003cstring\u003e","displayName":"\u003cstring\u003e"}]}