User
Patch mutable segment fields
Changed onWhen filters_json is present it follows UserSegmentFilters. Invalid or legacy fields return 400; unsupported indexed combinations return 422.
patch/api/v1/user/segments/{id}
Request
- Base URLhttps://openmercantil.es
- AuthAPI key in cookie ob_sess
- TypeScripthttps://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/user/segments/:id/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Headers
X-CSRF-Tokenstring required
Fresh token returned by GET /api/v1/user/me for this authenticated session.
Request body
Response
Updated
Changes
- info
endpoint added
- info