Skip to main content

Rules reset

GET 

/rules/:resource/reset

Propeller keeps track on which entities rules have been executed. Once all rules have been executed on an entity it will be internally marked as 'rules applied' and executing the rules execute endpoint again will not trigger the rules for this entity anymore.

There are two ways of 'resetting' the 'rules applied' value:

  1. update the entity (either via the Propeller back office or API)
  2. by using the rules reset endpoint.

The rules reset endpoint resets the 'rules applied' value for all entities.

Request

Path Parameters

    resource stringrequired

    Type of rules to execute:

    users products

Query Parameters

    shopId string

    Provide for resource of type orders. Otherwise ignored. Defaults to first shop

Responses

Loading...