List an item's own modifier effects
Changed onWhat the item's modifiers take on this item in place of their own effects: each a modifierId and an effect, adds or removes with the product (its base unit) and a quantity of thousandths of that unit per unit of the modifier, replaces with the product, a null quantity and replacedStockItem, the product it takes the place of, or none with neither. A modifier that is not listed takes its own effect on the item. NOT_FOUND for an item that does not exist. Refused with FORBIDDEN as inventoryDisabled while the inventory flag is off. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- warning
added the new
replacesenum value to theitems/effectresponse property for the response status - info
added the required property
items/replacedStockItemto the response with the status
- warning
- info
endpoint added
- info