Skip to content

Commit 6eb62a8

Browse files
authored
Merge pull request #210 from marcofucito/patch-1
error fix in Python examples and other examples.
2 parents 947a352 + 98b9163 commit 6eb62a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/includes/wp-api-v3/_shipping-zone-methods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ WooCommerce.put("shipping/zones/5/methods/26", data)
645645
```php
646646
<?php
647647
$data = [
648-
'regular_price' => [
648+
'settings' => [
649649
'cost' => '20.00'
650650
]
651651
];
@@ -656,7 +656,7 @@ print_r($woocommerce->put('shipping/zones/5/methods/26', $data));
656656

657657
```python
658658
data = {
659-
"regular_price": {
659+
"settings": {
660660
"cost": "20.00"
661661
}
662662
}
@@ -666,7 +666,7 @@ print(wcapi.put("shipping/zones/5/methods/26", data).json())
666666

667667
```ruby
668668
data = {
669-
regular_price: {
669+
settings: {
670670
"cost": "20.00"
671671
}
672672
}

0 commit comments

Comments
 (0)