List an item's own modifier effects

Changed on

What 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.

post/api/public/v1/inventoryModifiers/itemEffects

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
catalogItemId, string required

Response

OK

object[] required
modifierId, string required
effect, 'adds' | 'removes' | 'replaces' | 'none' required
stockItem, object nullable required
quantity, string nullable required
replacedStockItem, object nullable required

Changes

    • warning

      added the new replaces enum value to the items/effect response property for the response status

    • info

      added the required property items/replacedStockItem to the response with the status

    • info

      endpoint added