Skip to content

Commit c871dc6

Browse files
committed
Update DOCS
1 parent 0a27dee commit c871dc6

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,29 @@ OUTPUT_FILE = 'products.json' # optional
2828
get_products( STRIPE_KEY, OUTPUT_FILE )
2929
```
3030

31-
All products associated with the account are pulled in `products.json`.
31+
All products associated with the account are pulled in `products.json`. Here is a sample output using an account with one product (multiple prices):
32+
33+
```json
34+
{
35+
"data": [
36+
{
37+
"id": "prod_L3QBiEdGWquAHl",
38+
"name": "Django Datta Able PRO",
39+
"description": "Premium Django Seed project",
40+
"images": [
41+
"https://files.stripe.com/links/MDB8YWNjdF8xSGxXdEdHTExkMVgwN1ZVfGZsX3Rlc3RfZjNtOGxwZTRFdGp1MGp1N2ZUeFlENU9Q008T4Zyl6Z"
42+
],
43+
"price_dfault": {
44+
"price_1KNJKmGLLd1X07VUqu1kDHO2": 99.0
45+
},
46+
"prices": {
47+
"price_1LuEz0GLLd1X07VUpsvuNCT8": 119.0,
48+
"price_1KNJKmGLLd1X07VUqu1kDHO2": 99.0
49+
}
50+
}
51+
]
52+
}
53+
```
3254

3355
<br />
3456

@@ -68,7 +90,7 @@ The products are saved in `products.json` (current working directory). Available
6890
- `name`
6991
- `description`
7092
- `images`
71-
- `price`
93+
- `price` (all)
7294

7395
<br />
7496

0 commit comments

Comments
 (0)