x-api-key: ********************{
"name": "EMPLOYEES",
"type": "static",
"description": "Company Employees"
}curl --location --request POST 'https://api.mircate.com/5p1hp1d2t/CALL/LoyaltyAPI/upsertSegment/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "EMPLOYEES",
"type": "static",
"description": "Company Employees"
}'{
"_id": "6784e8fecf9850bf660f5a60",
"code": "segment01"
}