docs: update docs across projects following publishable API key change in store routes (#9098)
* docs: update docs across projects following publishable API key change in store routes * rename env variable * move subscribe route out of store
This commit is contained in:
1 parent
ef8dc4087e
commit
58f06be44d
66 files changed
+577
-298
No files matched your search
@@ -2234,7 +2234,8 @@ Then, send a `GET` request to `/store/customers/me/subscriptions` to retrieve th
|
||||
|
||||
```bash
|
||||
curl 'http://localhost:9000/store/customers/me/subscriptions' \
|
||||
-H 'Authorization: Bearer {token}'
|
||||
-H 'Authorization: Bearer {token}' \
|
||||
-H 'x-publishable-api-key: {your_publishable_api_key}'
|
||||
```
|
||||
|
||||
Where `{token}` is the token retrieved from the previous request.
|
||||
@@ -2243,7 +2244,8 @@ To cancel a subscription, send a `POST` request to `/store/customers/me/subscrip
|
||||
|
||||
```bash
|
||||
curl -X POST 'http://localhost:9000/store/customers/me/subscriptions/01J2VB8TVC14K29FREQ2DRS6NA' \
|
||||
-H 'Authorization: Bearer {token}'
|
||||
-H 'Authorization: Bearer {token}' \
|
||||
-H 'x-publishable-api-key: {your_publishable_api_key}'
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user