ItemProperties

Deletes a property from an item.

Requires an Idempotency-Key header and the permission of the app page that deletes that kind of property. An item-level property (isItemLevel) is deleted as in the Items page's item modal (ManageInventory): the copies on inventory units that were not individually customized are removed with it. Any other property is deleted as on the Item Templates page (ManageTemplates): the item's property goes, inventory units keep their copies. Either way a property referenced by another property's calculation is refused and the property's own calculation is removed; Cost and Unit Price can never be deleted.

delete/api/v1/items/{id}/properties/{propertyId}

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/items/{id}/properties/{propertyId}
  • Auth: HTTP bearer

Path parameters

idinteger required

Numeric item id.

propertyIdinteger required

Property id from GET.

Response

Deleted; body is the item's remaining properties, propagated = inventory unit copies removed.

itemIdinteger

The item (template) id, e.g. 12.

propagatedinteger

Writes only (0 on GET): how many inventory units' copies of the property were changed by the write (a new value flowing to units that were not individually customized, a new item-level property added to existing units, or the copies removed with a deleted one).

Changes

No recorded changes to this operation across all 1 revision of this API.