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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fix `CreditCard` data structure
Tsuyoshi Hoshino541ef5b807e8
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex 58f2aef29a..3604100cba 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -2394,8 +2394,6 @@ components:default: credit_cardattributes:type: object- required:- - relationshipsproperties:cc_type:type: string@@ -2424,18 +2422,19 @@ components:type: booleanexample: truedescription: Defines if this is the default CC for a signed in user- relationships:- type: object- properties:- payment_method:- type: object- properties:- data:- $ref: '#/components/schemas/Relation'+ relationships:+ type: object+ properties:+ payment_method:+ type: object+ properties:+ data:+ $ref: '#/components/schemas/Relation'required:- id- type- attributes+ - relationshipsCreditCardIncludes:x-internal: truetitle: Credit Card Includes