json/v1.0/order.json in sk_api_schema-0.3.0 vs json/v1.0/order.json in sk_api_schema-0.3.1
- old
+ new
@@ -29,10 +29,15 @@
},
"external_ref":{
"description": "Some external reference, whatever this may be.",
"type":"string"
},
+ "payment_method":{
+ "description": "How the document is beeing payed. Used in new payments.",
+ "enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
+ "type":"string"
+ },
"title":{
"description": "The headline of a document. Use SK placeholders to prevent exessive typing e.g. 'Your order [number]'",
"type":"string"
},
"notes_before":{
@@ -147,25 +152,29 @@
"type":"string"
},
"filter[from]":{
"title" : "From date",
"description": "Objects with a date after the date",
- "type" : "date"
+ "format" : "date",
+ "type" : "string"
},
"filter[to]":{
"title" : "To date",
"description": "Objects with date before the date",
- "type" : "date"
+ "format" : "date",
+ "type" : "string"
},
"filter[created_at_from]":{
"title" : "From date",
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
- "type" : "date-time"
+ "format" : "date-time",
+ "type" : "string"
},
"filter[created_at_to]":{
"title" : "To date",
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
- "type" : "date-time"
+ "format" : "date-time",
+ "type" : "string"
},
"filter[languages]":{
"title" : "Languages",
"description": "A list of language codes, comma separated",
"type" : "string"