This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Resolves effective promotions for a category. Only enabled promotions are returned, sorted by position in ascending order.
A promotion is effective for the category when it's assigned to the category directly, or when it's assigned to any of the
category's ancestors with appliedToSubcategories set to true. A promotion that's effective at several positions is
returned once per position.
Conflicts are resolved separately for each position: when multiple promotions are effective at the same position, the promotion with the latest activation date takes precedence, with the promotion ID as a tie-breaker. The activation date is the later of the promotion's creation date and the date it was last enabled.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.