Scopes

All OAuth 2.0 clients and access tokens have a scope. The scope constrains the endpoints to which a client has access, and whether a client has read or write access to an endpoint. Scopes are defined in the Merchant Center or with the API Clients endpoint for a single Project when creating an API Client. Once you create an API Client, you cannot redefine the scopes.

When creating a client or requesting an access token, specify only the scopes your application needs. When requesting an OAuth 2.0 access token, the scope parameter may be omitted. If you do not provide a scope, the access token is granted all the scopes defined for the API client.

manage_project:{projectKey}

Grants permission to use all APIs for the specified Project, with the exception of the API Clients endpoints. For production use, do not use manage_project. Instead, create an API Client and specify only those scopes your application really needs. An API Client using the manage_project scope cannot request a token with less scopes.

manage_products:{projectKey}

Grants permission to view, create, modify, and delete Products in a Project. Implies the view_products scope.

view_products:{projectKey}

Grants permission to view Products in a Project.

view_published_products:{projectKey}

Grants permission to view published Product Projections in a Project. When using GraphQL API, grants permission to query for masterData.current on products interface, as well as to query for published productProjectionSearch results.

manage_categories:{projectKey}

Grants permission to view, create, modify, and delete Categories in a Project. Implies the view_categories scope.

view_categories:{projectKey}

Grants permission to view Categories in a Project.

manage_orders:{projectKey}

Grants permission to view, create, modify, and delete Orders, Carts, Shipping Methods in a Project. Implies the view_orders scope.

manage_orders:{projectKey}:{storeKey}

Grants permission to view, create, modify, and delete Orders and Carts for a Store in a Project. {storeKey} is the key field of a Store. Implies the view_orders:{projectKey}:{storeKey} scope. For more information, see Store Helpers in the HTTP API and GraphQL API.

