@spree/docs 0.1.305 → 0.1.307
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-reference/admin-api/querying.md +17 -4
- package/dist/api-reference/store-api/querying.md +22 -10
- package/dist/api-reference/store.yaml +1729 -126
- package/dist/developer/cli/quickstart.md +14 -0
- package/dist/developer/core-concepts/calculators.md +2 -2
- package/dist/developer/core-concepts/channels.md +5 -5
- package/dist/developer/core-concepts/pricing.md +2 -2
- package/dist/developer/core-concepts/search-filtering.md +85 -0
- package/dist/developer/customization/model-preferences.md +131 -1
- package/dist/developer/customization/validations.md +2 -2
- package/dist/developer/how-to/build-a-b2b-store.md +5 -5
- package/dist/developer/how-to/build-a-marketplace.md +22 -22
- package/dist/developer/how-to/custom-order-routing.md +3 -3
- package/dist/developer/tutorial/model-and-api.md +1 -1
- package/dist/developer/upgrades/5.6-to-6.0.md +82 -3
- package/dist/integrations/payments/stripe-connect.md +4 -4
- package/package.json +1 -1
|
@@ -24,9 +24,9 @@ const { data: providers } = await adminClient.payoutProviders.list()
|
|
|
24
24
|
// find the row with id 'stripe' — `available` says whether this store can use it
|
|
25
25
|
|
|
26
26
|
await adminClient.store.update({
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
payout_provider: 'stripe',
|
|
28
|
+
default_payouts_schedule_interval: 'weekly',
|
|
29
|
+
default_minimum_payout_amount: '50.00',
|
|
30
30
|
})
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ await adminClient.store.update({
|
|
|
34
34
|
curl -X PATCH https://your-store.com/api/v3/admin/store \
|
|
35
35
|
-H "X-Spree-API-Key: sk_xxx" \
|
|
36
36
|
-H "Content-Type: application/json" \
|
|
37
|
-
-d '{"
|
|
37
|
+
-d '{"payout_provider": "stripe", "default_payouts_schedule_interval": "weekly", "default_minimum_payout_amount": "50.00"}'
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
|