Skip to content

Commit e3fa5eb

Browse files
shortcutsmillotp
andauthored
feat(specs): add new BigCommerce source fields (#1387)
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent 6cc7ce4 commit e3fa5eb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

specs/ingestion/common/schemas/source.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,30 @@ SourceBigCommerce:
126126
storeHash:
127127
type: string
128128
description: The store hash identifying the store the shopper is signing in to.
129+
channels:
130+
type: array
131+
items:
132+
$ref: "#/BigCommerceChannel"
129133
required:
130134
- store_hash
131135

136+
BigCommerceChannel:
137+
type: object
138+
additionalProperties: false
139+
properties:
140+
id:
141+
type: integer
142+
description: The ID of the bigcommerce channel.
143+
currencies:
144+
type: array
145+
description: An array of currencies for the given channel `ID`, a currency is a trigram string that represents the currency code.
146+
example: ['usd','eur']
147+
items:
148+
type: string
149+
example: "usd"
150+
required:
151+
- id
152+
132153
MethodType:
133154
type: string
134155
enum: ['GET', 'POST']

0 commit comments

Comments
 (0)