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.

Say why fetching a certificate document has no client sample

Łukasz Adamczyk4a6d66431dac
diff --git a/spree/api/spec/integration/spree/api/v3/admin/companies/tax_exemption_certificates_spec.rb b/spree/api/spec/integration/spree/api/v3/admin/companies/tax_exemption_certificates_spec.rb
index bd11ae765b..5035a73144 100644
--- a/spree/api/spec/integration/spree/api/v3/admin/companies/tax_exemption_certificates_spec.rb
+++ b/spree/api/spec/integration/spree/api/v3/admin/companies/tax_exemption_certificates_spec.rb
@@ -178,6 +178,10 @@ RSpec.describe 'Admin Tax Exemption Certificates API', type: :request, swagger_d
parameter name: :company_id, in: :path, type: :string, required: true
parameter name: :id, in: :path, type: :string, required: true
+ # No SDK sample: the client has no download method by design, matching
+ # exports — the caller fetches document_url with the Authorization header
+ # and drives the browser download from a Blob, because a top-level
+ # navigation cannot carry an in-memory JWT.
get 'Download a certificate document' do
tags 'Companies'
produces 'application/octet-stream'