🔐 This endpoint requires HTTP authentication (either Basic or Bearer).
For authenticating with Bearer token, required scopes are: searchandising.refined_collections(w).
Create or replace a refined collection. It will replace all existing rules associated with the collection if there are any. It will also flip allow_automatic_rules to true (which is default) if attribute's value isn't submitted in the request.