OrderFilterStruct.count

Field Type Description
acquire_method [String] Optional. Array of acquire methods. e.g. takeout, delivery or latch
acquire_on String Optional. String enumarion of 'one_year_ago', 'this_year', 'last_month', 'this_month', 'today', 'tomorrow', 'later'
created_on String Optional. String enumarion of 'one_year_ago', 'this_year', 'last_month', 'this_month', 'today', 'tomorrow', 'later'
status [String] Optional. Array of statuses. e.g. unread, read, approved, preparing, ready, other
shops [Int] Optional. Array of shop ids
search String Optional. A String value
flags [String] Optional. Array of flags. e.g. has_invoice, has_warranty, has_comments

Examples

Example 1

{
    "acquire_method": [
        "takeout",
        "delivery",
        "latch"
    ],
    "acquire_on": "one_year_ago",
    "created_on": "one_year_ago",
    "status": [
        "all",
        "unread",
        "read",
        "approved",
        "preparing",
        "ready",
        "other"
    ],
    "shops": [
        11,
        11,
        17
    ],
    "search": "...",
    "flags": [
        "has_invoice",
        "has_warranty",
        "has_comments"
    ]
}
Version update available Please adjust your integration to the latest stable version (1.9.0)
1.8.0 stable