Skip to content

Commit ff90f10

Browse files
author
autobot
committed
Generated PR for Release: 9.0.0.20210226
1 parent ba74639 commit ff90f10

239 files changed

Lines changed: 755 additions & 7768 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 198 additions & 72 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,22 @@ client = Client(
220220

221221
To access production resources, set environment to production:
222222

223-
```ruby
223+
```python
224224
client = Client(
225225
access_token='{{REPLACE_ACCESS_TOKEN}}',
226226
environment='production',
227227
)
228228
```
229+
230+
To set a custom environment provide a `custom_url`, and set the environment to `custom`:
231+
232+
```python
233+
client = Client(
234+
access_token='{{REPLACE_ACCESS_TOKEN}}',
235+
environment='custom',
236+
custom_url='https://your.customdomain.com'
237+
)
238+
```
229239

230240
### Get an Instance of an API object and call its methods
231241

doc/api/checkout.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ body['order']['order']['discounts'][0]['amount_money']['amount'] = 100
140140
body['order']['order']['discounts'][0]['amount_money']['currency'] = 'USD'
141141
body['order']['order']['discounts'][0]['scope'] = 'LINE_ITEM'
142142

143-
body['order']['location_id'] = 'location_id4'
144143
body['order']['idempotency_key'] = '12ae1696-z1e3-4328-af6d-f1e04d947gd4'
145144
body['ask_for_shipping_address'] = True
146145
body['merchant_support_email'] = 'merchant+support@website.com'

doc/api/orders.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ body['order']['discounts'][2]['amount_money']['amount'] = 100
155155
body['order']['discounts'][2]['amount_money']['currency'] = 'USD'
156156
body['order']['discounts'][2]['scope'] = 'LINE_ITEM'
157157

158-
body['location_id'] = 'location_id0'
159158
body['idempotency_key'] = '8193148c-9586-11e6-99f9-28cfe92138cf'
160159

161160
result = orders_api.create_order(body)

0 commit comments

Comments
 (0)