{"name":"Thai Heng","description":"Foundary & Machining (1959) Co., Ltd.","url":"http:\/\/www.thaiheng.com","home":"http:\/\/www.thaiheng.com","gmt_offset":"7","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.thaiheng.com\/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.thaiheng.com\/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.thaiheng.com\/wp-json\/oembed\/1.0\/embed"}},"\/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.thaiheng.com\/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"},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array"},"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."},"code":{"required":false,"description":"Limit result set to resources with a specific code.","type":"string"}}},{"methods":["POST"],"args":{"code":{"required":true},"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"},"exclude_product_ids":{"required":false,"description":"List of product ID's the coupon cannot be used on.","type":"array"},"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"},"excluded_product_categories":{"required":false,"description":"List of category ID's the coupon does not apply to.","type":"array"},"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"}}}],"_links":{"self":"http:\/\/www.thaiheng.com\/wp-json\/wc\/v1\/coupons"}},"\/wc\/v1\/coupons\/(?P