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.

Merge branch 'main' into feature/SD-1422-Migrate-Spree-Digital-into-Spree-Core

Matthew Kennedy148572b87411
diff --cc api/config/routes.rb
index 1c44587253,a272d4645c..4d8b5091c0
--- a/api/config/routes.rb
+++ b/api/config/routes.rb
@@@ -294,18 -294,11 +296,21 @@@ Spree::Core::Engine.add_routes d
resources :wishlists
resources :wished_items
+ # Digitals
+ resources :digitals
+
+ # Digtal links
+ # TODO: digital_links are automaticly created, should never be deleted
+ # but should be able to be updated to reset the access_counter
+
+ # is this okay? or do you want full CRUD?
+ resources :digital_links, only: [:show, :index, :update]
+
# Store API
resources :stores
+
+ # Configurations
+ resources :shipping_categories
end
end
end