manage_my_orders:{projectKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete Carts and also to view and create Orders of the Customer account in a Project.

When used as a scope to generate an access token for an anonymous session, grants access to the orders of an anonymousId.

manage_my_orders:{projectKey}:{storeKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete Orders and Carts of the Customer account in a specific Store for a Project.{storeKey} is the key field of a Store. For more information, see Store Helpers in the HTTP API and GraphQL API.

When used as a scope to generate an access token for an anonymous session, grants access to the Orders of an anonymousId.

view_orders:{projectKey}

Grants permission to view Orders in a Project.

view_orders:{projectKey}:{storeKey}

Grants permission to view Orders and Carts for a specific Store in a Project. {storeKey} is the key field of a Store. For more information, see Store Helpers in the HTTP API and GraphQL API.

manage_order_edits:{projectKey}

Grants permission to view, create, update, and delete Order Edits in a Project. Implies the view_order_edits:{projectKey} scope.

view_order_edits:{projectKey}

Grants permission to view Order Edits in a Project.

manage_shopping_lists:{projectKey}

Grants permission to view, create, modify, and delete Shopping Lists in a Project.

manage_shopping_lists:{projectKey}:{storeKey}

Grants permission to view, create, modify, and delete Shopping Lists for a specific Store in a Project. {storeKey} is the key field of a Store. For more information, see Store Helpers in the HTTP API and GraphQL API.

manage_my_shopping_lists:{projectKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete Shopping Lists of the Customer to whom the access token was issued.

When used as a scope to generate an access token for an anonymous session, grants access to the Shopping Lists of an anonymousId.

manage_my_shopping_lists:{projectKey}:{storeKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete Shopping Lists of the Customer account in a specific Store. {storeKey} is the key field of a Store. For more information, see Store Helpers in the HTTP API and GraphQL API.

When used as a scope to generate an access token for an anonymous session, grants access to the Shopping Lists of an anonymousId.

view_shopping_lists:{projectKey}

Grants permission to view Shopping Lists in a Project.

view_shopping_lists:{projectKey}:{storeKey}

Grants permission to view Shopping Lists in a specific Store for a Project.{storeKey} is the key field of a Store.

manage_customers:{projectKey}

Grants permission to view, create, modify, and delete Customers in a Project. Implies the view_customers scope.

manage_customers:{projectKey}:{storeKey}

Grants permission to view, create, modify, and delete Customers in a specific Store for a Project.{storeKey} is the key field of a Store.

view_customers:{projectKey}

Grants permission to view Customers in a Project.

view_customers:{projectKey}:{storeKey}

Grants permission to view Customers in a specific Store for a Project.{storeKey} is the key field of a Store.

manage_my_profile:{projectKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete the profile of a specific Customer for whom the access token was issued.

When used as a scope to generate an access token for an anonymous session, grants access to sign up and sign in customers.

When used as a scope to generate an access token for the client credentials flow, grants access to sign up and sign in customers.

manage_my_profile:{projectKey}:{storeKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete the profile of a specific Customer in a specific Store for a Project.{storeKey} is the key field of a Store.

When used as a scope to generate an access token for an anonymous session, grants access to sign up in a Store and sign in a Store.

manage_types:{projectKey}

Grants permission to view, create, modify, and delete Types in a Project. Implies the view_types scope.

view_types:{projectKey}

Grants permission to view Types in a Project.

manage_payments:{projectKey}

Grants permission to view, create, modify, and delete Payments in a Project.

manage_my_payments:{projectKey} BETA

When used as a scope in the password flow, grants permission to view, create, modify, and delete Payments of the Customer for whom the access token was issued.

When used as a scope to generate an access token for an anonymous session, grants access for the Payments of the anonymousId for which the access token was issued.

view_payments:{projectKey}

Grants permission to view Payments in a Project.

create_anonymous_token:{projectKey}

Grants access to access tokens for anonymous sessions.

manage_subscriptions:{projectKey}

Grants permission to view, create, modify, and delete Subscriptions in a Project.

manage_extensions:{projectKey}

Grants permission to view, create, modify, and delete API Extensions in a Project.

manage_key_value_documents:{projectKey}

Grants permission to view, create, modify, and delete Custom Objects in a Project.

view_key_value_documents:{projectKey}

Grants permission to view Custom Objects in a Project.

manage_project_settings:{projectKey}

Grants permission to view and modify Project settings in a Project.

view_project_settings:{projectKey}

Grants permission to view Project settings.

manage_states:{projectKey}

Grants permission to view, create, modify, and delete States in a Project.

view_states:{projectKey}

Grants permission to view States in a Project.

view_messages:{projectKey}

Grants permission to view Messages in a Project.

manage_api_clients:{projectKey}

Grants permission to view, create, and delete API Clients in a Project.

view_api_clients:{projectKey}

Grants permission to view API Clients in a Project.

manage_stores:{projectKey}

Grants permission to view, create, modify, and delete Stores in a Project.

view_stores:{projectKey}

Grants permission to view Stores in a Project.

manage_discount_codes:{projectKey}

Grants permission to view, create, modify, and delete Discount Codes in a Project.

view_discount_codes:{projectKey}

Grants permission to view Discount Codes in a Project.

manage_shipping_methods:{projectKey}

Grants permission to view, create, modify, and delete Shipping Methods in a Project.

view_shipping_methods:{projectKey}

Grants permission to view Shipping Methods in a Project.

manage_tax_categories:{projectKey}

Grants permission to view, create, modify, and delete Tax Categories in a Project.

view_tax_categories:{projectKey}

Grants permission to view Tax Categories in a Project.

manage_customer_groups:{projectKey}

Grants permission to view, create, modify, and delete Customer Groups in a Project.

view_customer_groups:{projectKey}

Grants permission to view Customer Groups in a Project.

manage_cart_discounts:{projectKey}

Grants permission to view, create, modify, and delete Cart Discounts in a Project.

manage_cart_discounts:{projectKey}:{store_key}

Grants permission to view, create, modify, and delete Cart Discounts in a specific Store for a Project. {storeKey} is the key field of a Store.

view_cart_discounts:{projectKey}

Grants permission to view Cart Discounts in a Project.

view_cart_discounts:{projectKey}:{store_key}

Grants permission to view Cart Discounts in a specific Store for a Project. {storeKey} is the key field of a Store.

introspect_oauth_tokens:{projectKey}

Grants access to introspect tokens issued to other clients.

customer_id:{id}

Grants access to the Customer with the given id, in combination with other permissions like manage_my_orders. The authorization service issues this scope when using the password flow.

anonymous_id:{id}

Grants access to the anonymous session with the given id, in combination with other permissions like manage_my_orders. The authorization service issues this scope when requesting an access token for an anonymous session.

manage_product_selections:{projectKey}

Grants permission to view, create, modify, and delete Product Selections in a Project.

view_product_selections:{projectKey}

Grants permission to view Product Selections in a Project.

manage_standalone_prices:{projectKey}

Grants permission to view, create, modify, and delete Standalone Prices in a Project.

view_standalone_prices:{projectKey}

Grants permission to view Standalone Prices in a Project.

manage_business_units:{projectKey}

Grants permission to view, create, modify, and delete Business Units in a Project.

view_business_units:{projectKey}

Grants permission to view Business Units in a Project.

manage_my_business_units:{projectKey} BETA

Grants permission to view, create, modify, and delete Business Units for a Customer using an access token from the password flow.

manage_quote_requests:{projectKey}

Grants permission to view, create, modify, and delete Quote Requests in a Project.

view_quote_requests:{projectKey}

Grants permission to view Quote Requests in a Project.

manage_my_quote_requests:{projectKey} BETA

Grants permission to view, create, and modify Quote Requests for a Customer using an access token from the password flow.

manage_staged_quotes:{projectKey}

Grants permission to view, create, modify, and delete Staged Quotes in a Project.

view_staged_quotes:{projectKey}

Grants permission to view Staged Quotes in a Project.

manage_quotes:{projectKey}

Grants permission to view, create, modify, and delete Quotes in a Project.

manage_my_quotes:{projectKey} BETA

Grants permission to view, create, and modify Quotes for a Customer using an access token from the password flow.

view_quotes:{projectKey}

Grants permission to view Quotes in a Project.

view_approval_rules:{projectKey}

Grants permission to view Approval Rules in a Project.

manage_approval_rules:{projectKey}

Grants permission to view, create, modify, and delete Approval Rules in a Project.

view_approval_flows:{projectKey}

Grants permission to view Approval Flows in a Project.

manage_approval_flows:{projectKey}

Grants permission to view, create, modify, and delete Approval Flows in a Project.

view_attribute_groups:{projectKey}

Grants permission to view Attribute Groups in a Project.

manage_attribute_groups:{projectKey}

Grants permission to create, modify, and delete Attribute Groups in a Project.

manage_associate_roles:{projectKey}

Grants permission to view, create, modify, and delete Associate Roles in a Project.

view_associate_roles:{projectKey}

Grants permission to view Associate Roles in a Project.

external_user_id:{externalUserId}

Set by an external OAuth server to indicate which user created or modified a resource. When set, the externalUserId field is added to CreatedBy BETA or LastModifiedBy BETA of the resource.