-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated security b2b authentication details (#557)
<!-- Ticket number or summary of work --> # [DEVDOCS-5655] ## What changed? Updating security information ## Release notes draft n/a ## Anything else? <!-- Add related PRs, salient notes, additional ticket numbers, etc. --> ping {names} [DEVDOCS-5655]: https://bigcommercecloud.atlassian.net/browse/DEVDOCS-5655?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
1 parent
99c83e1
commit 88ac21e
Showing
2 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,14 @@ info: | |
title: Catalog | ||
version: '1.0' | ||
description: The Catalog refers to a store’s collection of physical and digital products. | ||
contact: | ||
name: BigCommerce | ||
url: 'https://www.bigcommerce.com' | ||
email: [email protected] | ||
servers: | ||
- url: 'https://api-b2b.bigcommerce.com/api/v2' | ||
security: | ||
- authToken: [] | ||
- BearerToken: [] | ||
paths: | ||
/catalogs/variants: | ||
get: | ||
|
@@ -364,9 +368,13 @@ paths: | |
components: | ||
schemas: {} | ||
securitySchemes: | ||
authToken: | ||
name: authToken | ||
description: Include the `authToken` in a header parameter. | ||
BearerToken: | ||
name: BearerToken | ||
description: |- | ||
### Authentication header | ||
| Header | Argument | Description | | ||
|:-------|:---------|:------------| | ||
|`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| Obtained using the [BigCommerce Current Customer API](/docs/rest-authentication/current-customer) endpoint. | | ||
type: apiKey | ||
in: header | ||
tags: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,14 @@ info: | |
title: Super Admin | ||
version: '1.0' | ||
description: Super Admin is a group of sales representatives assigned to the company. | ||
contact: | ||
name: BigCommerce | ||
url: 'https://www.bigcommerce.com' | ||
email: [email protected] | ||
servers: | ||
- url: 'https://api-b2b.bigcommerce.com/api/v2' | ||
security: | ||
- BearerToken: [] | ||
paths: | ||
'/sales-reps/{userId}/companies/{companyId}/begin-masq': | ||
parameters: | ||
|
@@ -84,8 +90,6 @@ paths: | |
Equivalent Storefront GraphQL API Mutation: `superAdminBeginMasquerade`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground). | ||
tags: | ||
- Super Admin | ||
security: | ||
- authToken: [] | ||
'/sales-reps/{userId}/companies/{companyId}/end-masq': | ||
parameters: | ||
- schema: | ||
|
@@ -140,8 +144,6 @@ paths: | |
Equivalent Storefront GraphQL API Mutation: `superAdminEndMasquerade`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground). | ||
tags: | ||
- Super Admin | ||
security: | ||
- authToken: [] | ||
'/sales-reps/{customerId}/companies/masquerading': | ||
parameters: | ||
- schema: | ||
|
@@ -456,8 +458,6 @@ paths: | |
Equivalent Storefront GraphQL API Query: `superAdminCompanies`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground). | ||
tags: | ||
- Super Admin | ||
security: | ||
- authToken: [] | ||
parameters: | ||
- schema: | ||
type: integer | ||
|
@@ -540,18 +540,18 @@ paths: | |
description: Update super admin assign company. | ||
tags: | ||
- Super Admin | ||
security: | ||
- authToken: [] | ||
x-internal: true | ||
components: | ||
schemas: {} | ||
securitySchemes: | ||
authToken: | ||
name: authToken | ||
description: Include the `authToken` in a header parameter. | ||
BearerToken: | ||
name: BearerToken | ||
description: |- | ||
### Authentication header | ||
| Header | Argument | Description | | ||
|:-------|:---------|:------------| | ||
|`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| Obtained using the [BigCommerce Current Customer API](/docs/rest-authentication/current-customer) endpoint. | | ||
type: apiKey | ||
in: header | ||
security: | ||
- authToken: [] | ||
tags: | ||
- name: Super Admin |