Deprecated: Use POST /api/v2/companies/{company_id}/tags instead.
Creates a new tag for the specified location.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/labels/{location_id}
- Productionhttps://api.alteg.io/api/v1/labels/{location_id}
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/labels/{location_id}?title=string&color=string&entity=0&icon=string' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
{ "success": true, "data": { "title": "test", "salon_id": 68570, "color": "#00ff11", "entity": 1, "id": 3599560 }, "meta": [] }