Skip to content

Commit d1a364f

Browse files
Merge pull request woocommerce#137 from mtimbs/master
Fix Documentation for Shipping Lines Total
2 parents 9e8aff4 + 9a9f727 commit d1a364f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/includes/v2/_orders.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ curl -X POST https://example.com/wc-api/v2/orders \
177177
{
178178
"method_id": "flat_rate",
179179
"method_title": "Flat Rate",
180-
"total": 10
180+
"total": "10.00"
181181
}
182182
]
183183
}
@@ -232,7 +232,7 @@ var data = {
232232
{
233233
method_id: 'flat_rate',
234234
method_title: 'Flat Rate',
235-
total: 10
235+
total: '10.00'
236236
}
237237
]
238238
}
@@ -291,7 +291,7 @@ data = {
291291
{
292292
"method_id": "flat_rate",
293293
"method_title": "Flat Rate",
294-
"total": 10
294+
"total": "10.00"
295295
}
296296
]
297297
}
@@ -349,7 +349,7 @@ $data = array(
349349
array(
350350
'method_id' => 'flat_rate',
351351
'method_title' => 'Flat Rate',
352-
'total' => 10
352+
'total' => '10.00'
353353
)
354354
)
355355
)
@@ -407,7 +407,7 @@ data = {
407407
{
408408
method_id: "flat_rate",
409409
method_title: "Flat Rate",
410-
total: 10
410+
total: "10.00"
411411
}
412412
]
413413
}

0 commit comments

Comments
 (0)