Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Permissions Introduction Standard Shopper Roles API
description: 'A user''s permissions are determined by their assigned role, which defines their level of access to APIs and Commerce Manager. These permissions ensure that users can only perform actions and access data relevant to their responsibilities.
With Commerce Extensions, you can create Custom APIs to extend the functionality of Commerce. Using Custom API Role Policies, you can specify the permissions for each role, ensuring fine-grained control over who can interact with these Custom APIs.'
contact:
name: Elastic Path
url: https://www.elasticpath.com
email: support@elasticpath.com
version: 26.0610.7728570
x-version-timestamp: 2026-06-10 00:02:14+00:00
license:
name: MIT
url: assets/LICENSE
servers:
- url: https://useast.api.elasticpath.com
description: US East
- url: https://euwest.api.elasticpath.com
description: EU West
security:
- bearerAuth: []
tags:
- name: Standard Shopper Roles
description: Standard Shopper Roles represent the roles of customers.
paths:
/v2/permissions/standard-shopper-roles:
get:
tags:
- Standard Shopper Roles
summary: List Standard Shopper Roles
operationId: ListStandardShopperRoles
description: Retrieves a list of Standard Shopper Roles
responses:
'200':
$ref: '#/components/responses/ListOfStandardShopperRoles'
'400':
$ref: '#/components/responses/ValidationError'
'500':
$ref: '#/components/responses/InternalServerError'
/v2/permissions/standard-shopper-roles/{standard-shopper-role-id}:
parameters:
- $ref: '#/components/parameters/StandardShopperRoleID'
get:
tags:
- Standard Shopper Roles
summary: Get a Standard Shopper Role
operationId: GetAStandardShopperRole
responses:
'200':
$ref: '#/components/responses/StandardShopperRole'
'400':
$ref: '#/components/responses/ValidationError'
'404':
$ref: '#/components/responses/NotFoundError'
'500':
$ref: '#/components/responses/InternalServerError'
components:
schemas:
Errors:
required:
- errors
properties:
errors:
type: array
items:
type: object
required:
- status
- title
properties:
status:
type: string
description: The HTTP response code of the error.
format: string
examples:
- '400'
title:
type: string
description: A brief summary of the error.
examples:
- Bad Request
detail:
type: string
description: Optional additional detail about the error.
examples:
- The field 'name' is required
LinkURI:
type:
- string
- 'null'
format: uri
StandardShopperRole:
type: object
properties:
id:
type: string
description: The unique identifier for the Standard Shopper Role.
type:
type: string
description: Specifies the type of the resource object, use `standard_shopper_role` for Standard Shopper Roles.
const: standard_shopper_role
name:
type: string
description: Specifies the name of the Standard Shopper Role.
links:
type: object
properties:
self:
$ref: '#/components/schemas/LinkURI'
description: Specifies the URI of the Standard Shopper Role.
example: /v2/permissions/standard-shopper-roles/guest-shopper
responses:
ListOfStandardShopperRoles:
description: List of Standard Shopper Roles
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/StandardShopperRole'
ValidationError:
description: Bad request. The request failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
missing-name:
summary: Required field missing
value: "{\n \"errors\": [\n {\n \"title\": \"Bad Request\",\n \"status\": \"400\",\n \"detail\": \"The field 'name' is required.\"\n }\n ]\n}\n"
StandardShopperRole:
description: A Standard Shopper Role
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/StandardShopperRole'
InternalServerError:
description: Internal server error. There was a system failure in the platform.
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
internal-server-error:
summary: Internal server error
value: "{\n \"errors\": [\n {\n \"title\": \"Internal Server Error\",\n \"status\": \"500\",\n \"detail\": \"there was a problem processing your request\"\n }\n ]\n}\n"
NotFoundError:
description: Not found. The requested entity does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/Errors'
examples:
not-found:
summary: Requested entity not found
value: "{\n \"errors\": [\n {\n \"title\": \"Not Found\",\n \"status\": \"404\",\n \"detail\": \"Not found\"\n }\n ]\n}\n"
parameters:
StandardShopperRoleID:
name: standard-shopper-role-id
description: The ID of the Standard Shopper Role.
in: path
required: true
schema:
type: string
example: guest-shopper
securitySchemes:
bearerAuth:
type: http
scheme: bearer