User authentication and session management for B2B integrations
- Remove a Custom Field from a Location
Getting a collection of location fields
Adding a Custom Field
Update a Custom Field
Remove a Custom Field fro...
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
Bodyapplication/jsonrequired
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/custom_fields/{field_category}/{location_id}/{field_id}
- Productionhttps://api.alteg.io/api/v1/custom_fields/{field_category}/{location_id}/{field_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/custom_fields/record/{location_id}/{field_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "text",
"code": "my_text_field",
"title": "test field",
"user_can_edit": true,
"show_in_ui": true
}'Response
application/json
{ "success": true, "data": null, "meta": { "message": "Saved" } }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/custom_fields/{field_category}/{location_id}/{field_id}
- Productionhttps://api.alteg.io/api/v1/custom_fields/{field_category}/{location_id}/{field_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/custom_fields/record/{location_id}/{field_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
{ "success": true, "data": null, "meta": { "message": "Deleted" } }