diff --git a/docs/b2b-edition/specs/storefront/storefront/catalog.yaml b/docs/b2b-edition/specs/storefront/storefront/catalog.yaml index 7766df704..143a8c7e5 100644 --- a/docs/b2b-edition/specs/storefront/storefront/catalog.yaml +++ b/docs/b2b-edition/specs/storefront/storefront/catalog.yaml @@ -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: support@bigcommerce.com 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: diff --git a/docs/b2b-edition/specs/storefront/storefront/sales-rep.yaml b/docs/b2b-edition/specs/storefront/storefront/sales-rep.yaml index f0de01fae..dc6829999 100644 --- a/docs/b2b-edition/specs/storefront/storefront/sales-rep.yaml +++ b/docs/b2b-edition/specs/storefront/storefront/sales-rep.yaml @@ -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: support@bigcommerce.com 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