Skip to content

Commit add57e6

Browse files
committed
Minor corrections to API docs spotted whilst using them to set up make.com actions
1 parent 2765888 commit add57e6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

source/includes/models/_customers.html.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A customer represents a company placing orders through your Orderspace site
1111
"customer": {
1212
"id": "cu_dnwz8gnx",
1313
"company_name": "Blue Sky",
14-
"created_at": "2021-03-09T13:08:51Z",
14+
"created": "2021-03-09T13:08:51Z",
1515
"status": "active",
1616
"reference": "",
1717
"internal_note": "",
@@ -59,7 +59,7 @@ A customer represents a company placing orders through your Orderspace site
5959
<div class="description">The customer's company name</div>
6060
</li>
6161
<li>
62-
<h3><span class="name">created_at</span> <span class="type">string</span></h3>
62+
<h3><span class="name">created</span> <span class="type">string</span></h3>
6363
<div class="description">The UTC date and time the customer was created in ISO 8601 format</div>
6464
</li>
6565
<li>
@@ -241,7 +241,7 @@ curl -X POST https://api.orderspace.com/v1/customers \
241241
"customer": {
242242
"id": "cu_dnwz8gnx",
243243
"company_name": "Blue Sky",
244-
"created_at": "2021-03-09T13:08:51Z",
244+
"created": "2021-03-09T13:08:51Z",
245245
"status": "active",
246246
"reference": "",
247247
"internal_note": "",
@@ -318,7 +318,7 @@ curl -X GET https://api.orderspace.com/v1/customers \
318318
{
319319
"id": "cu_dnwz8gnx",
320320
"company_name": "Blue Sky",
321-
"created_at": "2021-03-09T13:08:51Z",
321+
"created": "2021-03-09T13:08:51Z",
322322
"status": "active",
323323
"reference": "",
324324
"internal_note": "",
@@ -432,7 +432,7 @@ curl -X GET https://api.orderspace.com/v1/customers/cu_dnwz8gnx \
432432
"customer": {
433433
"id": "cu_dnwz8gnx",
434434
"company_name": "Blue Sky",
435-
"created_at": "2021-03-09T13:08:51Z",
435+
"created": "2021-03-09T13:08:51Z",
436436
"status": "active",
437437
"reference": "",
438438
"internal_note": "",
@@ -537,7 +537,7 @@ curl -X PUT https://api.orderspace.com/v1/customers/cu_53zjgvnm \
537537
"customer": {
538538
"id": "cu_dnwz8gnx",
539539
"company_name": "Blue Sky",
540-
"created_at": "2021-03-09T13:08:51Z",
540+
"created": "2021-03-09T13:08:51Z",
541541
"status": "active",
542542
"reference": "",
543543
"internal_note": "",

source/includes/models/_orders.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ curl -X POST "https://api.orderspace.com/v1/orders" \
397397
},
398398
"order_lines": [
399399
{ "sku": "TC01-BLU-S", "quantity": 9 },
400-
{ "name": "Custom Item Name", quantity: 10, unit_price: 2.00, tax_rate_id: "tr_ruo96bhf" },
400+
{ "name": "Custom Item Name", "quantity": 10, "unit_price": 2.00, "tax_rate_id": "tr_ruo96bhf" },
401401
{ "name": "Special Delivery", "unit_price": 4.9, "shipping": true },
402402
{...},
403403
{...}

0 commit comments

Comments
 (0)