Postscript.Trigger (postscript v1.0.0)

Link to this section Summary

Functions

Allow a shop to use a trigger.

Create a trigger.

Delete a trigger.

Fire a trigger for a subscriber.

Retrieve a trigger.

Retrieve a list of triggers.

Update a trigger by replacement.

Update a trigger.

Link to this section Functions

Specs

add_shop(String.t()) :: Postscript.Operation.t()

Allow a shop to use a trigger.

Specs

Create a trigger.

Specs

Delete a trigger.

Link to this function

fire(trigger_id, subscriber_id, opts)

Specs

Fire a trigger for a subscriber.

Specs

Retrieve a trigger.

Specs

Retrieve a list of triggers.

Link to this function

replace(id, opts)

Specs

Update a trigger by replacement.

Link to this function

update(id, opts)

Specs

Update a trigger.