@@ -81,48 +81,48 @@ actions:
81
81
- " lang " : " python"
82
82
" label " : " Python (SDK)"
83
83
" source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkout_links.update(id=\" <value>\" , checkout_link_update={})\n\n # Handle response\n print(res)"
84
- - target : $["paths"]["/v1/checkouts/custom/ "]["get"]
84
+ - target : $["paths"]["/v1/checkouts/"]["get"]
85
85
update :
86
86
" x-codeSamples " :
87
87
- " lang " : " python"
88
88
" label " : " Python (SDK)"
89
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. list()\n\n while res is not None:\n # Handle items\n\n res = res.next()"
90
- - target : $["paths"]["/v1/checkouts/custom/ "]["post"]
89
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.list()\n\n while res is not None:\n # Handle items\n\n res = res.next()"
90
+ - target : $["paths"]["/v1/checkouts/"]["post"]
91
91
update :
92
92
" x-codeSamples " :
93
93
- " lang " : " python"
94
94
" label " : " Python (SDK)"
95
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. create(request={\n \" allow_discount_codes\" : True,\n \" product_id\" : \" <value>\" ,\n })\n\n # Handle response\n print(res)"
96
- - target : $["paths"]["/v1/checkouts/custom/ client/{client_secret}"]["get"]
95
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.create(request={\n \" allow_discount_codes\" : True,\n \" product_id\" : \" <value>\" ,\n })\n\n # Handle response\n print(res)"
96
+ - target : $["paths"]["/v1/checkouts/client/{client_secret}"]["get"]
97
97
update :
98
98
" x-codeSamples " :
99
99
- " lang " : " python"
100
100
" label " : " Python (SDK)"
101
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. client_get(client_secret=\" <value>\" )\n\n # Handle response\n print(res)"
102
- - target : $["paths"]["/v1/checkouts/custom/ client/{client_secret}"]["patch"]
101
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.client_get(client_secret=\" <value>\" )\n\n # Handle response\n print(res)"
102
+ - target : $["paths"]["/v1/checkouts/client/{client_secret}"]["patch"]
103
103
update :
104
104
" x-codeSamples " :
105
105
- " lang " : " python"
106
106
" label " : " Python (SDK)"
107
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. client_update(client_secret=\" <value>\" , checkout_update_public={})\n\n # Handle response\n print(res)"
108
- - target : $["paths"]["/v1/checkouts/custom/ client/{client_secret}/confirm"]["post"]
107
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.client_update(client_secret=\" <value>\" , checkout_update_public={})\n\n # Handle response\n print(res)"
108
+ - target : $["paths"]["/v1/checkouts/client/{client_secret}/confirm"]["post"]
109
109
update :
110
110
" x-codeSamples " :
111
111
- " lang " : " python"
112
112
" label " : " Python (SDK)"
113
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. client_confirm(client_secret=\" <value>\" , checkout_confirm_stripe={})\n\n # Handle response\n print(res)"
114
- - target : $["paths"]["/v1/checkouts/custom/ {id}"]["get"]
113
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.client_confirm(client_secret=\" <value>\" , checkout_confirm_stripe={})\n\n # Handle response\n print(res)"
114
+ - target : $["paths"]["/v1/checkouts/{id}"]["get"]
115
115
update :
116
116
" x-codeSamples " :
117
117
- " lang " : " python"
118
118
" label " : " Python (SDK)"
119
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. get(id=\" <value>\" )\n\n # Handle response\n print(res)"
120
- - target : $["paths"]["/v1/checkouts/custom/ {id}"]["patch"]
119
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.get(id=\" <value>\" )\n\n # Handle response\n print(res)"
120
+ - target : $["paths"]["/v1/checkouts/{id}"]["patch"]
121
121
update :
122
122
" x-codeSamples " :
123
123
- " lang " : " python"
124
124
" label " : " Python (SDK)"
125
- " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.custom. update(id=\" <value>\" , checkout_update={})\n\n # Handle response\n print(res)"
125
+ " source " : " from polar_sdk import Polar\n\n with Polar(\n access_token=\" <YOUR_BEARER_TOKEN_HERE>\" ,\n ) as polar:\n\n res = polar.checkouts.update(id=\" <value>\" , checkout_update={})\n\n # Handle response\n print(res)"
126
126
- target : $["paths"]["/v1/custom-fields/"]["get"]
127
127
update :
128
128
" x-codeSamples " :
0 commit comments