Orbiq logoTrust Center Documentation
API v1 ReferenceCustom tabs

Create a custom tab

Create a custom Trust Center tab and the navigation row that points at it. When no order is given the tab is appended to the end of the navigation. Listing…

POST
/api/v1/custom-tabs

Create a custom Trust Center tab and the navigation row that points at it. When no order is given the tab is appended to the end of the navigation. Listing tabs is the same operation as GET /api/v1/tabs.

Translations cannot be supplied here; create the tab first, then edit each locale through the tab detail endpoint. The custom-tabs permission is required. variant_options is an optional replacement set for the new navigation row. Option ownership is checked before any create write.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.orbiqhq.com/api/v1/custom-tabs" \  -H "Authorization: Bearer $ACCESS_TOKEN" \  -H "Content-Type: application/json" \  -d '{"slug":"vendor-assurance","title":"Vendor Assurance"}'

{  "success": true,  "data": {    "customTab": {      "id": "tab-vendor-assurance",      "slug": "vendor-assurance",      "title": "Vendor Assurance"    }  }}

How is this guide?