{"name":"","description":"","url":"http:\/\/www.therunningduck.co.nz","home":"http:\/\/www.therunningduck.co.nz","gmt_offset":"0","timezone_string":"","namespaces":["oembed\/1.0","wc\/v1","yoast\/v1","wp\/v2"],"authentication":[],"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view"}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/"}},"\/oembed\/1.0":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"oembed\/1.0"},"context":{"required":false,"default":"view"}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/oembed\/1.0"}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"required":true},"format":{"required":false,"default":"json"},"maxwidth":{"required":false,"default":600}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/oembed\/1.0\/embed"}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"required":true,"description":"The URL of the resource for which to fetch oEmbed data.","type":"string"},"format":{"required":false,"default":"json","enum":["json","xml"],"description":"The oEmbed format to use.","type":"string"},"maxwidth":{"required":false,"default":600,"description":"The maximum width of the embed frame in pixels.","type":"integer"},"maxheight":{"required":false,"description":"The maximum height of the embed frame in pixels.","type":"integer"},"discover":{"required":false,"default":true,"description":"Whether to perform an oEmbed discovery request for non-whitelisted providers.","type":"boolean"}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/oembed\/1.0\/proxy"}},"\/wc\/v1":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/wc\/v1"}},"\/wc\/v1\/coupons":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"filter":{"required":false,"description":"Use WP Query arguments to modify the response; private query vars require appropriate authorization.","type":"object"},"code":{"required":false,"description":"Limit result set to resources with a specific code.","type":"string"}}},{"methods":["POST"],"args":{"code":{"required":true,"description":"Coupon code.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"discount_type":{"required":false,"default":"fixed_cart","enum":["fixed_cart","percent","fixed_product","percent_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"amount":{"required":false,"description":"The amount of discount.","type":"string"},"expiry_date":{"required":false,"description":"UTC DateTime when the coupon expires.","type":"string"},"individual_use":{"required":false,"default":false,"description":"Whether coupon can only be used individually.","type":"boolean"},"product_ids":{"required":false,"description":"List of product ID's the coupon can be used on.","type":"array","items":{"type":"integer"}},"exclude_product_ids":{"required":false,"description":"List of product ID's the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used.","type":"integer"},"usage_limit_per_user":{"required":false,"description":"How many times the coupon can be used per customer.","type":"integer"},"limit_usage_to_x_items":{"required":false,"description":"Max number of items in the cart the coupon can be applied to.","type":"integer"},"free_shipping":{"required":false,"default":false,"description":"Define if can be applied for free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category ID's the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category ID's the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"Define if should not apply when have sale items.","type":"boolean"},"minimum_amount":{"required":false,"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string"},"maximum_amount":{"required":false,"description":"Maximum order amount allowed when using the coupon.","type":"string"},"email_restrictions":{"required":false,"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"}}}}],"_links":{"self":"http:\/\/www.therunningduck.co.nz\/wp-json\/wc\/v1\/coupons"}},"\/wc\/v1\/coupons\/(?P