Skip to content

Commit f45090a

Browse files
authored
Improved OrderCreate with shipping cost example (#2604)
* Improved OrderCreate with shipping cost example * Regenerated REST API Reference
1 parent 634bbc0 commit f45090a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

docs/api/rest_api/rest_api_reference/input/examples/orders/POST/OrderCreate.json.example

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@
4444
],
4545
"context": {
4646
"foo": "bar",
47-
"baz": 123
47+
"baz": 123,
48+
"shipping_cost_incl_vat": {
49+
"type": "Money\\Money",
50+
"data": {
51+
"amount": "1100",
52+
"currency_code": "EUR"
53+
}
54+
}
4855
}
4956
}
5057
}

docs/api/rest_api/rest_api_reference/rest_api_reference.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83270,7 +83270,14 @@ <h6 class="heading text-gray border-bottom pb-2">Types</h6>
8327083270
],
8327183271
&quot;context&quot;: {
8327283272
&quot;foo&quot;: &quot;bar&quot;,
83273-
&quot;baz&quot;: 123
83273+
&quot;baz&quot;: 123,
83274+
&quot;shipping_cost_incl_vat&quot;: {
83275+
&quot;type&quot;: &quot;Money\\Money&quot;,
83276+
&quot;data&quot;: {
83277+
&quot;amount&quot;: &quot;1100&quot;,
83278+
&quot;currency_code&quot;: &quot;EUR&quot;
83279+
}
83280+
}
8327483281
}
8327583282
}
8327683283
}

0 commit comments

Comments
 (0)