# Authorization

### Overview

Merchant accounts have the following permissions:

| Name         | Description                                                     | Relevance         |
| ------------ | --------------------------------------------------------------- | ----------------- |
| `home`       | Access to dashboard home section                                | Dashboard only    |
| `orders`     | Access to order information, including payments and shipments   | Dashboard and API |
| `reports`    | Access to order summary analytics                               | Dashboard and API |
| `products`   | Access to product catalog                                       | Dashboard and API |
| `customers`  | Access to shopper information                                   | Dashboard and API |
| `appearance` | Access to store front content and design customization features | Dashboard only    |
| `settings`   | Access to store configuration settings                          | Dashboard and API |

The various store management functions exposed in [API Endpoints](/management-api/orders.md) are protected with the same permission model. For example, attempting to access an order endpoint using an API key for a user lacking the `orders` permission will return a 403 Forbidden response.

### Changing Account Permissions

At the moment, merchant account permissions can be modified in the "Staff Accounts" subsection (under the dashboard's "Settings" section).

Every store has an owner account. Owner accounts always have full permissions.

Permission information can be queried programmatically by calling the [Get Permissions](/management-api/orders.md#get-permissions) endpoint.

### Trial Expiration

If an account is on an expired trial, a subscription has to be purchased to use most of the API endpoints. Attempting to make API calls to a account whose trial has ended (and without a subscription) will return a 402 Payment Required response.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shopgo.me/management-api/authorization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
