Admin Marketing: Promotions
Cart rule condition attributes
Changed onEvery attribute a condition can test, grouped as on the admin form, each with its type and selectable options, plus the operators each type accepts. Build conditions entries as { attribute: key, operator, value, attribute_type: type }.
get/marketing/cart-rules/condition-attributes
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Condition attributes and operators.
Changes
- info
endpoint added
- info