Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

udate api docs with selected_locale

wjwitek0941a33a196c
diff --git a/api/docs/v2/platform/index.yaml b/api/docs/v2/platform/index.yaml
index ef253bbcc3..13f74c38c4 100644
--- a/api/docs/v2/platform/index.yaml
+++ b/api/docs/v2/platform/index.yaml
@@ -15490,6 +15490,7 @@ paths:
first_name: Liberty
last_name: Becker
+ selected_locale: nil
created_at: '2022-11-08T19:35:53.726Z'
updated_at: '2022-11-08T19:35:53.726Z'
public_metadata: {}
@@ -15508,6 +15509,7 @@ paths:
first_name: Chasidy
last_name: Strosin
+ selected_locale: 'fr'
created_at: '2022-11-08T19:35:53.730Z'
updated_at: '2022-11-08T19:35:53.730Z'
public_metadata: {}
@@ -15526,6 +15528,7 @@ paths:
first_name: Ruben
last_name: Schmidt
+ selected_locale: 'de'
created_at: '2022-11-08T19:35:53.732Z'
updated_at: '2022-11-08T19:35:53.732Z'
public_metadata: {}
@@ -15591,6 +15594,7 @@ paths:
first_name: Zenia
last_name: King
+ selected_locale: 'pl'
created_at: '2022-11-08T19:35:54.351Z'
updated_at: '2022-11-08T19:35:54.351Z'
public_metadata: {}
@@ -15660,6 +15664,7 @@ paths:
first_name: Irwin
last_name: DuBuque
+ selected_locale: 'en'
created_at: '2022-11-08T19:35:54.635Z'
updated_at: '2022-11-08T19:35:54.635Z'
public_metadata: {}
@@ -15730,6 +15735,7 @@ paths:
first_name: Astrid
last_name: Kohler
+ selected_locale: 'fr'
created_at: '2022-11-08T19:35:55.180Z'
updated_at: '2022-11-08T19:35:55.414Z'
public_metadata: {}
@@ -21338,6 +21344,8 @@ components:
type: string
password_confirmation:
type: string
+ selected_locale:
+ type: string
ship_address_id:
type: string
bill_address_id:
@@ -21365,6 +21373,8 @@ components:
type: string
password_confirmation:
type: string
+ selected_locale:
+ type: string
ship_address_id:
type: string
bill_address_id:
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yaml
index 8c8b04cb54..5cc436e4c7 100644
--- a/api/docs/v2/storefront/index.yaml
+++ b/api/docs/v2/storefront/index.yaml
@@ -63,6 +63,9 @@ paths:
last_name:
type: string
example: Snow
+ selected_locale:
+ type: string
+ example: 'en'
password:
type: string
example: spree123
@@ -110,6 +113,9 @@ paths:
last_name:
type: string
example: Snow
+ selected_locale:
+ type: string
+ example: 'fr'
bill_address_id:
type: string
example: '1'
@@ -3650,6 +3656,9 @@ components:
last_name:
type: string
example: Doe
+ selected_locale:
+ type: string
+ example: 'fr'
store_credits:
type: number
example: 150.75
@@ -5109,6 +5118,7 @@ components:
first_name: John
last_name: Snow
+ selected_locale: 'en'
store_credits: 0
completed_orders: 0
public_metadata: