---
title: Using the portal
slug: using-the-portal
abstract: The Portal API Console provides an interactive interface to make authenticated API requests against your Marketplace.
content_type: how-to
audience: \[developer]
---

# Using the portal

## Accessing the API console

Access the API console by opening your marketplace app in the Sitecore Cloud Portal. Click the API console link in the top nav.

### Explore your region and environment

In the top-right nav, an expandable panel will show you details about your current marketplace. If you selected a Marketplace, requests are made as your Portal user. If you selected a specific user from the context selector, the interface indicates you are making requests as that user.

### Portal user context and default users

The default user you are authenticated as does not exist in the system. Your Marketplace is new and contains no users. To verify this, navigate to **Seller** > **Admin Users** in the left resources menu to open the "Get a list of admin users" request. Click **Send** to see an empty list response:

```json
{
  "Meta": {
    "Page": 1,
    "PageSize": 20,
    "TotalCount": 0,
    "TotalPages": 0,
    "ItemRange": [
      1,
      0
    ]
  },
  "Items": []
}
```

You are not interacting with the OrderCloud API as you would in a production implementation. To create actual users and define how they interact with your Marketplace, create core users and establish their access definitions.

## Self-service tools

### Introducing search index tools for portal

The premium search feature now includes self-service tools for viewing and rebuilding search indexes. These tools enable marketplace administrators to investigate and resolve basic search indexing errors without requiring additional support.

#### Search index concepts

##### Core functionality

- Premium search endpoints use Elasticsearch
- Caches Product and submitted Order data
- Provides enhanced search capabilities
- Delivers improved performance

##### Index management

- Manual rebuilds create new indexes
- Old index remains active until rebuild completes
- Automatic maintenance optimizations occur
- Resource limitations apply

##### Common scenarios

Manual rebuilds required after:

- Toggling `Active` on:
  - Buyers
  - Suppliers
  - Catalogs
  - Categories
- Toggling `ViewAllProducts` on:
  - Catalogs
  - Categories
- Updating `SupplierID`

#### Troubleshooting tools

##### Portal access

- Available to registered users
- Marketplace-specific visibility
- Product and Order index views

