Skip to content

Commit

Permalink
B2b 1327 resolve errors (#577)
Browse files Browse the repository at this point in the history
<!-- Ticket number or summary of work -->
# [B2B-1327]


## What changed?
Fixed errors displayed in Visual Studio

## Release notes draft
<!-- Provide an entry for the release notes using simple, conversational
language. Don't be too technical. Explain how the change will benefit
the merchant and link to the feature.

Examples:
* The newly-released [X feature] is now available to use. Now, you’ll be
able to [perform Y action].
* We're happy to announce [X feature], which can help you [perform Y
action].
* [X feature] helps you to create [Y response] using the [Z query
parameter]. Now, you can deliver [ex, localized shopping experiences for
your customers].
* Fixed a bug in the [X endpoint]. Now the [Y field] will appear when
you click [Z option]. -->
* 

## Anything else?
<!-- Add related PRs, salient notes, additional ticket numbers, etc. -->

ping {names}


[B2B-1327]:
https://bigcommercecloud.atlassian.net/browse/B2B-1327?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
bc-traciporter authored Oct 11, 2024
1 parent 1fb356d commit 3a483bc
Show file tree
Hide file tree
Showing 8 changed files with 891 additions and 94 deletions.
4 changes: 4 additions & 0 deletions docs/b2b-edition/specs/storefront/authentication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ info:
title: Authentication
version: '1.0'
description: Storefront authentication for the BigCommerce B2B Edition API
contact:
name: BigCommerce
url: 'https://www.bigcommerce.com'
email: [email protected]
servers:
- url: 'https://api-b2b.bigcommerce.com/api'
paths:
Expand Down
31 changes: 16 additions & 15 deletions docs/b2b-edition/specs/storefront/storefront/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,7 @@ paths:
uniqueItems: true
minItems: 1
items:
required:
- id
- product_id
- sku
- calculated_price
- image_url
- inventory_level
- variantSku
- productId
- variantId
- baseSku
- productName
- price
- isVisible
type: object
properties:
id:
type: number
Expand Down Expand Up @@ -160,6 +147,20 @@ paths:
isVisible:
type: string
minLength: 1
required:
- id
- product_id
- sku
- calculated_price
- image_url
- inventory_level
- variantSku
- productId
- variantId
- baseSku
- productName
- price
- isVisible
required:
- code
- message
Expand Down Expand Up @@ -302,7 +303,7 @@ paths:
option:
type: array
items:
type: object
properties: {}
minQuantity:
type: number
description: Order quantity minimum
Expand Down
21 changes: 15 additions & 6 deletions docs/b2b-edition/specs/storefront/storefront/company.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ info:
title: Company
version: '1.0'
description: Company refers to a collection of customers. BigCommerce B2B Edition special provided company member management and convenience of company purchasing.
contact:
name: BigCommerce
url: 'https://www.bigcommerce.com'
email: [email protected]
servers:
- url: 'https://api-b2b.bigcommerce.com/api/v2'
security:
Expand All @@ -14,7 +18,7 @@ paths:
description: |-
Create a company on the storefront.
Equivalent Storefront GraphQL API Mutation: `companyCreate`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).
operationId: createcompany(fronted)
operationId: createcompany(frontend)
parameters: []
requestBody:
content:
Expand Down Expand Up @@ -190,7 +194,7 @@ paths:
isRequired:
type: string
minLength: 1
description: If this fields is requied
description: If this fields is required
required:
- fieldName
- labelName
Expand Down Expand Up @@ -635,22 +639,22 @@ paths:
type: string
in: query
name: minLastModifiedTime
description: Mininum last modified time
description: Minimum last modified time
- schema:
type: string
in: query
name: maxLastModifiedTime
description: Maxinum last modified time
description: Maximum last modified time
- schema:
type: string
in: query
name: minLastCreatedTime
description: Mininum last created time
description: Minimum last created time
- schema:
type: string
in: query
name: maxLastCreatedTime
description: Maxinum last created time
description: Maximum last created time
- schema:
type: string
in: query
Expand Down Expand Up @@ -2592,6 +2596,11 @@ paths:
description: States of this country
items:
type: object
properties:
stateName:
type: string
stateCode:
type: string
required:
- id
- countryName
Expand Down
4 changes: 2 additions & 2 deletions docs/b2b-edition/specs/storefront/storefront/order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ paths:
date_modified:
type: string
minLength: 1
description: Last modified datetime of order
description: Last modified date and time of order
date_shipped:
type: string
description: Shipped date
Expand Down Expand Up @@ -2031,7 +2031,7 @@ paths:
type: string
in: query
name: productID
description: Pruduct ID
description: Product ID
- schema:
type: string
in: query
Expand Down
Loading

0 comments on commit 3a483bc

Please sign in to comment.