Display null fields
United States
Canada
Europe
Latin America
To have a response display all possible fields, set the return_null_fields
query parameter to true
.
$ curl -s "https://apisandbox.dev.clover.com/v3/merchants/{mId}/orders/{Order_ID}?return_null_fields=true" --header "Authorization:Bearer {API_Token}" | python -mjson.tool
{
"id": "[Order ID]",
"currency": "USD",
"employee": {
"id": "0YN6A3WJ5BEZJ"
},
"total": 152,
"title": "5",
"note": null,
"orderType": {
"id": "2ZPZHQG2Z64NM",
"labelKey": null,
"label": null,
"taxable": null,
"isDefault": null,
"isDeleted": null
},
"taxRemoved": false,
"isVat": false,
"state": "locked",
"manualTransaction": true,
"groupLineItems": true,
"testMode": false,
"payType": null,
"createdTime": 1373613867000,
"clientCreatedTime": 1373613795000,
"modifiedTime": 1373613868000,
"serviceCharge": null
}
Updated about 1 year ago