![ ](https://doc.sitecore.com/api/markdown-image/ordercloud/en/developers/platform/images/b276f13a537d4788aa30ca00f5e5cd84.png)

##### Index details

Status indicators:

- `Active`: Current production index
- `Building`: Initial creation
- `Rebuilding`: Manual refresh
- `WaitingToBuild`: Queued
- `Failed`: Build error
- `Canceled`: User terminated
- `Invalid`: Schema issues

##### Error logging

- Schema error details
- Affected item IDs
- Problem field identification
- Value type conflicts
- Limited to 100 documents

##### Visibility requirements

- Resource items must exist
- Premium search enabled
- Orders must be submitted
- API calls required

#### Schema error handling

##### Common issues

Most frequent error: Inconsistent extended property (xp) data types within resources.

##### Example scenario

Different value types for same property:

```javascript
product1.xp.FreeShipping: false  // boolean
product2.xp.FreeShipping: 0      // integer
```

Error message:

```
Failed to parse field [xp.FreeShipping] of type [boolean] in document with id 'product2'. Preview of field's value: '0'
```

##### Impact

- Search results inconsistency
- Direct lookups work (`GET v1/products/product2`)
- List operations fail (`GET v1/products`)

##### Resolution steps

1. Ensure consistent xp types
2. Update incorrect values
3. Rebuild index if schema changes

##### SDK support

Type consistency tools:

- [Javascript SDK](https://www.npmjs.com/package/ordercloud-javascript-sdk)
- [.NET C# SDK](https://www.nuget.org/packages/OrderCloud.SDK/)
- Strong typing support
- Schema validation

#### Index rebuilding

![ ](https://doc.sitecore.com/api/markdown-image/ordercloud/en/developers/platform/images/0197290c4f8344d289b9f3ddd148b49d.png)

##### Process overview

1. Ensure consistent xp types
2. Navigate to active index
3. Locate rebuild button
4. Trigger rebuild operation
5. Monitor build progress

##### Usage limits

Production/Staging environments:

- 3 rebuilds per hour
- 5 rebuilds per week

Sandbox environments:

- 10 rebuilds per hour
- 30 rebuilds per week

##### Requirements

- Active index only
- Administrator access
- No concurrent rebuilds
- Cannot cancel in progress

##### Build considerations

- Resource-intensive operation
- Build time varies by data volume
- Progress tracking available
- Error retention: 24 hours

Contact OrderCloud support for persistent issues.

### Portal self-service

![ ](https://doc.sitecore.com/api/markdown-image/ordercloud/en/developers/platform/images/8ff39afea2be4e9db5dd59034b7c3aa9.png)

Features:

- Manual subscription processing
- Administrator-only access
- Development debugging support
- Enhanced control

Processing limits:

| Environment | Hourly Job Limit |
| ----------- | ---------------- |
| Sandbox     | 10               |
| Staging     | 10               |
| Production  | 3                |


## App access for OrderCloud with Sitecore Cloud Portal

This guide explains OrderCloud access management through Sitecore Cloud Portal organization and app access controls.

### Organization access levels

Organization-level access determines overall system permissions:

Owner/Admin privileges:

- Full access to all Sitecore apps
- FullAccess data permissions
- Complete impersonation rights
- User management capabilities:
  - Team member invitations
  - Access level configuration
  - User access modification
  - Account deletion

### App access roles

Each OrderCloud marketplace (app) supports these access roles:

| App Role | Description |
| ---------- | ------------- |
| Full Access | Highest access level with complete feature availability (subject to data access configuration) |
| Admin | Configurable administrator role with customizable data access |
| Custom Group 1 | First custom role with defined data permissions |
| Custom Group 2 | Second custom role with defined data permissions |
| Custom Group 3 | Third custom role with defined data permissions |
| Custom Group 4 | Fourth custom role with defined data permissions |

### Custom group configuration

#### Access control capabilities

OrderCloud enables granular access control through custom role groups:

- Flexible permission configuration
- Precise data access control
- Role-based authorization

Configuration requirements:

- Owner/Admin organization access required
- Up to 4 custom role groups available
- Customizable admin role settings

#### Permission components

Each custom role group includes:

1. Data access levels
2. Impersonation permissions
3. API role assignments

#### Access inheritance

Role permissions affect:

- Personal API console access
- Impersonation capabilities
- Data visibility restrictions

Note: Available roles during impersonation represent the intersection of:

- Impersonated user's roles
- Impersonating user's permissions

![ ](https://doc.sitecore.com/api/markdown-image/ordercloud/en/developers/platform/images/16d7adc5b70640978299ab201358950b.png)

### Access assignment process

#### User invitation workflow

Organization administrators can assign roles during team member invitations:

![ ](https://doc.sitecore.com/api/markdown-image/ordercloud/en/developers/platform/images/386b36d4507d491081a59fba67c6d08c.png)

#### Implementation recommendations

Before user invitations:

1. Define app access configurations
2. Configure role permissions
3. Establish access hierarchies
4. Document permission structures

This preparation ensures proper access assignment during onboarding.

---

## Related reading

- [Premium search](https://doc.sitecore.com/ordercloud/en/developers/platform/premium-search.html)
- [Cart](https://doc.sitecore.com/ordercloud/en/developers/platform/cart.html)
- [Premium search for orders](https://doc.sitecore.com/ordercloud/en/developers/platform/premium-search.html#premium-search-for-orders)
- [Subscriptions](https://doc.sitecore.com/ordercloud/en/developers/platform/subscriptions.html)
- [Product synchronization & Sitecore Search](https://doc.sitecore.com/ordercloud/en/developers/platform/product-sync-sitecore-search.html)
- [Why you should never use FullAccess](https://doc.sitecore.com/ordercloud/en/developers/platform/security-profiles-and-roles.html#why-you-should-never-use-fullaccess)