@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.
@@ -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
- preferred_payout_provider: 'stripe',
28
- preferred_default_payouts_schedule_interval: 'weekly',
29
- preferred_default_minimum_payout_amount: 50,
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 '{"preferred_payout_provider": "stripe", "preferred_default_payouts_schedule_interval": "weekly", "preferred_default_minimum_payout_amount": 50}'
37
+ -d '{"payout_provider": "stripe", "default_payouts_schedule_interval": "weekly", "default_minimum_payout_amount": "50.00"}'
38
38
  ```
39
39
 
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.305",
3
+ "version": "0.1.307",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",