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
API documentation for the new sort param
Damian Kaczmarczyk0f0ff8989b95
diff --git a/api/docs/v2/storefront/index.yaml b/api/docs/v2/storefront/index.yamlindex 9f8c223244..ac7ff79048 100644--- a/api/docs/v2/storefront/index.yaml+++ b/api/docs/v2/storefront/index.yaml@@ -1129,11 +1129,12 @@ paths:name: sortschema:type: string- example: '-updated_at,price'+ example: '-updated_at,price,-name'description: |-Sort products based on: <ul><li>price (ascending/descenging)</li><li>updated_at (ascending/descenging)</li>+ <li>name (ascending/descenging)</li></ul> Use <q>-</q> sign to set descenging sort, eg. <q>-updated_at</q>- $ref: '#/components/parameters/PageParam'- $ref: '#/components/parameters/PerPageParam'