{"name":"Peak Refreshments","description":"Office Coffee, Breakroom Supplies, Hotel Pantry Online Ordering","url":"https:\/\/shop.peakrefreshments.com","home":"https:\/\/shop.peakrefreshments.com","gmt_offset":-6,"timezone_string":"America\/Denver","namespaces":["oembed\/1.0","contact-form-7\/v1","portowc\/v1","wordfence\/v1","wp-super-cache\/v1","pum\/v1","wc\/store","wc-analytics","wc-admin","wc\/v1","wc\/v2","wc\/v3","wccom-site\/v1","wp\/v2"],"authentication":[],"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.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":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"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"},"maxwidth":{"required":false,"default":600}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/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 unsanctioned providers.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/oembed\/1.0\/proxy"}]}},"\/contact-form-7\/v1":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"contact-form-7\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/contact-form-7\/v1"}]}},"\/contact-form-7\/v1\/contact-forms":{"namespace":"contact-form-7\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/contact-form-7\/v1\/contact-forms"}]}},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)":{"namespace":"contact-form-7\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]},{"methods":["DELETE"],"args":[]}]},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)\/feedback":{"namespace":"contact-form-7\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/contact-form-7\/v1\/contact-forms\/(?P<id>\\d+)\/refill":{"namespace":"contact-form-7\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/portowc\/v1":{"namespace":"portowc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"portowc\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/portowc\/v1"}]}},"\/portowc\/v1\/products":{"namespace":"portowc\/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","modified","menu_order","price","popularity","rating","price","popularity","rating"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/portowc\/v1\/products"}]}},"\/portowc\/v1\/products\/(?P<id>[\\d]+)":{"namespace":"portowc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/portowc\/v1\/products\/batch":{"namespace":"portowc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/portowc\/v1\/products\/batch"}]}},"\/wordfence\/v1":{"namespace":"wordfence\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wordfence\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1"}]}},"\/wordfence\/v1\/authenticate":{"namespace":"wordfence\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/authenticate"}]}},"\/wordfence\/v1\/authenticate-premium":{"namespace":"wordfence\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/authenticate-premium"}]}},"\/wordfence\/v1\/config":{"namespace":"wordfence\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/config"}]}},"\/wordfence\/v1\/disconnect":{"namespace":"wordfence\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/disconnect"}]}},"\/wordfence\/v1\/premium-connect":{"namespace":"wordfence\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/premium-connect"}]}},"\/wordfence\/v1\/scan\/issues":{"namespace":"wordfence\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/scan\/issues"}]}},"\/wordfence\/v1\/scan":{"namespace":"wordfence\/v1","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":[]},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/scan"}]}},"\/wordfence\/v1\/scan\/issue":{"namespace":"wordfence\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wordfence\/v1\/scan\/issue"}]}},"\/wp-super-cache\/v1":{"namespace":"wp-super-cache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wp-super-cache\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1"}]}},"\/wp-super-cache\/v1\/settings":{"namespace":"wp-super-cache\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/settings"}]}},"\/wp-super-cache\/v1\/status":{"namespace":"wp-super-cache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/status"}]}},"\/wp-super-cache\/v1\/stats":{"namespace":"wp-super-cache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/stats"}]}},"\/wp-super-cache\/v1\/cache":{"namespace":"wp-super-cache\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/cache"}]}},"\/wp-super-cache\/v1\/preload":{"namespace":"wp-super-cache\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/preload"}]}},"\/wp-super-cache\/v1\/cache\/test":{"namespace":"wp-super-cache\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/cache\/test"}]}},"\/wp-super-cache\/v1\/plugins":{"namespace":"wp-super-cache\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp-super-cache\/v1\/plugins"}]}},"\/pum\/v1":{"namespace":"pum\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"pum\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/pum\/v1"}]}},"\/pum\/v1\/analytics":{"namespace":"pum\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"event":{"required":true,"description":"Event Type","type":"string"},"pid":{"required":true,"description":"Popup ID","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/pum\/v1\/analytics"}]}},"\/wc\/store":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/store"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store"}]}},"\/wc\/store\/cart":{"namespace":"wc\/store","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart"}]}},"\/wc\/store\/cart\/add-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"required":false,"description":"The cart item product or variation ID.","type":"integer"},"quantity":{"required":false,"description":"Quantity of this item in the cart.","type":"integer"},"variation":{"required":false,"description":"Chosen attributes (for variations).","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Variation attribute name.","type":"string","context":["view","edit"]},"value":{"description":"Variation attribute value.","type":"string","context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/add-item"}]}},"\/wc\/store\/cart\/apply-coupon":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"code":{"required":false,"description":"Unique identifier for the coupon within the cart.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/apply-coupon"}]}},"\/wc\/store\/cart\/coupons":{"namespace":"wc\/store","methods":["GET","POST","DELETE"],"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"}}},{"methods":["POST"],"args":{"code":{"required":false,"description":"The coupons unique code.","type":"string"}}},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/coupons"}]}},"\/wc\/store\/cart\/coupons\/(?P<code>[\\w-]+)":{"namespace":"wc\/store","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"code":{"required":false,"description":"Unique identifier for the coupon within the cart.","type":"string"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"code":{"required":false,"description":"Unique identifier for the coupon within the cart.","type":"string"}}}]},"\/wc\/store\/cart\/items":{"namespace":"wc\/store","methods":["GET","POST","DELETE"],"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"}}},{"methods":["POST"],"args":[]},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/items"}]}},"\/wc\/store\/cart\/items\/(?P<key>[\\w-]{32})":{"namespace":"wc\/store","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"key":{"required":false,"description":"Unique identifier for the item within the cart.","type":"string"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"key":{"required":false,"description":"Unique identifier for the item within the cart.","type":"string"}}},{"methods":["DELETE"],"args":{"key":{"required":false,"description":"Unique identifier for the item within the cart.","type":"string"}}}]},"\/wc\/store\/cart\/remove-coupon":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"code":{"required":false,"description":"Unique identifier for the coupon within the cart.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/remove-coupon"}]}},"\/wc\/store\/cart\/remove-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"key":{"required":false,"description":"Unique identifier (key) for the cart item.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/remove-item"}]}},"\/wc\/store\/cart\/select-shipping-rate\/(?P<package_id>[\\d]+)":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"package_id":{"required":true,"description":"The ID of the package being shipped.","type":"integer"},"rate_id":{"required":true,"description":"The chosen rate ID for the package.","type":"string"}}}]},"\/wc\/store\/cart\/update-item":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"key":{"required":false,"description":"Unique identifier (key) for the cart item to update.","type":"string"},"quantity":{"required":false,"description":"New quantity of the item in the cart.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/update-item"}]}},"\/wc\/store\/cart\/update-shipping":{"namespace":"wc\/store","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"first_name":{"required":false,"default":"","description":"Customer first name.","type":"string"},"last_name":{"required":false,"default":"","description":"Customer last name.","type":"string"},"address_1":{"required":false,"default":"","description":"First line of the address being shipped to.","type":"string"},"address_2":{"required":false,"default":"","description":"Second line of the address being shipped to.","type":"string"},"city":{"required":false,"default":"","description":"City of the address being shipped to.","type":"string"},"state":{"required":false,"default":"","description":"ISO code, or name, for the state, province, or district of the address being shipped to.","type":"string"},"postcode":{"required":false,"default":"","description":"Zip or Postcode of the address being shipped to.","type":"string"},"country":{"required":false,"default":"","description":"ISO code for the country of the address being shipped to.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/cart\/update-shipping"}]}},"\/wc\/store\/checkout":{"namespace":"wc\/store","methods":["GET","POST","PUT","PATCH","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"}}},{"methods":["POST","PUT","PATCH"],"args":{"customer_note":{"required":false,"description":"Note added to the order by the customer during checkout.","type":"string"},"billing_address":{"required":false,"description":"Billing address.","type":"object"},"shipping_address":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"The ID of the payment method being used to process the payment.","type":"string"}}},{"methods":["POST"],"args":{"payment_data":{"required":false,"description":"Data to pass through to the payment method when processing payment.","type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"customer_note":{"required":false,"description":"Note added to the order by the customer during checkout.","type":"string"},"billing_address":{"required":false,"description":"Billing address.","type":"object"},"shipping_address":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"The ID of the payment method being used to process the payment.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/checkout"}]}},"\/wc\/store\/products\/attributes":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products\/attributes"}]}},"\/wc\/store\/products\/attributes\/(?P<id>[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/store\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute.","type":"integer"},"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,"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Sort ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["name","slug","count"],"description":"Sort by term property.","type":"string"},"hide_empty":{"required":false,"default":true,"description":"If true, empty terms will not be returned.","type":"boolean"}}}]},"\/wc\/store\/products\/categories":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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,"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Sort ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["name","slug","count"],"description":"Sort by term property.","type":"string"},"hide_empty":{"required":false,"default":true,"description":"If true, empty terms will not be returned.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products\/categories"}]}},"\/wc\/store\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/store\/products\/collection-data":{"namespace":"wc\/store","methods":["GET"],"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. Defaults to no limit if left blank.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string"},"date_column":{"required":false,"default":"date","enum":["date","date_gmt","modified","modified_gmt"],"description":"When limiting response using after\/before, which date column to compare against.","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","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"type":{"required":false,"enum":["simple","grouped","external","variable","variation"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"category_operator":{"required":false,"default":"in","enum":["in","not in","and"],"description":"Operator to compare product category terms.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"tag_operator":{"required":false,"default":"in","enum":["in","not in","and"],"description":"Operator to compare product tags.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price, provided using the smallest unit of the currency.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price, provided using the smallest unit of the currency.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"},"attributes":{"required":false,"default":[],"description":"Limit result set to products with selected global attributes.","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Attribute taxonomy name.","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"List of attribute term IDs.","type":"array","items":{"type":"integer"},"sanitize_callback":"wp_parse_id_list"},"slug":{"description":"List of attribute slug(s). If a term ID is provided, this will be ignored.","type":"array","items":{"type":"string"},"sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"Operator to compare product attribute terms.","type":"string","enum":["in","not in","and"]}}}},"attribute_relation":{"required":false,"default":"and","enum":["in","and"],"description":"The logical relationship between attributes when filtering across multiple at once.","type":"string"},"catalog_visibility":{"required":false,"enum":["any","visible","catalog","search","hidden"],"description":"Determines if hidden or visible catalog products are shown.","type":"string"},"rating":{"required":false,"default":[],"description":"Limit result set to products with a certain average rating.","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]}},"calculate_price_range":{"required":false,"default":false,"description":"If true, calculates the minimum and maximum product prices for the collection.","type":"boolean"},"calculate_attribute_counts":{"required":false,"default":[],"description":"If requested, calculates attribute term counts for products in the collection.","type":"array","items":{"type":"object","properties":{"taxonomy":{"description":"Taxonomy name.","type":"string","context":["view","edit"],"readonly":true},"query_type":{"description":"Query type being performed which may affect counts. Valid values include \"and\" and \"or\".","type":"string","enum":["and","or"],"context":["view","edit"],"readonly":true}}}},"calculate_rating_counts":{"required":false,"default":false,"description":"If true, calculates rating counts for products in the collection.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products\/collection-data"}]}},"\/wc\/store\/products\/reviews":{"namespace":"wc\/store","methods":["GET"],"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. Defaults to no limit if left blank.","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","date_gmt","id","rating","product"],"description":"Sort collection by object attribute.","type":"string"},"category_id":{"required":false,"description":"Limit result set to reviews from specific category IDs.","type":"string"},"product_id":{"required":false,"description":"Limit result set to reviews from specific product IDs.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products\/reviews"}]}},"\/wc\/store\/products\/tags":{"namespace":"wc\/store","methods":["GET"],"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,"description":"Maximum number of items to be returned in result set. Defaults to no limit if left blank.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Sort ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["name","slug","count"],"description":"Sort by term property.","type":"string"},"hide_empty":{"required":false,"default":true,"description":"If true, empty terms will not be returned.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products\/tags"}]}},"\/wc\/store\/products":{"namespace":"wc\/store","methods":["GET"],"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. Defaults to no limit if left blank.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string"},"date_column":{"required":false,"default":"date","enum":["date","date_gmt","modified","modified_gmt"],"description":"When limiting response using after\/before, which date column to compare against.","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","modified","id","include","title","slug","price","popularity","rating","menu_order","comment_count"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"type":{"required":false,"enum":["simple","grouped","external","variable","variation"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"category_operator":{"required":false,"default":"in","enum":["in","not in","and"],"description":"Operator to compare product category terms.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"tag_operator":{"required":false,"default":"in","enum":["in","not in","and"],"description":"Operator to compare product tags.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price, provided using the smallest unit of the currency.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price, provided using the smallest unit of the currency.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"},"attributes":{"required":false,"default":[],"description":"Limit result set to products with selected global attributes.","type":"array","items":{"type":"object","properties":{"attribute":{"description":"Attribute taxonomy name.","type":"string","sanitize_callback":"wc_sanitize_taxonomy_name"},"term_id":{"description":"List of attribute term IDs.","type":"array","items":{"type":"integer"},"sanitize_callback":"wp_parse_id_list"},"slug":{"description":"List of attribute slug(s). If a term ID is provided, this will be ignored.","type":"array","items":{"type":"string"},"sanitize_callback":"wp_parse_slug_list"},"operator":{"description":"Operator to compare product attribute terms.","type":"string","enum":["in","not in","and"]}}}},"attribute_relation":{"required":false,"default":"and","enum":["in","and"],"description":"The logical relationship between attributes when filtering across multiple at once.","type":"string"},"catalog_visibility":{"required":false,"enum":["any","visible","catalog","search","hidden"],"description":"Determines if hidden or visible catalog products are shown.","type":"string"},"rating":{"required":false,"default":[],"description":"Limit result set to products with a certain average rating.","type":"array","items":{"type":"integer","enum":[1,2,3,4,5]}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/store\/products"}]}},"\/wc\/store\/products\/(?P<id>[\\d]+)":{"namespace":"wc\/store","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc-analytics":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc-analytics"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics"}]}},"\/wc-analytics\/admin\/notes":{"namespace":"wc-analytics","methods":["GET"],"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["note_id","date","type","title","status"],"description":"Sort collection by object attribute.","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"},"type":{"required":false,"description":"Type of note.","type":"array","items":{"enum":["error","warning","update","info","marketing","survey"],"type":"string"}},"status":{"required":false,"description":"Status of note.","type":"array","items":{"enum":["pending","actioned","unactioned","snoozed"],"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/admin\/notes"}]}},"\/wc-analytics\/admin\/notes\/(?P<id>[\\d-]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}}]},"\/wc-analytics\/admin\/notes\/delete\/(?P<id>[\\d-]+)":{"namespace":"wc-analytics","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}]},"\/wc-analytics\/admin\/notes\/delete\/all":{"namespace":"wc-analytics","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/admin\/notes\/delete\/all"}]}},"\/wc-analytics\/admin\/notes\/update":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/admin\/notes\/update"}]}},"\/wc-analytics\/admin\/notes\/(?P<note_id>[\\d-]+)\/action\/(?P<action_id>[\\d-]+)":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"note_id":{"required":false,"description":"Unique ID for the Note.","type":"integer"},"action_id":{"required":false,"description":"Unique ID for the Note Action.","type":"integer"}}}]},"\/wc-analytics\/coupons":{"namespace":"wc-analytics","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 coupons with codes matching a given 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","modified"],"description":"Sort collection by object attribute.","type":"string"},"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"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"default":"fixed_cart","enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/coupons"}]}},"\/wc-analytics\/coupons\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc-analytics\/coupons\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/coupons\/batch"}]}},"\/wc-analytics\/customers":{"namespace":"wc-analytics","methods":["GET"],"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"},"registered_before":{"required":false,"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string"},"registered_after":{"required":false,"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string"},"after":{"required":false,"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"description":"Sort collection by object attribute.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"search":{"required":false,"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string"},"searchby":{"required":false,"default":"name","enum":["name","username","email"],"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string"},"name_includes":{"required":false,"description":"Limit response to objects with specfic names.","type":"string"},"name_excludes":{"required":false,"description":"Limit response to objects excluding specfic names.","type":"string"},"username_includes":{"required":false,"description":"Limit response to objects with specfic usernames.","type":"string"},"username_excludes":{"required":false,"description":"Limit response to objects excluding specfic usernames.","type":"string"},"email_includes":{"required":false,"description":"Limit response to objects including emails.","type":"string"},"email_excludes":{"required":false,"description":"Limit response to objects excluding emails.","type":"string"},"country_includes":{"required":false,"description":"Limit response to objects with specfic countries.","type":"string"},"country_excludes":{"required":false,"description":"Limit response to objects excluding specfic countries.","type":"string"},"last_active_before":{"required":false,"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_after":{"required":false,"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"registered_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"orders_count_min":{"required":false,"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer"},"orders_count_max":{"required":false,"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer"},"orders_count_between":{"required":false,"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"}},"total_spend_min":{"required":false,"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number"},"total_spend_max":{"required":false,"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number"},"total_spend_between":{"required":false,"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"}},"avg_order_value_min":{"required":false,"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number"},"avg_order_value_max":{"required":false,"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number"},"avg_order_value_between":{"required":false,"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"}},"last_order_before":{"required":false,"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_order_after":{"required":false,"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string"},"include":{"required":false,"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/customers"}]}},"\/wc-analytics\/customers\/(?P<id>[\\d-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"registered_before":{"required":false,"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string"},"registered_after":{"required":false,"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string"},"after":{"required":false,"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"description":"Sort collection by object attribute.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"search":{"required":false,"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string"},"searchby":{"required":false,"default":"name","enum":["name","username","email"],"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string"},"name_includes":{"required":false,"description":"Limit response to objects with specfic names.","type":"string"},"name_excludes":{"required":false,"description":"Limit response to objects excluding specfic names.","type":"string"},"username_includes":{"required":false,"description":"Limit response to objects with specfic usernames.","type":"string"},"username_excludes":{"required":false,"description":"Limit response to objects excluding specfic usernames.","type":"string"},"email_includes":{"required":false,"description":"Limit response to objects including emails.","type":"string"},"email_excludes":{"required":false,"description":"Limit response to objects excluding emails.","type":"string"},"country_includes":{"required":false,"description":"Limit response to objects with specfic countries.","type":"string"},"country_excludes":{"required":false,"description":"Limit response to objects excluding specfic countries.","type":"string"},"last_active_before":{"required":false,"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_after":{"required":false,"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"registered_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"orders_count_min":{"required":false,"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer"},"orders_count_max":{"required":false,"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer"},"orders_count_between":{"required":false,"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"}},"total_spend_min":{"required":false,"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number"},"total_spend_max":{"required":false,"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number"},"total_spend_between":{"required":false,"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"}},"avg_order_value_min":{"required":false,"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number"},"avg_order_value_max":{"required":false,"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number"},"avg_order_value_between":{"required":false,"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"}},"last_order_before":{"required":false,"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_order_after":{"required":false,"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string"},"include":{"required":false,"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"}}}}]},"\/wc-analytics\/data":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/data"}]}},"\/wc-analytics\/data\/countries":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/data\/countries"}]}},"\/wc-analytics\/data\/countries\/(?P<location>[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"required":false,"description":"ISO3166 alpha-2 country code.","type":"string"}}}]},"\/wc-analytics\/data\/download-ips":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/data\/download-ips"}]}},"\/wc-analytics\/leaderboards":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":5,"description":"Maximum number of items to be returned in result set.","type":"integer"},"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"},"persisted_query":{"required":false,"description":"URL query to persist across links.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/leaderboards"}]}},"\/wc-analytics\/leaderboards\/allowed":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/leaderboards\/allowed"}]}},"\/wc-admin":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc-admin"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin"}]}},"\/wc-admin\/marketing\/recommended":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"category":{"required":false,"type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/marketing\/recommended"}]}},"\/wc-admin\/marketing\/knowledge-base":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"category":{"required":false,"type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/marketing\/knowledge-base"}]}},"\/wc-admin\/marketing\/overview\/activate-plugin":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"plugin":{"required":true,"type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin"}]}},"\/wc-admin\/marketing\/overview\/installed-plugins":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins"}]}},"\/wc-admin\/options":{"namespace":"wc-admin","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/options"}]}},"\/wc-analytics\/orders":{"namespace":"wc-analytics","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","modified"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":["any"],"description":"Limit result set to orders which have specific statuses.","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]}},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"},"number":{"required":false,"description":"Limit result set to orders matching part of an order number.","type":"string"}}},{"methods":["POST"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"default":"pending","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"default":"USD","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/orders"}]}},"\/wc-analytics\/orders\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc-analytics\/orders\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/orders\/batch"}]}},"\/wc-analytics\/products":{"namespace":"wc-analytics","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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":"Search by similar product name or sku.","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","modified","menu_order","price","popularity","rating"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"},"low_in_stock":{"required":false,"default":false,"description":"Limit result set to products that are low or out of stock.","type":"boolean"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products"}]}},"\/wc-analytics\/products\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc-analytics\/products\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products\/batch"}]}},"\/wc-analytics\/products\/categories":{"namespace":"wc-analytics","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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"default":"default","enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products\/categories"}]}},"\/wc-analytics\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc-analytics\/products\/categories\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products\/categories\/batch"}]}},"\/wc-analytics\/products\/(?P<product_id>[\\d]+)\/variations":{"namespace":"wc-analytics","methods":["GET","POST","GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"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":"Search by similar product name, sku, or attribute value.","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","modified","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"default":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"default":"variation","enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}},{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"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":"Search by similar product name, sku, or attribute value.","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","modified","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"default":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"default":"variation","enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}}]},"\/wc-analytics\/products\/(?P<product_id>[\\d]+)\/variations\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE","GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}},{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc-analytics\/products\/(?P<product_id>[\\d]+)\/variations\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH","POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"name":{"required":false,"description":"Product parent name.","type":"string"},"type":{"required":false,"enum":["variation"],"description":"Product type.","type":"string"},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"}}}]},"\/wc-analytics\/products\/reviews":{"namespace":"wc-analytics","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 reviews 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_gmt","enum":["date","date_gmt","id","include","product"],"description":"Sort collection by object attribute.","type":"string"},"reviewer":{"required":false,"description":"Limit result set to reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"}},"reviewer_exclude":{"required":false,"description":"Ensure result set excludes reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"}},"reviewer_email":{"required":false,"description":"Limit result set to that from a specific author email.","type":"string"},"product":{"required":false,"default":[],"description":"Limit result set to reviews assigned to specific product IDs.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"approved","enum":["all","hold","approved","spam","trash"],"description":"Limit result set to reviews assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":true,"description":"Unique identifier for the product.","type":"integer"},"status":{"required":false,"default":"approved","enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":true,"description":"Name of the reviewer.","type":"string"},"reviewer_email":{"required":true,"description":"Email of the reviewer.","type":"string"},"review":{"required":true,"description":"Review content.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products\/reviews"}]}},"\/wc-analytics\/products\/reviews\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"product_id":{"required":false,"description":"Unique identifier for the product that the review belongs to.","type":"integer"},"status":{"required":false,"enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":false,"description":"Reviewer name.","type":"string"},"reviewer_email":{"required":false,"description":"Reviewer email.","type":"string"},"review":{"required":false,"description":"The content of the review.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc-analytics\/products\/reviews\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the product that the review belongs to.","type":"integer"},"status":{"required":false,"enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":false,"description":"Reviewer name.","type":"string"},"reviewer_email":{"required":false,"description":"Reviewer email.","type":"string"},"review":{"required":false,"description":"The content of the review.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/products\/reviews\/batch"}]}},"\/wc-analytics\/reports":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports"}]}},"\/wc-analytics\/settings\/(?P<group_id>[\\w-]+)":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"}}}]},"\/wc-analytics\/settings\/(?P<group_id>[\\w-]+)\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc-analytics\/settings\/(?P<group_id>[\\w-]+)\/(?P<id>[\\w-]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc-analytics\/reports\/import":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"days":{"required":false,"description":"Number of days to import.","type":"integer"},"skip_existing":{"required":false,"default":false,"description":"Skip importing existing order data.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/import"}]}},"\/wc-analytics\/reports\/import\/cancel":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/import\/cancel"}]}},"\/wc-analytics\/reports\/import\/delete":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/import\/delete"}]}},"\/wc-analytics\/reports\/import\/status":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/import\/status"}]}},"\/wc-analytics\/reports\/import\/totals":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"days":{"required":false,"description":"Number of days to import.","type":"integer"},"skip_existing":{"required":false,"default":false,"description":"Skip importing existing order data.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/import\/totals"}]}},"\/wc-analytics\/reports\/(?P<type>[a-z]+)\/export":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"report_args":{"required":false,"description":"Parameters to pass on to the exported report.","type":"object"},"email":{"required":false,"description":"When true, email a link to download the export to the requesting user.","type":"boolean"}}}]},"\/wc-analytics\/reports\/(?P<type>[a-z]+)\/export\/(?P<export_id>[a-z0-9]+)\/status":{"namespace":"wc-analytics","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/wc-analytics\/reports\/products":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","net_revenue","orders_count","items_sold","product_name","variations","sku"],"description":"Sort collection by object attribute.","type":"string"},"categories":{"required":false,"description":"Limit result to items from the specified categories.","type":"array","items":{"type":"integer"}},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"products":{"required":false,"description":"Limit result to items with specified product ids.","type":"array","items":{"type":"integer"}},"extended_info":{"required":false,"default":false,"description":"Add additional piece of info about each product to the report.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/products"}]}},"\/wc-analytics\/reports\/variations":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","net_revenue","orders_count","items_sold","sku"],"description":"Sort collection by object attribute.","type":"string"},"products":{"required":false,"description":"Limit result to items with specified product ids.","type":"array","items":{"type":"integer"}},"variations":{"required":false,"description":"Limit result to items with specified variation ids.","type":"array","items":{"type":"integer"}},"extended_info":{"required":false,"default":false,"description":"Add additional piece of info about each product to the report.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/variations"}]}},"\/wc-analytics\/reports\/products\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","net_revenue","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"categories":{"required":false,"description":"Limit result to items from the specified categories.","type":"array","items":{"type":"integer"}},"products":{"required":false,"description":"Limit result to items with specified product ids.","type":"array","items":{"type":"integer"}},"variations":{"required":false,"description":"Limit result to items with specified variation ids.","type":"array","items":{"type":"integer"}},"segmentby":{"required":false,"enum":["product","category","variation"],"description":"Segment the response by additional constraint.","type":"string"},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/products\/stats"}]}},"\/wc-analytics\/reports\/revenue\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","total_sales","coupons","refunds","shipping","taxes","net_revenue","orders_count","items_sold","gross_sales"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"segmentby":{"required":false,"enum":["product","category","variation","coupon","customer_type"],"description":"Segment the response by additional constraint.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/revenue\/stats"}]}},"\/wc-analytics\/reports\/orders":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","num_items_sold","net_total"],"description":"Sort collection by object attribute.","type":"string"},"product_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"product_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"coupon_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"}},"coupon_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"}},"tax_rate_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"}},"tax_rate_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"}},"status_is":{"required":false,"description":"Limit result set to items that have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"status_is_not":{"required":false,"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"customer_type":{"required":false,"default":"","enum":["","returning","new"],"description":"Limit result set to returning or new customers.","type":"string"},"refunds":{"required":false,"default":"","enum":["","all","partial","full","none"],"description":"Limit result set to specific types of refunds.","type":"string"},"extended_info":{"required":false,"default":false,"description":"Add additional piece of info about each coupon to the report.","type":"boolean"},"order_includes":{"required":false,"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"}},"order_excludes":{"required":false,"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"}},"attribute_is":{"required":false,"default":[],"description":"Limit result set to orders that include products with the specified attributes.","type":"array","items":{"type":"array"}},"attribute_is_not":{"required":false,"default":[],"description":"Limit result set to orders that don't include products with the specified attributes.","type":"array","items":{"type":"array"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/orders"}]}},"\/wc-analytics\/reports\/orders\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","net_revenue","orders_count","avg_order_value"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"status_is":{"required":false,"description":"Limit result set to items that have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"status_is_not":{"required":false,"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"product_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"product_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"coupon_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"}},"coupon_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified coupon(s) assigned.","type":"array","items":{"type":"integer"}},"tax_rate_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"}},"tax_rate_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified tax rate(s) assigned.","type":"array","items":{"type":"integer"}},"customer":{"required":false,"enum":["new","returning"],"description":"Limit result set to items that don't have the specified coupon(s) assigned.","type":"string"},"refunds":{"required":false,"default":"","enum":["","all","partial","full","none"],"description":"Limit result set to specific types of refunds.","type":"string"},"attribute_is":{"required":false,"default":[],"description":"Limit result set to orders that include products with the specified attributes.","type":"array","items":{"type":"array"}},"attribute_is_not":{"required":false,"default":[],"description":"Limit result set to orders that don't include products with the specified attributes.","type":"array","items":{"type":"array"}},"segmentby":{"required":false,"enum":["product","category","variation","coupon","customer_type"],"description":"Segment the response by additional constraint.","type":"string"},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/orders\/stats"}]}},"\/wc-analytics\/reports\/categories":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"category_id","enum":["category_id","items_sold","net_revenue","orders_count","products_count","category"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"status_is":{"required":false,"description":"Limit result set to items that have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"status_is_not":{"required":false,"description":"Limit result set to items that don't have the specified order status.","type":"array","items":{"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"type":"string"}},"categories":{"required":false,"description":"Limit result set to all items that have the specified term assigned in the categories taxonomy.","type":"array","items":{"type":"integer"}},"extended_info":{"required":false,"default":false,"description":"Add additional piece of info about each category to the report.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/categories"}]}},"\/wc-analytics\/reports\/taxes":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"tax_rate_id","enum":["name","tax_rate_id","tax_code","rate","order_tax","total_tax","shipping_tax","orders_count"],"description":"Sort collection by object attribute.","type":"string"},"taxes":{"required":false,"description":"Limit result set to items assigned one or more tax rates.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/taxes"}]}},"\/wc-analytics\/reports\/taxes\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","items_sold","total_sales","orders_count","products_count"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"taxes":{"required":false,"description":"Limit result set to all items that have the specified term assigned in the taxes taxonomy.","type":"array","items":{"type":"integer"}},"segmentby":{"required":false,"enum":["tax_rate_id"],"description":"Segment the response by additional constraint.","type":"string"},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/taxes\/stats"}]}},"\/wc-analytics\/reports\/coupons":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"coupon_id","enum":["coupon_id","code","amount","orders_count"],"description":"Sort collection by object attribute.","type":"string"},"coupons":{"required":false,"description":"Limit result set to coupons assigned specific coupon IDs.","type":"array","items":{"type":"integer"}},"extended_info":{"required":false,"default":false,"description":"Add additional piece of info about each coupon to the report.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/coupons"}]}},"\/wc-analytics\/reports\/coupons\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","amount","coupons_count","orders_count"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"coupons":{"required":false,"description":"Limit result set to coupons assigned specific coupon IDs.","type":"array","items":{"type":"integer"}},"segmentby":{"required":false,"enum":["product","variation","category","coupon"],"description":"Segment the response by additional constraint.","type":"string"},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/coupons\/stats"}]}},"\/wc-analytics\/reports\/stock":{"namespace":"wc-analytics","methods":["GET"],"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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"stock_status","enum":["stock_status","stock_quantity","date","id","include","title","sku"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"type":{"required":false,"default":"all","enum":["all","lowstock","instock","outofstock","onbackorder"],"description":"Limit result set to items assigned a stock report type.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/stock"}]}},"\/wc-analytics\/reports\/stock\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/stock\/stats"}]}},"\/wc-analytics\/reports\/downloads":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","product"],"description":"Sort collection by object attribute.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.","type":"string"},"product_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"product_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"order_includes":{"required":false,"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"}},"order_excludes":{"required":false,"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"}},"customer_includes":{"required":false,"description":"Limit response to objects that have the specified user ids.","type":"array","items":{"type":"integer"}},"customer_excludes":{"required":false,"description":"Limit response to objects that don't have the specified user ids.","type":"array","items":{"type":"integer"}},"ip_address_includes":{"required":false,"description":"Limit response to objects that have a specified ip address.","type":"array","items":{"type":"string"}},"ip_address_excludes":{"required":false,"description":"Limit response to objects that don't have a specified ip address.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/downloads"}]}},"\/wc-analytics\/reports\/downloads\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","download_count"],"description":"Sort collection by object attribute.","type":"string"},"interval":{"required":false,"default":"week","enum":["hour","day","week","month","quarter","year"],"description":"Time interval to use for buckets in the returned data.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"product_includes":{"required":false,"default":[],"description":"Limit result set to items that have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"product_excludes":{"required":false,"default":[],"description":"Limit result set to items that don't have the specified product(s) assigned.","type":"array","items":{"type":"integer"}},"order_includes":{"required":false,"description":"Limit result set to items that have the specified order ids.","type":"array","items":{"type":"integer"}},"order_excludes":{"required":false,"description":"Limit result set to items that don't have the specified order ids.","type":"array","items":{"type":"integer"}},"customer_includes":{"required":false,"description":"Limit response to objects that have the specified customer ids.","type":"array","items":{"type":"integer"}},"customer_excludes":{"required":false,"description":"Limit response to objects that don't have the specified customer ids.","type":"array","items":{"type":"integer"}},"ip_address_includes":{"required":false,"description":"Limit response to objects that have a specified ip address.","type":"array","items":{"type":"string"}},"ip_address_excludes":{"required":false,"description":"Limit response to objects that don't have a specified ip address.","type":"array","items":{"type":"string"}},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/downloads\/stats"}]}},"\/wc-analytics\/reports\/customers":{"namespace":"wc-analytics","methods":["GET"],"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"},"registered_before":{"required":false,"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string"},"registered_after":{"required":false,"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string"},"after":{"required":false,"description":"Limit response to resources with orders published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources with orders published before a given ISO8601 compliant date.","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"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date_registered","enum":["username","name","country","city","state","postcode","date_registered","date_last_active","orders_count","total_spend","avg_order_value"],"description":"Sort collection by object attribute.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"search":{"required":false,"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string"},"searchby":{"required":false,"default":"name","enum":["name","username","email"],"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string"},"name_includes":{"required":false,"description":"Limit response to objects with specfic names.","type":"string"},"name_excludes":{"required":false,"description":"Limit response to objects excluding specfic names.","type":"string"},"username_includes":{"required":false,"description":"Limit response to objects with specfic usernames.","type":"string"},"username_excludes":{"required":false,"description":"Limit response to objects excluding specfic usernames.","type":"string"},"email_includes":{"required":false,"description":"Limit response to objects including emails.","type":"string"},"email_excludes":{"required":false,"description":"Limit response to objects excluding emails.","type":"string"},"country_includes":{"required":false,"description":"Limit response to objects with specfic countries.","type":"string"},"country_excludes":{"required":false,"description":"Limit response to objects excluding specfic countries.","type":"string"},"last_active_before":{"required":false,"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_after":{"required":false,"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"registered_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"orders_count_min":{"required":false,"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer"},"orders_count_max":{"required":false,"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer"},"orders_count_between":{"required":false,"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"}},"total_spend_min":{"required":false,"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number"},"total_spend_max":{"required":false,"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number"},"total_spend_between":{"required":false,"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"}},"avg_order_value_min":{"required":false,"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number"},"avg_order_value_max":{"required":false,"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number"},"avg_order_value_between":{"required":false,"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"}},"last_order_before":{"required":false,"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_order_after":{"required":false,"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string"},"customers":{"required":false,"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/customers"}]}},"\/wc-analytics\/reports\/customers\/stats":{"namespace":"wc-analytics","methods":["GET"],"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"},"registered_before":{"required":false,"description":"Limit response to objects registered before (or at) a given ISO8601 compliant datetime.","type":"string"},"registered_after":{"required":false,"description":"Limit response to objects registered after (or at) a given ISO8601 compliant datetime.","type":"string"},"match":{"required":false,"default":"all","enum":["all","any"],"description":"Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories","type":"string"},"search":{"required":false,"description":"Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.","type":"string"},"searchby":{"required":false,"default":"name","enum":["name","username","email"],"description":"Limit results with `search` and `searchby` to specific fields containing the search term.","type":"string"},"name_includes":{"required":false,"description":"Limit response to objects with specfic names.","type":"string"},"name_excludes":{"required":false,"description":"Limit response to objects excluding specfic names.","type":"string"},"username_includes":{"required":false,"description":"Limit response to objects with specfic usernames.","type":"string"},"username_excludes":{"required":false,"description":"Limit response to objects excluding specfic usernames.","type":"string"},"email_includes":{"required":false,"description":"Limit response to objects including emails.","type":"string"},"email_excludes":{"required":false,"description":"Limit response to objects excluding emails.","type":"string"},"country_includes":{"required":false,"description":"Limit response to objects with specfic countries.","type":"string"},"country_excludes":{"required":false,"description":"Limit response to objects excluding specfic countries.","type":"string"},"last_active_before":{"required":false,"description":"Limit response to objects last active before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_after":{"required":false,"description":"Limit response to objects last active after (or at) a given ISO8601 compliant datetime.","type":"string"},"last_active_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"registered_between":{"required":false,"description":"Limit response to objects last active between two given ISO8601 compliant datetime.","type":"array","items":{"type":"string"}},"orders_count_min":{"required":false,"description":"Limit response to objects with an order count greater than or equal to given integer.","type":"integer"},"orders_count_max":{"required":false,"description":"Limit response to objects with an order count less than or equal to given integer.","type":"integer"},"orders_count_between":{"required":false,"description":"Limit response to objects with an order count between two given integers.","type":"array","items":{"type":"integer"}},"total_spend_min":{"required":false,"description":"Limit response to objects with a total order spend greater than or equal to given number.","type":"number"},"total_spend_max":{"required":false,"description":"Limit response to objects with a total order spend less than or equal to given number.","type":"number"},"total_spend_between":{"required":false,"description":"Limit response to objects with a total order spend between two given numbers.","type":"array","items":{"type":"integer"}},"avg_order_value_min":{"required":false,"description":"Limit response to objects with an average order spend greater than or equal to given number.","type":"number"},"avg_order_value_max":{"required":false,"description":"Limit response to objects with an average order spend less than or equal to given number.","type":"number"},"avg_order_value_between":{"required":false,"description":"Limit response to objects with an average order spend between two given numbers.","type":"array","items":{"type":"integer"}},"last_order_before":{"required":false,"description":"Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.","type":"string"},"last_order_after":{"required":false,"description":"Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.","type":"string"},"customers":{"required":false,"description":"Limit result to items with specified customer ids.","type":"array","items":{"type":"integer"}},"fields":{"required":false,"description":"Limit stats fields to the specified items.","type":"array","items":{"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/customers\/stats"}]}},"\/wc-analytics\/taxes":{"namespace":"wc-analytics","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"},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"order","enum":["id","order"],"description":"Sort collection by object attribute.","type":"string"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Sort by tax class.","type":"string"},"search":{"required":false,"description":"Search by similar tax code.","type":"string"},"include":{"required":false,"default":[],"description":"Limit result set to items that have the specified rate ID(s) assigned.","type":"array","items":{"type":"integer"}}}},{"methods":["POST"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"default":1,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"default":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"default":"standard","enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/taxes"}]}},"\/wc-analytics\/taxes\/(?P<id>[\\d]+)":{"namespace":"wc-analytics","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc-analytics\/taxes\/batch":{"namespace":"wc-analytics","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/taxes\/batch"}]}},"\/wc-admin\/themes":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"pluginzip":{"required":false,"description":"A zip file of the theme to be uploaded.","type":"file"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/themes"}]}},"\/wc-admin\/plugins\/install":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/install"}]}},"\/wc-admin\/plugins\/active":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/active"}]}},"\/wc-admin\/plugins\/installed":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/installed"}]}},"\/wc-admin\/plugins\/activate":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/activate"}]}},"\/wc-admin\/plugins\/connect-jetpack":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/connect-jetpack"}]}},"\/wc-admin\/plugins\/request-wccom-connect":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/request-wccom-connect"}]}},"\/wc-admin\/plugins\/finish-wccom-connect":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/finish-wccom-connect"}]}},"\/wc-admin\/plugins\/connect-paypal":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/connect-paypal"}]}},"\/wc-admin\/plugins\/connect-wcpay":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/connect-wcpay"}]}},"\/wc-admin\/plugins\/connect-square":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/plugins\/connect-square"}]}},"\/wc-admin\/onboarding\/profile":{"namespace":"wc-admin","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"completed":{"required":false,"description":"Whether or not the profile was completed.","type":"boolean"},"skipped":{"required":false,"description":"Whether or not the profile was skipped.","type":"boolean"},"plugins":{"required":false,"enum":["skipped","skipped-wcs","already-installed","installed-wcs","installed"],"description":"How the Jetpack\/WooCommerce Shipping & Tax step was handled.","type":"string"},"account_type":{"required":false,"enum":["new","existing","google"],"description":"Account type used for Jetpack.","type":"string"},"industry":{"required":false,"description":"Industry.","type":"array","items":{"type":"object"}},"product_types":{"required":false,"description":"Types of products sold.","type":"array","items":{"enum":["physical","downloads","subscriptions","memberships","bookings","product-bundles","product-add-ons"],"type":"string"}},"product_count":{"required":false,"enum":["0","1-10","11-100","101-1000","1000+"],"description":"Number of products to be added.","type":"string"},"selling_venues":{"required":false,"enum":["no","other","brick-mortar","brick-mortar-other","other-woocommerce"],"description":"Other places the store is selling products.","type":"string"},"revenue":{"required":false,"enum":["none","up-to-2500","2500-10000","10000-50000","50000-250000","more-than-250000"],"description":"Current annual revenue of the store.","type":"string"},"other_platform":{"required":false,"enum":["shopify","bigcommerce","magento","wix","amazon","ebay","etsy","squarespace","other"],"description":"Name of other platform used to sell.","type":"string"},"other_platform_name":{"required":false,"description":"Name of other platform used to sell (not listed).","type":"string"},"business_extensions":{"required":false,"description":"Extra business extensions to install.","type":"array","items":{"enum":["jetpack","woocommerce-services","woocommerce-payments","mailchimp-for-woocommerce","facebook-for-woocommerce","kliken-marketing-for-google"],"type":"string"}},"theme":{"required":false,"description":"Selected store theme.","type":"string"},"items_purchased":{"required":false,"description":"Whether or not the user opted to purchase items now or later.","type":"boolean"},"setup_client":{"required":false,"description":"Whether or not this store was setup for a client.","type":"boolean"},"wccom_connected":{"required":false,"description":"Whether or not the store was connected to WooCommerce.com during the extension flow.","type":"boolean"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/profile"}]}},"\/wc-admin\/onboarding\/tasks\/import_sample_products":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products"}]}},"\/wc-admin\/onboarding\/tasks\/create_homepage":{"namespace":"wc-admin","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage"}]}},"\/wc-admin\/onboarding\/tasks\/status":{"namespace":"wc-admin","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/tasks\/status"}]}},"\/wc-admin\/onboarding\/themes\/install":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/themes\/install"}]}},"\/wc-admin\/onboarding\/themes\/activate":{"namespace":"wc-admin","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-admin\/onboarding\/themes\/activate"}]}},"\/wc-analytics\/reports\/performance-indicators":{"namespace":"wc-analytics","methods":["GET"],"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"},"stats":{"required":false,"default":[],"description":"Limit response to specific report stats. Allowed values: .","type":"array","items":{"type":"string","enum":[]}},"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/performance-indicators"}]}},"\/wc-analytics\/reports\/performance-indicators\/allowed":{"namespace":"wc-analytics","methods":["GET"],"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"},"stats":{"required":false,"default":[],"description":"Limit response to specific report stats. Allowed values: .","type":"array","items":{"type":"string","enum":[]}},"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed"}]}},"\/wc\/v1":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.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","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","modified"],"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":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"expiry_date":{"required":false,"description":"UTC DateTime when the coupon expires.","type":["null","string"]},"individual_use":{"required":false,"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"exclude_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/coupons"}]}},"\/wc\/v1\/coupons\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"code":{"required":false,"description":"Coupon code.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"expiry_date":{"required":false,"description":"UTC DateTime when the coupon expires.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"exclude_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v1\/coupons\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"required":false,"description":"Coupon code.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"expiry_date":{"required":false,"description":"UTC DateTime when the coupon expires.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"exclude_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/coupons\/batch"}]}},"\/wc\/v1\/customers\/(?P<customer_id>[\\d]+)\/downloads":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v1\/customers":{"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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","registered_date"],"description":"Sort collection by object attribute.","type":"string"},"email":{"required":false,"description":"Limit result set to resources with a specific email.","type":"string"},"role":{"required":false,"default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","ocs_admin","p8203","p8205","p8210","p8215","p8218","p8220","p8221","p8223","p8224","p8227","p8228","p8234","p8240","p8241","p8243","p8244","p8245","p8246","p8247","p8248","p8249","p8251","p8252","p8253","p8254","p8255","p8256","p8257","p8258","p8259","p8260","p8261","p8262","p8263","p8264","p8265","p8266","p8267","p8268","p8269","p8271","p8272","p8273","p8274","p8275","p8276","p8277","p8279","p8282","p8283","p8284","p8285","p8286","p8287","p8288","p8289","p8291","p8294","p8297","p8302","p8303","p8304","p8305","p8306","p8307","p8308","p8309","p8311","p8315","p8316","p8317","p8318","p8319","p8321","p8328","p8330","p8333","p8336","p8337","p8346","p8353","p8400","p8453","p8456","p8458","p8460","p8476","p8477","p8478","p8487","p8494","p8498","p8499","p8500","p8501","p8508","p8510","p8512","p8514","p8517","p8518","p8522","p8525","p8528","p8530","p8533","p8537","p8540","p8547","p8549","p8552","p8556","p8559","p8561","p8566","p8568","p8569","p8571","p8578","p8581","p8584","p8586","p8589","p8596","p8598","p8602","p8608","p8612","p8615","p8616","p8622","p8631","p8642","p8646","p8648","p8651","p8658","p8684","p8685","p8689","p8705","p8707","p8708","p4102","p4381","p4384","p4386","p4387","p4429","p4431","p4432","p4433","p4435","p4448","p4452","p4453","p4454","p4456","p4457","p4458","p4459","p4460","p4461","p4462","p4464","p4465","p4466","p4467","p4468","p4469","p4482","p4484","p4486","p4487","p4526","p4529","p4530","p4538","p4539","p4541","p4544","p4545","p4546","p4547","p4548","p4551","p4554","p4557","p4571","p4572","p4591","p4592","p4593","p4594","p4595","p4596","p4598","p4599","p4600","p4601","p4605","p4607","p4608","p4609","p4630","p4633","p4634","p4646","p4652","p4653","p4654","p4655","p4656","p4658","p4661","p4662","p4667","p4668","p4682","p4690","p4691","p4692","p4693","p4698","p4701","p4702","p4703","p4704","p4705","p4706","p4707","p4708","p4709","p4710","p4714","p4719","p4721","p4733","p4740","p4742","p4743","p4744","p4745","p4754","p4759","p4762","p4763","p4764","p4765","p4771","p4773","p4777","p4778","p4779","p4783","p4787","p4792","p4793","p4794","p4798","p4799","p4801","p4802","p4822","p4823","p4824","p4825","p4826","p4834","p4836","p4837","p4838","p4839","p4840","p4841","p4845","p4846","p4848","p4849","p4850","p4851","p4852","p4853","p4854","p4877","p4878","p4883","p4884","p4885","p4890","p4894","p4900","p4901","p4902","p4903","p4904","p4905","p4908","p4909","p4919","p4920","p4921","p4922","p4923","p4924","p4925","p4926","p4927","p4932","p4942","p4948","p4949","p4950","p4952","p4954","p4955","p4957","p5278","p5279","p5303","p5306","p5309","p5332","p5348","p5349","p5350","p5426","p5427","p5443","p5444","p5448","p5519","p5520","p5521","p5610","p5612","p5615","p5616","p5618","p5655","p5657","p5658","p5659","p5660","p5663","p5664","p5689","p5690","p5694","p5695","p5696","p5697","p5698","p5699","p5834","p5835","p5836","p5837","p5839","p5840","p5841","p5842","p5851","p5853","p5854","p5857","p5859","p5860","p6070","p6244","p6255","p6272","p6273","p6275","p6300","p6403","p6404","p6405","p6406","p6408","p6409","p6411","p6421","p6437","p6448","p6512","p6541","p6542","p6551","p6552","p6559","p6574","p6616","p6618","p6688","p6700","p6701","p6725","p6727","p6746","p6748","p6757","p6762","p6969","p7222","p7240","p7259","p7263","p7265","p7266","p7268","p7315","p7347","p7349","p7390","p7391","p7392","p7403","p7404","p7405","p7406","p7407","p7416","p7435","p7443","p7445","p7453","p7473","p7499","p7503","p7532","p7538","p7539","p7561","p7572","p7578","p7588","p7601","p7617","p7702","p7732","p7738","p7739","p7740","p7743","p7745","p7746","p7747","p7751","p7752","p7763","p7773","p7797","p7798","p7870","p7871","p7872","p7879","p7882","p7883","p7901","p7902","p7908","p7914","p8038","p8041","p8043","p8044","p8046","p8049","p8056","p8082","p8084","p8096","p8097","p8101","p8102","p8106","p8117","p8120","p8123","p8133","p8146","p8176","p8178","p8181","p8184","p8190","p8191","p8192","p8194","p8202","p8206","p8211","p8213","p8216","p8219","p8237","p8238","p8281","p8292","p8296","p8298","p8310","p8314","p8320","p8326","p8329","p8332","p8335","p8342","p8343","p8347","p8349","p8354","p8365","p8388","p8399","p8410","p8432","p8443","p8454","p8464","p8465","p8466","p8469","p8470","p8471","p8472","p8473","p8479","p8480","p8481","p8484","p8485","p8486","p8488","p8489","p8490","p8492","p8493","p8504","p8506","p8507","p8520","p8524","p8526","p8527","p8529","p8532","p8534","p8535","p8536","p8539","p8542","p8554","p8555","p8558","p8560","p8562","p8563","p8574","p8576","p8577","p8591","p8592","p8594","p8595","p8600","p8606","p8610","p8617","p8618","p8619","p8624","p8628","p8630","p8633","p8637","p8644","p8650","p8654","p8655","p8660","p8661","p8662","p8663","p8664","p8669","p8670","p8672","p8673","p8674","p8678","p8680","p8686","p8688","p8690","p8693","p8694","p8701","p8702","p8703","p8704","p8706","p8711","p9406","p9409","p4727","p9426","p9462","p9468","p4772","p4867","p9503","p9509","p9560","p9590","p9599","p9634","p9635","p9636","p9648","p9654","p9655","p9656","p9675","p9676","p9677","p9700","p9706","p9709","p9710","p9711","p9728","p9729","p9740","p9742","p9744","p9766","p9775","p9776","p9784","p9785","p9786","p9796","p9799","p9800","p9823","p9826","p9830","p9835","p9839","p9841","p9846","p9848","p9850","p9884","p9899","p9930","p9931","p9948","p9950","p9952","p9970","p4576","p10021","p10072","p10102","p10103","p10114","p10294","p10305","p10306","p10322","p10323","p10324","p10326","p10390","p10419","p10420","p10424","p10451","p10452","p10456","p10481","p10482","p10522","p10525","p10570","p10571","p10600","p10639","p10640","p10680","p10683","p10688","p10691","p10728","p10765","p10781","p10817","p10899","p10910","p10924","p10927","p10928","p10929","p10937","p10940","p10945","p10981","p10992","p10993","p10995","p4561","p4562","p4563","p11017","p4407","p11079","p11083","p11086","p4479","p4535","p11106","p11107","p11108","p11115","p11117","p11118","p11119","p11120","p11121","p11122","p11123","p11124","p11130","p11131","p11132","p11133","p11134","p11135","p11136","p11137","p11138","p11139","p11140","p11141","p11159","p11163","p11164","p11165","p11166","p11168","p11169","p11171","p11172","p11173","p11176","p11177","p11178","p11179","p11180","p11181","p11182","p11183","p11185","p11186","p11187","p11189","p11190","p11191","p11192","p11193","p11194","p11195","p11196","p11199","p11200","p11201","p11202","p11203","p11204","p11205","p11206","p11208","p11209","p11210","p11211","p11212","p11213","p11214","p11215","p11216","p11217","p11219","p11220","p11221","p11222","p11223","p11224","p11227","p11228","p11229","p11230","p11231","p11232","p11233","p11234","p11236","p11237","p11238","p11239","p11241","p11242","p11245","p11246","p11247","p11249","p11250","p11251","p11254","p11255","p11256","p11257","p11258","p11259","p11260","p11261","p11262","p11263","p11265","p11272","p11273","p11274","p11275","p11277","p11278","p11279","p11280","p11281","p11282","p11312","p11313","p11314","p11328","p11329","p11414","p11440","p11456","p11534","p11541","p11555","p11556","p11581","p11582","p11601","p11608","p11609","p11614","p11620","p11622","p11623","p11673","p11695","p11701","p8687","p11730","p11734","p11735","p11742","p11775","p11778","p11790","p11792","p11793","p11794","p11802","p4956","p11913","p11972","p11973","p12015","p12016","p12021","p12149","p12235","p12276","p12277","p12385","p12387","p12463","p12485","p12513","p12514","p6779","p11167","p11170","p11226","p11235","p12562","p12588","p12601","p12602","p12603","p12604","p12605","p12640","p12749","p12759","p5314","p12851","p12908","p12919","p12920","p12928","p12953","p12959","p12960","p12970","p13056","p13077","p13078","p13091","p13104","p13124","p13125","p13154","p13158","p13180","p13198","p13215","p13231","p13233","p13234","p13261","p13265","p13271","p13276","p13334","p13342","p13361","p13362","p13363","p13364","p13399","p13404","p13406","p13408","p13409","p13433","p13449","p13458","p13467","p13468","p13477","p13670","p13672","p13673","p13702","p13703","p13704","p13705","p13706","p13708","p13720","p13744","p13761","p13762","p13806","p13865","p13866","p13923","p13924","p13928","p13929","p13930","p8593","p13936","p13939","p13940","p13950","p13951","p13954","p13955","p13956","p13957","p13974","p14009","p14014","p14043","p14108","p14110","p14142","p14190","p10113","p14195","p14218","p14224","p14281","p14290","p14292","p14294","p14298","p14407","p14430","p14431","p14432","p14465","p14466","p14470","p14472","p14502","p14503","p14506","p14580","p14594","p14613","p14615","p14618","p14622","p14623","p14624","p14625","p14640","p14673","p14701","p14702","p14703","p14704","p14705","p14706","p14709","p14710","p14712","p14761","p14771","p14773","p14774","p14775","p14811","p14812","p14814","p14824","p14830","p14833","p14834","p14835","p14836","p14837","p14838","p14839","p14840","p14841","p14842","p14844","p14845","p14850","p14848","p14852","p14864","p14897","p14988","p15140","p15139","p15138","p15137","p15136","p15135","p15145","p15157","p15156","p15155","p15154","p15153","p15152","p15147","p15146","p15250","p15293","p15367","p15443","p15442","p15436","p15487","p15481","p15533","p15520","p15547","p15587","p15602","p15618","p15642","p15682","p15719","p15712","p15696","p15740","p15739","p15738","p15737","p15736","p15735","p15734","p15733","p15771","p15808","p15796","p15825","p15811","p15854","p15903","p13474","p16101","p16155","p16152","p16151","p16134","p16168","p16165","p16176","p16175","p16183","p16191","p16215","p16220","p16247","p16246","p16294","p16295","p16321","p16332","p16365","p16388","p16433","p16432","p16546","p16545","p16544","p16543","p16542","p16541","p16540","p16539","p16538","p16537","p16536","p16535","p16534","p16531","p16530","p16529","p16528","p16525","p16524","p16517","p16516","p16515","p16514","p16513","p16512","p16510","p16509","p16508","p16507","p16505","p16504","p16503","p16502","p16501","p16500","p16499","p16498","p16497","p16496","p16495","p16494","p16493","p16492","p16491","p16490","p16489","p16488","p16487","p16486","p16484","p16483","p16482","p16481","p16480","p16479","p16478","p16477","p16476","p16475","p16474","p16473","p16472","p16471","p16470","p16469","p16468","p16466","p16465","p16464","p16463","p16462","p16458","p16457","p16456","p16454","p16453","p16452","p16449","p16448","p16447","p16446","p16443","p16442","p16441","p16440","p16439","p16438","p16437","p16436","p16435","p16570","p16569","p16568","p16567","p16566","p16565","p16564","p16563","p16562","p16561","p16560","p16559","p16558","p16557","p16556","p16555","p16551","p16550","p16549","p16548","p16547","p16589","p16588","p16587","p16586","p16583","p16645","p16628","p16623","p16622","p16621","p16709","p16692","p16690","p16689","p16687","p16686","p16732","p16731","p16750","p16743","p16758","p16751","p16785","p16851","p16950","p16949","p16957","p16956","p16967","p16982","p16981","p17000","p16999","p16998","p9743","p17056","p17055","p17054","p17071","p17069","p17067","p17074","p17085","p17102","p17101","p17133","p17186","p17269","p17256","p17295","p17303","p17299","p17306","p17388","p17394","p17393","p17444","p17468","p17467","p17554","p17553","p17552","p17568","p17567","p17566","p17565","p17669","p17668","p17701","p17700","p17707","p17800","p17805","p17804","p17820","p17830","p17835","p17939","p17947","p17978","p17990","p18003","p18002","p18025","p18039","p18081","p18089","p18088","p18087","p18082","p18114","p18118","p18124","p18123","p18157","p18147","p18181","p18176","p18196","p18195","p18193","p18211","p18194","p18223","p18222","p18234","p18232","p18231","p18230","p18229","p18298","p18297","p18296","p18295","p18294","p18308","p18307","p18304","p18310","p18313","p18318","p18376","p18375","p18367","p18365","p18363","p18628","p18627","p18678","p18673","p18794","p18787","p18696","p18820","p18814","p18836","p18835","p18834","p18860","p18861","p18885","p18910","p18914","p18937","p18936","p18935","p18934","p18933","p18932","p18930","p4817","p18952","p18950","p18958","p18957","p18989","p18988","p18996","p19075","p19074","p19073","p14765","p10919","p19113","p19125","p19153","p19192","p19191","p19215","p19297","p19307","p19336","p19335","p19334","p19333","p19332","p19331","p19330","p19323","p19364","p19355","p19371","p19370","p19369","p19368","p19367","p19378","p19416","p19437","p19436","p19435","p19434","p19433","p19432","p18693","p19473","p19490","p19486","p19485","p19497","p19529","p19538","p19547","p19545","p19544","p19564","p19567","p19581","p19596","p19589","p19588","p19587","p19604","p19644","p19638","p19662","p19663","p19683","p19671","p19670","p19731","p19732","p19771","p19783","p19790","p19882","p19881","p19880","p11621","p19945","p20144","p20155","p20154","p20153","p20148","p20180","p20181","p20189","p20190","p20200","p20199","p20198","p19673","p4553","p20219","p20217","p20216","p20215","p20226","p20225","p14102","p20237","p20256","p20255","p20254","p20292","p20291","p20314","p20308","p17411","p11417","p11354","p20324","p20335","p20334","p20341","p20340","p20346","p20345","p20344","p20383","p20381","p20412","p20405","p20431","p20430","p20435","p20445","p20464","p18125","p20546","p20545","p8340","p20581","p11624","p20596","p20595","p20655","p20654","p20657","p20689","p20695","p17430","p20737","p20736","p20735","p20734","p20733","p20732","p20731","p20730","p20729","p20714","p20753","p20768","p20767","p20766","p20763","p20762","p20797","p20818","p20833","p20891","p20897","p20896","p4766","p20927","p20926","p20925","p20922","p20984","p21006","p21005","p21004","p21003","p21002","p21032","p18734","p21034","p21041","p21039","p21069","p21068","p21096","p21095","p21094","p21085","p8239","p21190","p21215","p21211","p15917","p15314","p21219","p21218","p21240","p21268","p21267","p21275","p21274","p21272","p21311","p21310","p21410","p21392","p21479","p21505","p21504","p21533","p21549","p16582","p21586","p21585","p21584","p21583","p21593","p21589","p21606","p21605","p21604","p21617","p21616","p21615","p21625","p21624","p21630","p21628","p21627","p21626","p21649","p21648","p21708","p21680","p21679","p21722","p21720","p21752","p21743","p21797","p21796","p21795","p21794","p21793","p21792","p21791","p21790","p21789","p21788","p21787","p21786","p21801","p21822","p21821","p21820","p21819","p21818","p14077","p12988","p21860","p21855","p21861","p21873","p16164","p21880"],"description":"Limit result set to resources with a specific role.","type":"string"}}},{"methods":["POST"],"args":{"email":{"required":true,"description":"New user email address.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":true,"description":"New user username.","type":"string"},"password":{"required":true,"description":"New user password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/customers"}]}},"\/wc\/v1\/customers\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"},"reassign":{"required":false,"default":0,"description":"ID to reassign posts to.","type":"integer"}}}]},"\/wc\/v1\/customers\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/customers\/batch"}]}},"\/wc\/v1\/orders\/(?P<order_id>[\\d]+)\/notes":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"note":{"required":true,"description":"Order note content.","type":"string"},"customer_note":{"required":false,"default":false,"description":"Shows\/define if the note is only for reference or for the customer (the user will be notified).","type":"boolean"}}}]},"\/wc\/v1\/orders\/(?P<order_id>[\\d]+)\/notes\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/orders\/(?P<order_id>[\\d]+)\/refunds":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"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","modified"],"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"},"status":{"required":false,"default":"any","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Limit result set to orders assigned a specific status.","type":"string"},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"amount":{"required":false,"description":"Refund amount.","type":"string"},"reason":{"required":false,"description":"Reason for refund.","type":"string"}}}]},"\/wc\/v1\/orders\/(?P<order_id>[\\d]+)\/refunds\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/orders":{"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","modified"],"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"},"status":{"required":false,"default":"any","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Limit result set to orders assigned a specific status.","type":"string"},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"default":"pending","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"default":"USD","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"set_paid":{"required":false,"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/orders"}]}},"\/wc\/v1\/orders\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v1\/orders\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta":{"description":"Line item meta data.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"key":{"description":"Meta key.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"Meta label.","type":"string","context":["view","edit"],"readonly":true},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"],"readonly":true}}}}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"]},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/orders\/batch"}]}},"\/wc\/v1\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v1\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v1\/products\/attributes":{"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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"default":"select","enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"default":"menu_order","enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/attributes"}]}},"\/wc\/v1\/products\/attributes\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/products\/attributes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/attributes\/batch"}]}},"\/wc\/v1\/products\/categories":{"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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"default":"default","enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/categories"}]}},"\/wc\/v1\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/products\/categories\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/categories\/batch"}]}},"\/wc\/v1\/products\/(?P<product_id>[\\d]+)\/reviews":{"namespace":"wc\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"review":{"required":true,"description":"Review content.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":["null","string"]},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":true,"description":"Name of the reviewer.","type":"string"},"email":{"required":true,"description":"Email of the reviewer.","type":"string"}}}]},"\/wc\/v1\/products\/(?P<product_id>[\\d]+)\/reviews\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"review":{"required":false,"description":"The content of the review.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":["null","string"]},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":false,"description":"Reviewer name.","type":"string"},"email":{"required":false,"description":"Reviewer email.","type":"string"}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v1\/products\/shipping_classes":{"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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/shipping_classes"}]}},"\/wc\/v1\/products\/shipping_classes\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/products\/shipping_classes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/shipping_classes\/batch"}]}},"\/wc\/v1\/products\/tags":{"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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/tags"}]}},"\/wc\/v1\/products\/tags\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/products\/tags\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/tags\/batch"}]}},"\/wc\/v1\/products":{"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","modified"],"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"},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"sku":{"required":false,"description":"Limit result set to products with a specific SKU.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price.","type":"string"},"date_on_sale_to":{"required":false,"description":"End date of sale price.","type":"string"},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"download_type":{"required":false,"default":"standard","enum":["standard"],"description":"Download type, this controls the schema on the front-end.","type":"string"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"default":true,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"variations":{"required":false,"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (lbs).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (in).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (in).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (in).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products"}]}},"\/wc\/v1\/products\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price.","type":"string"},"date_on_sale_to":{"required":false,"description":"End date of sale price.","type":"string"},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"download_type":{"required":false,"enum":["standard"],"description":"Download type, this controls the schema on the front-end.","type":"string"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"variations":{"required":false,"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (lbs).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (in).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (in).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (in).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v1\/products\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price.","type":"string"},"date_on_sale_to":{"required":false,"description":"End date of sale price.","type":"string"},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"download_type":{"required":false,"enum":["standard"],"description":"Download type, this controls the schema on the front-end.","type":"string"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of upsell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"variations":{"required":false,"description":"List of variations.","type":"array","items":{"type":"object","properties":{"id":{"description":"Variation ID.","type":"integer","context":["view","edit"],"readonly":true},"date_created":{"description":"The date the variation was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the variation was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"permalink":{"description":"Variation URL.","type":"string","format":"uri","context":["view","edit"],"readonly":true},"sku":{"description":"Unique identifier.","type":"string","context":["view","edit"]},"price":{"description":"Current variation price.","type":"string","context":["view","edit"],"readonly":true},"regular_price":{"description":"Variation regular price.","type":"string","context":["view","edit"]},"sale_price":{"description":"Variation sale price.","type":"string","context":["view","edit"]},"date_on_sale_from":{"description":"Start date of sale price.","type":"string","context":["view","edit"]},"date_on_sale_to":{"description":"End date of sale price.","type":"string","context":["view","edit"]},"on_sale":{"description":"Shows if the variation is on sale.","type":"boolean","context":["view","edit"],"readonly":true},"purchasable":{"description":"Shows if the variation can be bought.","type":"boolean","context":["view","edit"],"readonly":true},"visible":{"description":"If the variation is visible.","type":"boolean","context":["view","edit"]},"virtual":{"description":"If the variation is virtual.","type":"boolean","default":false,"context":["view","edit"]},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","default":false,"context":["view","edit"]},"downloads":{"description":"List of downloadable files.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","default":null,"context":["view","edit"]},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","default":null,"context":["view","edit"]},"tax_status":{"description":"Tax status.","type":"string","default":"taxable","enum":["taxable","shipping","none"],"context":["view","edit"]},"tax_class":{"description":"Tax class.","type":"string","context":["view","edit"]},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","default":false,"context":["view","edit"]},"stock_quantity":{"description":"Stock quantity.","type":"integer","context":["view","edit"]},"in_stock":{"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean","default":true,"context":["view","edit"]},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","default":"no","enum":["no","notify","yes"],"context":["view","edit"]},"backorders_allowed":{"description":"Shows if backorders are allowed.","type":"boolean","context":["view","edit"],"readonly":true},"backordered":{"description":"Shows if the variation is on backordered.","type":"boolean","context":["view","edit"],"readonly":true},"weight":{"description":"Variation weight (lbs).","type":"string","context":["view","edit"]},"dimensions":{"description":"Variation dimensions.","type":"object","context":["view","edit"],"properties":{"length":{"description":"Variation length (in).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (in).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (in).","type":"string","context":["view","edit"]}}},"shipping_class":{"description":"Shipping class slug.","type":"string","context":["view","edit"]},"shipping_class_id":{"description":"Shipping class ID.","type":"integer","context":["view","edit"],"readonly":true},"image":{"description":"Variation image data.","type":"object","context":["view","edit"],"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}},"attributes":{"description":"List of attributes.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/products\/batch"}]}},"\/wc\/v1\/reports\/sales":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/reports\/sales"}]}},"\/wc\/v1\/reports\/top_sellers":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/reports\/top_sellers"}]}},"\/wc\/v1\/reports":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/reports"}]}},"\/wc\/v1\/taxes\/classes":{"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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Tax class name.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/taxes\/classes"}]}},"\/wc\/v1\/taxes\/classes\/(?P<slug>\\w[\\w\\s\\-]*)":{"namespace":"wc\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"required":false,"description":"Unique slug for the resource.","type":"string"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/taxes":{"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"},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"order","enum":["id","order"],"description":"Sort collection by object attribute.","type":"string"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Sort by tax class.","type":"string"}}},{"methods":["POST"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"default":1,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"default":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"default":"standard","enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/taxes"}]}},"\/wc\/v1\/taxes\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/taxes\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/taxes\/batch"}]}},"\/wc\/v1\/webhooks":{"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","title"],"description":"Sort collection by object attribute.","type":"string"},"status":{"required":false,"default":"all","enum":["all","active","paused","disabled"],"description":"Limit result set to webhooks assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"default":"active","enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":true,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"},"delivery_url":{"required":true,"description":"Webhook delivery URL.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/webhooks"}]}},"\/wc\/v1\/webhooks\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v1\/webhooks\/batch":{"namespace":"wc\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v1\/webhooks\/batch"}]}},"\/wc\/v1\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v1\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries\/(?P<id>[\\d]+)":{"namespace":"wc\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/v2"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2"}]}},"\/wc\/v2\/coupons":{"namespace":"wc\/v2","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","modified"],"description":"Sort collection by object attribute.","type":"string"},"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"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"default":"fixed_cart","enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/coupons"}]}},"\/wc\/v2\/coupons\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/coupons\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/coupons\/batch"}]}},"\/wc\/v2\/customers\/(?P<customer_id>[\\d]+)\/downloads":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/customers":{"namespace":"wc\/v2","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","registered_date"],"description":"Sort collection by object attribute.","type":"string"},"email":{"required":false,"description":"Limit result set to resources with a specific email.","type":"string"},"role":{"required":false,"default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","ocs_admin","p8203","p8205","p8210","p8215","p8218","p8220","p8221","p8223","p8224","p8227","p8228","p8234","p8240","p8241","p8243","p8244","p8245","p8246","p8247","p8248","p8249","p8251","p8252","p8253","p8254","p8255","p8256","p8257","p8258","p8259","p8260","p8261","p8262","p8263","p8264","p8265","p8266","p8267","p8268","p8269","p8271","p8272","p8273","p8274","p8275","p8276","p8277","p8279","p8282","p8283","p8284","p8285","p8286","p8287","p8288","p8289","p8291","p8294","p8297","p8302","p8303","p8304","p8305","p8306","p8307","p8308","p8309","p8311","p8315","p8316","p8317","p8318","p8319","p8321","p8328","p8330","p8333","p8336","p8337","p8346","p8353","p8400","p8453","p8456","p8458","p8460","p8476","p8477","p8478","p8487","p8494","p8498","p8499","p8500","p8501","p8508","p8510","p8512","p8514","p8517","p8518","p8522","p8525","p8528","p8530","p8533","p8537","p8540","p8547","p8549","p8552","p8556","p8559","p8561","p8566","p8568","p8569","p8571","p8578","p8581","p8584","p8586","p8589","p8596","p8598","p8602","p8608","p8612","p8615","p8616","p8622","p8631","p8642","p8646","p8648","p8651","p8658","p8684","p8685","p8689","p8705","p8707","p8708","p4102","p4381","p4384","p4386","p4387","p4429","p4431","p4432","p4433","p4435","p4448","p4452","p4453","p4454","p4456","p4457","p4458","p4459","p4460","p4461","p4462","p4464","p4465","p4466","p4467","p4468","p4469","p4482","p4484","p4486","p4487","p4526","p4529","p4530","p4538","p4539","p4541","p4544","p4545","p4546","p4547","p4548","p4551","p4554","p4557","p4571","p4572","p4591","p4592","p4593","p4594","p4595","p4596","p4598","p4599","p4600","p4601","p4605","p4607","p4608","p4609","p4630","p4633","p4634","p4646","p4652","p4653","p4654","p4655","p4656","p4658","p4661","p4662","p4667","p4668","p4682","p4690","p4691","p4692","p4693","p4698","p4701","p4702","p4703","p4704","p4705","p4706","p4707","p4708","p4709","p4710","p4714","p4719","p4721","p4733","p4740","p4742","p4743","p4744","p4745","p4754","p4759","p4762","p4763","p4764","p4765","p4771","p4773","p4777","p4778","p4779","p4783","p4787","p4792","p4793","p4794","p4798","p4799","p4801","p4802","p4822","p4823","p4824","p4825","p4826","p4834","p4836","p4837","p4838","p4839","p4840","p4841","p4845","p4846","p4848","p4849","p4850","p4851","p4852","p4853","p4854","p4877","p4878","p4883","p4884","p4885","p4890","p4894","p4900","p4901","p4902","p4903","p4904","p4905","p4908","p4909","p4919","p4920","p4921","p4922","p4923","p4924","p4925","p4926","p4927","p4932","p4942","p4948","p4949","p4950","p4952","p4954","p4955","p4957","p5278","p5279","p5303","p5306","p5309","p5332","p5348","p5349","p5350","p5426","p5427","p5443","p5444","p5448","p5519","p5520","p5521","p5610","p5612","p5615","p5616","p5618","p5655","p5657","p5658","p5659","p5660","p5663","p5664","p5689","p5690","p5694","p5695","p5696","p5697","p5698","p5699","p5834","p5835","p5836","p5837","p5839","p5840","p5841","p5842","p5851","p5853","p5854","p5857","p5859","p5860","p6070","p6244","p6255","p6272","p6273","p6275","p6300","p6403","p6404","p6405","p6406","p6408","p6409","p6411","p6421","p6437","p6448","p6512","p6541","p6542","p6551","p6552","p6559","p6574","p6616","p6618","p6688","p6700","p6701","p6725","p6727","p6746","p6748","p6757","p6762","p6969","p7222","p7240","p7259","p7263","p7265","p7266","p7268","p7315","p7347","p7349","p7390","p7391","p7392","p7403","p7404","p7405","p7406","p7407","p7416","p7435","p7443","p7445","p7453","p7473","p7499","p7503","p7532","p7538","p7539","p7561","p7572","p7578","p7588","p7601","p7617","p7702","p7732","p7738","p7739","p7740","p7743","p7745","p7746","p7747","p7751","p7752","p7763","p7773","p7797","p7798","p7870","p7871","p7872","p7879","p7882","p7883","p7901","p7902","p7908","p7914","p8038","p8041","p8043","p8044","p8046","p8049","p8056","p8082","p8084","p8096","p8097","p8101","p8102","p8106","p8117","p8120","p8123","p8133","p8146","p8176","p8178","p8181","p8184","p8190","p8191","p8192","p8194","p8202","p8206","p8211","p8213","p8216","p8219","p8237","p8238","p8281","p8292","p8296","p8298","p8310","p8314","p8320","p8326","p8329","p8332","p8335","p8342","p8343","p8347","p8349","p8354","p8365","p8388","p8399","p8410","p8432","p8443","p8454","p8464","p8465","p8466","p8469","p8470","p8471","p8472","p8473","p8479","p8480","p8481","p8484","p8485","p8486","p8488","p8489","p8490","p8492","p8493","p8504","p8506","p8507","p8520","p8524","p8526","p8527","p8529","p8532","p8534","p8535","p8536","p8539","p8542","p8554","p8555","p8558","p8560","p8562","p8563","p8574","p8576","p8577","p8591","p8592","p8594","p8595","p8600","p8606","p8610","p8617","p8618","p8619","p8624","p8628","p8630","p8633","p8637","p8644","p8650","p8654","p8655","p8660","p8661","p8662","p8663","p8664","p8669","p8670","p8672","p8673","p8674","p8678","p8680","p8686","p8688","p8690","p8693","p8694","p8701","p8702","p8703","p8704","p8706","p8711","p9406","p9409","p4727","p9426","p9462","p9468","p4772","p4867","p9503","p9509","p9560","p9590","p9599","p9634","p9635","p9636","p9648","p9654","p9655","p9656","p9675","p9676","p9677","p9700","p9706","p9709","p9710","p9711","p9728","p9729","p9740","p9742","p9744","p9766","p9775","p9776","p9784","p9785","p9786","p9796","p9799","p9800","p9823","p9826","p9830","p9835","p9839","p9841","p9846","p9848","p9850","p9884","p9899","p9930","p9931","p9948","p9950","p9952","p9970","p4576","p10021","p10072","p10102","p10103","p10114","p10294","p10305","p10306","p10322","p10323","p10324","p10326","p10390","p10419","p10420","p10424","p10451","p10452","p10456","p10481","p10482","p10522","p10525","p10570","p10571","p10600","p10639","p10640","p10680","p10683","p10688","p10691","p10728","p10765","p10781","p10817","p10899","p10910","p10924","p10927","p10928","p10929","p10937","p10940","p10945","p10981","p10992","p10993","p10995","p4561","p4562","p4563","p11017","p4407","p11079","p11083","p11086","p4479","p4535","p11106","p11107","p11108","p11115","p11117","p11118","p11119","p11120","p11121","p11122","p11123","p11124","p11130","p11131","p11132","p11133","p11134","p11135","p11136","p11137","p11138","p11139","p11140","p11141","p11159","p11163","p11164","p11165","p11166","p11168","p11169","p11171","p11172","p11173","p11176","p11177","p11178","p11179","p11180","p11181","p11182","p11183","p11185","p11186","p11187","p11189","p11190","p11191","p11192","p11193","p11194","p11195","p11196","p11199","p11200","p11201","p11202","p11203","p11204","p11205","p11206","p11208","p11209","p11210","p11211","p11212","p11213","p11214","p11215","p11216","p11217","p11219","p11220","p11221","p11222","p11223","p11224","p11227","p11228","p11229","p11230","p11231","p11232","p11233","p11234","p11236","p11237","p11238","p11239","p11241","p11242","p11245","p11246","p11247","p11249","p11250","p11251","p11254","p11255","p11256","p11257","p11258","p11259","p11260","p11261","p11262","p11263","p11265","p11272","p11273","p11274","p11275","p11277","p11278","p11279","p11280","p11281","p11282","p11312","p11313","p11314","p11328","p11329","p11414","p11440","p11456","p11534","p11541","p11555","p11556","p11581","p11582","p11601","p11608","p11609","p11614","p11620","p11622","p11623","p11673","p11695","p11701","p8687","p11730","p11734","p11735","p11742","p11775","p11778","p11790","p11792","p11793","p11794","p11802","p4956","p11913","p11972","p11973","p12015","p12016","p12021","p12149","p12235","p12276","p12277","p12385","p12387","p12463","p12485","p12513","p12514","p6779","p11167","p11170","p11226","p11235","p12562","p12588","p12601","p12602","p12603","p12604","p12605","p12640","p12749","p12759","p5314","p12851","p12908","p12919","p12920","p12928","p12953","p12959","p12960","p12970","p13056","p13077","p13078","p13091","p13104","p13124","p13125","p13154","p13158","p13180","p13198","p13215","p13231","p13233","p13234","p13261","p13265","p13271","p13276","p13334","p13342","p13361","p13362","p13363","p13364","p13399","p13404","p13406","p13408","p13409","p13433","p13449","p13458","p13467","p13468","p13477","p13670","p13672","p13673","p13702","p13703","p13704","p13705","p13706","p13708","p13720","p13744","p13761","p13762","p13806","p13865","p13866","p13923","p13924","p13928","p13929","p13930","p8593","p13936","p13939","p13940","p13950","p13951","p13954","p13955","p13956","p13957","p13974","p14009","p14014","p14043","p14108","p14110","p14142","p14190","p10113","p14195","p14218","p14224","p14281","p14290","p14292","p14294","p14298","p14407","p14430","p14431","p14432","p14465","p14466","p14470","p14472","p14502","p14503","p14506","p14580","p14594","p14613","p14615","p14618","p14622","p14623","p14624","p14625","p14640","p14673","p14701","p14702","p14703","p14704","p14705","p14706","p14709","p14710","p14712","p14761","p14771","p14773","p14774","p14775","p14811","p14812","p14814","p14824","p14830","p14833","p14834","p14835","p14836","p14837","p14838","p14839","p14840","p14841","p14842","p14844","p14845","p14850","p14848","p14852","p14864","p14897","p14988","p15140","p15139","p15138","p15137","p15136","p15135","p15145","p15157","p15156","p15155","p15154","p15153","p15152","p15147","p15146","p15250","p15293","p15367","p15443","p15442","p15436","p15487","p15481","p15533","p15520","p15547","p15587","p15602","p15618","p15642","p15682","p15719","p15712","p15696","p15740","p15739","p15738","p15737","p15736","p15735","p15734","p15733","p15771","p15808","p15796","p15825","p15811","p15854","p15903","p13474","p16101","p16155","p16152","p16151","p16134","p16168","p16165","p16176","p16175","p16183","p16191","p16215","p16220","p16247","p16246","p16294","p16295","p16321","p16332","p16365","p16388","p16433","p16432","p16546","p16545","p16544","p16543","p16542","p16541","p16540","p16539","p16538","p16537","p16536","p16535","p16534","p16531","p16530","p16529","p16528","p16525","p16524","p16517","p16516","p16515","p16514","p16513","p16512","p16510","p16509","p16508","p16507","p16505","p16504","p16503","p16502","p16501","p16500","p16499","p16498","p16497","p16496","p16495","p16494","p16493","p16492","p16491","p16490","p16489","p16488","p16487","p16486","p16484","p16483","p16482","p16481","p16480","p16479","p16478","p16477","p16476","p16475","p16474","p16473","p16472","p16471","p16470","p16469","p16468","p16466","p16465","p16464","p16463","p16462","p16458","p16457","p16456","p16454","p16453","p16452","p16449","p16448","p16447","p16446","p16443","p16442","p16441","p16440","p16439","p16438","p16437","p16436","p16435","p16570","p16569","p16568","p16567","p16566","p16565","p16564","p16563","p16562","p16561","p16560","p16559","p16558","p16557","p16556","p16555","p16551","p16550","p16549","p16548","p16547","p16589","p16588","p16587","p16586","p16583","p16645","p16628","p16623","p16622","p16621","p16709","p16692","p16690","p16689","p16687","p16686","p16732","p16731","p16750","p16743","p16758","p16751","p16785","p16851","p16950","p16949","p16957","p16956","p16967","p16982","p16981","p17000","p16999","p16998","p9743","p17056","p17055","p17054","p17071","p17069","p17067","p17074","p17085","p17102","p17101","p17133","p17186","p17269","p17256","p17295","p17303","p17299","p17306","p17388","p17394","p17393","p17444","p17468","p17467","p17554","p17553","p17552","p17568","p17567","p17566","p17565","p17669","p17668","p17701","p17700","p17707","p17800","p17805","p17804","p17820","p17830","p17835","p17939","p17947","p17978","p17990","p18003","p18002","p18025","p18039","p18081","p18089","p18088","p18087","p18082","p18114","p18118","p18124","p18123","p18157","p18147","p18181","p18176","p18196","p18195","p18193","p18211","p18194","p18223","p18222","p18234","p18232","p18231","p18230","p18229","p18298","p18297","p18296","p18295","p18294","p18308","p18307","p18304","p18310","p18313","p18318","p18376","p18375","p18367","p18365","p18363","p18628","p18627","p18678","p18673","p18794","p18787","p18696","p18820","p18814","p18836","p18835","p18834","p18860","p18861","p18885","p18910","p18914","p18937","p18936","p18935","p18934","p18933","p18932","p18930","p4817","p18952","p18950","p18958","p18957","p18989","p18988","p18996","p19075","p19074","p19073","p14765","p10919","p19113","p19125","p19153","p19192","p19191","p19215","p19297","p19307","p19336","p19335","p19334","p19333","p19332","p19331","p19330","p19323","p19364","p19355","p19371","p19370","p19369","p19368","p19367","p19378","p19416","p19437","p19436","p19435","p19434","p19433","p19432","p18693","p19473","p19490","p19486","p19485","p19497","p19529","p19538","p19547","p19545","p19544","p19564","p19567","p19581","p19596","p19589","p19588","p19587","p19604","p19644","p19638","p19662","p19663","p19683","p19671","p19670","p19731","p19732","p19771","p19783","p19790","p19882","p19881","p19880","p11621","p19945","p20144","p20155","p20154","p20153","p20148","p20180","p20181","p20189","p20190","p20200","p20199","p20198","p19673","p4553","p20219","p20217","p20216","p20215","p20226","p20225","p14102","p20237","p20256","p20255","p20254","p20292","p20291","p20314","p20308","p17411","p11417","p11354","p20324","p20335","p20334","p20341","p20340","p20346","p20345","p20344","p20383","p20381","p20412","p20405","p20431","p20430","p20435","p20445","p20464","p18125","p20546","p20545","p8340","p20581","p11624","p20596","p20595","p20655","p20654","p20657","p20689","p20695","p17430","p20737","p20736","p20735","p20734","p20733","p20732","p20731","p20730","p20729","p20714","p20753","p20768","p20767","p20766","p20763","p20762","p20797","p20818","p20833","p20891","p20897","p20896","p4766","p20927","p20926","p20925","p20922","p20984","p21006","p21005","p21004","p21003","p21002","p21032","p18734","p21034","p21041","p21039","p21069","p21068","p21096","p21095","p21094","p21085","p8239","p21190","p21215","p21211","p15917","p15314","p21219","p21218","p21240","p21268","p21267","p21275","p21274","p21272","p21311","p21310","p21410","p21392","p21479","p21505","p21504","p21533","p21549","p16582","p21586","p21585","p21584","p21583","p21593","p21589","p21606","p21605","p21604","p21617","p21616","p21615","p21625","p21624","p21630","p21628","p21627","p21626","p21649","p21648","p21708","p21680","p21679","p21722","p21720","p21752","p21743","p21797","p21796","p21795","p21794","p21793","p21792","p21791","p21790","p21789","p21788","p21787","p21786","p21801","p21822","p21821","p21820","p21819","p21818","p14077","p12988","p21860","p21855","p21861","p21873","p16164","p21880"],"description":"Limit result set to resources with a specific role.","type":"string"}}},{"methods":["POST"],"args":{"email":{"required":true,"description":"New user email address.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":true,"description":"New user username.","type":"string"},"password":{"required":true,"description":"New user password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/customers"}]}},"\/wc\/v2\/customers\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"},"reassign":{"required":false,"default":0,"description":"ID to reassign posts to.","type":"integer"}}}]},"\/wc\/v2\/customers\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/customers\/batch"}]}},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/notes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"type":{"required":false,"default":"any","enum":["any","customer","internal"],"description":"Limit result to customers or internal notes.","type":"string"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"note":{"required":true,"description":"Order note content.","type":"string"},"customer_note":{"required":false,"default":false,"description":"If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/notes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/refunds":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"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","modified"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"amount":{"required":false,"description":"Refund amount.","type":"string"},"reason":{"required":false,"description":"Reason for refund.","type":"string"},"refunded_by":{"required":false,"description":"User ID of user who created the refund.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"api_refund":{"required":false,"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/refunds\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/orders":{"namespace":"wc\/v2","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","modified"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"any","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Limit result set to orders assigned a specific status.","type":"string"},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"default":"pending","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"default":"USD","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/orders"}]}},"\/wc\/v2\/orders\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/orders\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/orders\/batch"}]}},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v2\/products\/attributes":{"namespace":"wc\/v2","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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"default":"select","enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"default":"menu_order","enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/attributes"}]}},"\/wc\/v2\/products\/attributes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/products\/attributes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/attributes\/batch"}]}},"\/wc\/v2\/products\/categories":{"namespace":"wc\/v2","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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"default":"default","enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/categories"}]}},"\/wc\/v2\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/products\/categories\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/categories\/batch"}]}},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"review":{"required":true,"description":"Review content.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":["null","string"]},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":true,"description":"Name of the reviewer.","type":"string"},"email":{"required":true,"description":"Email of the reviewer.","type":"string"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"review":{"required":false,"description":"The content of the review.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":["null","string"]},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":false,"description":"Reviewer name.","type":"string"},"email":{"required":false,"description":"Reviewer email.","type":"string"}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"review":{"required":false,"description":"The content of the review.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":["null","string"]},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":false,"description":"Reviewer name.","type":"string"},"email":{"required":false,"description":"Reviewer email.","type":"string"}}}]},"\/wc\/v2\/products\/shipping_classes":{"namespace":"wc\/v2","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/shipping_classes"}]}},"\/wc\/v2\/products\/shipping_classes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/products\/shipping_classes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"}]}},"\/wc\/v2\/products\/tags":{"namespace":"wc\/v2","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/tags"}]}},"\/wc\/v2\/products\/tags\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/products\/tags\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/tags\/batch"}]}},"\/wc\/v2\/products":{"namespace":"wc\/v2","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","modified","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"in_stock":{"required":false,"description":"Limit result set to products in stock or out of stock.","type":"boolean"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"default":true,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products"}]}},"\/wc\/v2\/products\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/products\/batch"}]}},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"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","modified","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"in_stock":{"required":false,"description":"Limit result set to products in stock or out of stock.","type":"boolean"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"visible":{"required":false,"default":true,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"default":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"]},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"default":true,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"visible":{"required":false,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"]},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":["null","string"]},"visible":{"required":false,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":["null","object","string","number","boolean","integer","array"]},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}]},"\/wc\/v2\/reports\/sales":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/reports\/sales"}]}},"\/wc\/v2\/reports\/top_sellers":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/reports\/top_sellers"}]}},"\/wc\/v2\/reports":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/reports"}]}},"\/wc\/v2\/settings":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/settings"}]}},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"}}}]},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc\/v2\/shipping\/zones":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"required":true,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/shipping\/zones"}]}},"\/wc\/v2\/shipping\/zones\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/shipping\/zones\/(?P<id>[\\d]+)\/locations":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"code":{"required":false,"description":"Shipping zone location code.","type":"string"},"type":{"required":false,"enum":["postcode","state","country","continent"],"description":"Shipping zone location type.","type":"string"}}}]},"\/wc\/v2\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"}}},{"methods":["POST"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"},"method_id":{"required":true,"description":"Shipping method ID."}}}]},"\/wc\/v2\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods\/(?P<instance_id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"}}},{"methods":["DELETE"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/taxes\/classes":{"namespace":"wc\/v2","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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Tax class name.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/taxes\/classes"}]}},"\/wc\/v2\/taxes\/classes\/(?P<slug>\\w[\\w\\s\\-]*)":{"namespace":"wc\/v2","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"required":false,"description":"Unique slug for the resource.","type":"string"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/taxes":{"namespace":"wc\/v2","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"},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"order","enum":["id","order"],"description":"Sort collection by object attribute.","type":"string"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Sort by tax class.","type":"string"}}},{"methods":["POST"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"default":1,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"default":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"default":"standard","enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/taxes"}]}},"\/wc\/v2\/taxes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/taxes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/taxes\/batch"}]}},"\/wc\/v2\/webhooks":{"namespace":"wc\/v2","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","title"],"description":"Sort collection by object attribute.","type":"string"},"status":{"required":false,"default":"all","enum":["all","active","paused","disabled"],"description":"Limit result set to webhooks assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"default":"active","enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":true,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"},"delivery_url":{"required":true,"description":"Webhook delivery URL.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/webhooks"}]}},"\/wc\/v2\/webhooks\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v2\/webhooks\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/webhooks\/batch"}]}},"\/wc\/v2\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/system_status":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/system_status"}]}},"\/wc\/v2\/system_status\/tools":{"namespace":"wc\/v2","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/system_status\/tools"}]}},"\/wc\/v2\/system_status\/tools\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"A unique identifier for the tool.","type":"string"},"name":{"required":false,"description":"Tool name.","type":"string"},"action":{"required":false,"description":"What running the tool will do.","type":"string"},"description":{"required":false,"description":"Tool description.","type":"string"},"success":{"required":false,"description":"Did the tool run successfully?","type":"boolean"},"message":{"required":false,"description":"Tool return message.","type":"string"}}}]},"\/wc\/v2\/shipping_methods":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/shipping_methods"}]}},"\/wc\/v2\/shipping_methods\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/payment_gateways":{"namespace":"wc\/v2","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v2\/payment_gateways"}]}},"\/wc\/v2\/payment_gateways\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"title":{"required":false,"description":"Payment gateway title on checkout.","type":"string"},"description":{"required":false,"description":"Payment gateway description on checkout.","type":"string"},"order":{"required":false,"description":"Payment gateway sort order.","type":"integer"},"enabled":{"required":false,"description":"Payment gateway enabled status.","type":"boolean"},"settings":{"required":false,"description":"Payment gateway settings.","type":"object"}}}]},"\/wc\/v3":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/v3"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3"}]}},"\/wc\/v3\/coupons":{"namespace":"wc\/v3","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","modified"],"description":"Sort collection by object attribute.","type":"string"},"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"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"default":"fixed_cart","enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/coupons"}]}},"\/wc\/v3\/coupons\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/coupons\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":["null","string"]},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":["null","string"]},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","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,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","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"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/coupons\/batch"}]}},"\/wc\/v3\/customers\/(?P<customer_id>[\\d]+)\/downloads":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v3\/customers":{"namespace":"wc\/v3","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","registered_date"],"description":"Sort collection by object attribute.","type":"string"},"email":{"required":false,"description":"Limit result set to resources with a specific email.","type":"string"},"role":{"required":false,"default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","ocs_admin","p8203","p8205","p8210","p8215","p8218","p8220","p8221","p8223","p8224","p8227","p8228","p8234","p8240","p8241","p8243","p8244","p8245","p8246","p8247","p8248","p8249","p8251","p8252","p8253","p8254","p8255","p8256","p8257","p8258","p8259","p8260","p8261","p8262","p8263","p8264","p8265","p8266","p8267","p8268","p8269","p8271","p8272","p8273","p8274","p8275","p8276","p8277","p8279","p8282","p8283","p8284","p8285","p8286","p8287","p8288","p8289","p8291","p8294","p8297","p8302","p8303","p8304","p8305","p8306","p8307","p8308","p8309","p8311","p8315","p8316","p8317","p8318","p8319","p8321","p8328","p8330","p8333","p8336","p8337","p8346","p8353","p8400","p8453","p8456","p8458","p8460","p8476","p8477","p8478","p8487","p8494","p8498","p8499","p8500","p8501","p8508","p8510","p8512","p8514","p8517","p8518","p8522","p8525","p8528","p8530","p8533","p8537","p8540","p8547","p8549","p8552","p8556","p8559","p8561","p8566","p8568","p8569","p8571","p8578","p8581","p8584","p8586","p8589","p8596","p8598","p8602","p8608","p8612","p8615","p8616","p8622","p8631","p8642","p8646","p8648","p8651","p8658","p8684","p8685","p8689","p8705","p8707","p8708","p4102","p4381","p4384","p4386","p4387","p4429","p4431","p4432","p4433","p4435","p4448","p4452","p4453","p4454","p4456","p4457","p4458","p4459","p4460","p4461","p4462","p4464","p4465","p4466","p4467","p4468","p4469","p4482","p4484","p4486","p4487","p4526","p4529","p4530","p4538","p4539","p4541","p4544","p4545","p4546","p4547","p4548","p4551","p4554","p4557","p4571","p4572","p4591","p4592","p4593","p4594","p4595","p4596","p4598","p4599","p4600","p4601","p4605","p4607","p4608","p4609","p4630","p4633","p4634","p4646","p4652","p4653","p4654","p4655","p4656","p4658","p4661","p4662","p4667","p4668","p4682","p4690","p4691","p4692","p4693","p4698","p4701","p4702","p4703","p4704","p4705","p4706","p4707","p4708","p4709","p4710","p4714","p4719","p4721","p4733","p4740","p4742","p4743","p4744","p4745","p4754","p4759","p4762","p4763","p4764","p4765","p4771","p4773","p4777","p4778","p4779","p4783","p4787","p4792","p4793","p4794","p4798","p4799","p4801","p4802","p4822","p4823","p4824","p4825","p4826","p4834","p4836","p4837","p4838","p4839","p4840","p4841","p4845","p4846","p4848","p4849","p4850","p4851","p4852","p4853","p4854","p4877","p4878","p4883","p4884","p4885","p4890","p4894","p4900","p4901","p4902","p4903","p4904","p4905","p4908","p4909","p4919","p4920","p4921","p4922","p4923","p4924","p4925","p4926","p4927","p4932","p4942","p4948","p4949","p4950","p4952","p4954","p4955","p4957","p5278","p5279","p5303","p5306","p5309","p5332","p5348","p5349","p5350","p5426","p5427","p5443","p5444","p5448","p5519","p5520","p5521","p5610","p5612","p5615","p5616","p5618","p5655","p5657","p5658","p5659","p5660","p5663","p5664","p5689","p5690","p5694","p5695","p5696","p5697","p5698","p5699","p5834","p5835","p5836","p5837","p5839","p5840","p5841","p5842","p5851","p5853","p5854","p5857","p5859","p5860","p6070","p6244","p6255","p6272","p6273","p6275","p6300","p6403","p6404","p6405","p6406","p6408","p6409","p6411","p6421","p6437","p6448","p6512","p6541","p6542","p6551","p6552","p6559","p6574","p6616","p6618","p6688","p6700","p6701","p6725","p6727","p6746","p6748","p6757","p6762","p6969","p7222","p7240","p7259","p7263","p7265","p7266","p7268","p7315","p7347","p7349","p7390","p7391","p7392","p7403","p7404","p7405","p7406","p7407","p7416","p7435","p7443","p7445","p7453","p7473","p7499","p7503","p7532","p7538","p7539","p7561","p7572","p7578","p7588","p7601","p7617","p7702","p7732","p7738","p7739","p7740","p7743","p7745","p7746","p7747","p7751","p7752","p7763","p7773","p7797","p7798","p7870","p7871","p7872","p7879","p7882","p7883","p7901","p7902","p7908","p7914","p8038","p8041","p8043","p8044","p8046","p8049","p8056","p8082","p8084","p8096","p8097","p8101","p8102","p8106","p8117","p8120","p8123","p8133","p8146","p8176","p8178","p8181","p8184","p8190","p8191","p8192","p8194","p8202","p8206","p8211","p8213","p8216","p8219","p8237","p8238","p8281","p8292","p8296","p8298","p8310","p8314","p8320","p8326","p8329","p8332","p8335","p8342","p8343","p8347","p8349","p8354","p8365","p8388","p8399","p8410","p8432","p8443","p8454","p8464","p8465","p8466","p8469","p8470","p8471","p8472","p8473","p8479","p8480","p8481","p8484","p8485","p8486","p8488","p8489","p8490","p8492","p8493","p8504","p8506","p8507","p8520","p8524","p8526","p8527","p8529","p8532","p8534","p8535","p8536","p8539","p8542","p8554","p8555","p8558","p8560","p8562","p8563","p8574","p8576","p8577","p8591","p8592","p8594","p8595","p8600","p8606","p8610","p8617","p8618","p8619","p8624","p8628","p8630","p8633","p8637","p8644","p8650","p8654","p8655","p8660","p8661","p8662","p8663","p8664","p8669","p8670","p8672","p8673","p8674","p8678","p8680","p8686","p8688","p8690","p8693","p8694","p8701","p8702","p8703","p8704","p8706","p8711","p9406","p9409","p4727","p9426","p9462","p9468","p4772","p4867","p9503","p9509","p9560","p9590","p9599","p9634","p9635","p9636","p9648","p9654","p9655","p9656","p9675","p9676","p9677","p9700","p9706","p9709","p9710","p9711","p9728","p9729","p9740","p9742","p9744","p9766","p9775","p9776","p9784","p9785","p9786","p9796","p9799","p9800","p9823","p9826","p9830","p9835","p9839","p9841","p9846","p9848","p9850","p9884","p9899","p9930","p9931","p9948","p9950","p9952","p9970","p4576","p10021","p10072","p10102","p10103","p10114","p10294","p10305","p10306","p10322","p10323","p10324","p10326","p10390","p10419","p10420","p10424","p10451","p10452","p10456","p10481","p10482","p10522","p10525","p10570","p10571","p10600","p10639","p10640","p10680","p10683","p10688","p10691","p10728","p10765","p10781","p10817","p10899","p10910","p10924","p10927","p10928","p10929","p10937","p10940","p10945","p10981","p10992","p10993","p10995","p4561","p4562","p4563","p11017","p4407","p11079","p11083","p11086","p4479","p4535","p11106","p11107","p11108","p11115","p11117","p11118","p11119","p11120","p11121","p11122","p11123","p11124","p11130","p11131","p11132","p11133","p11134","p11135","p11136","p11137","p11138","p11139","p11140","p11141","p11159","p11163","p11164","p11165","p11166","p11168","p11169","p11171","p11172","p11173","p11176","p11177","p11178","p11179","p11180","p11181","p11182","p11183","p11185","p11186","p11187","p11189","p11190","p11191","p11192","p11193","p11194","p11195","p11196","p11199","p11200","p11201","p11202","p11203","p11204","p11205","p11206","p11208","p11209","p11210","p11211","p11212","p11213","p11214","p11215","p11216","p11217","p11219","p11220","p11221","p11222","p11223","p11224","p11227","p11228","p11229","p11230","p11231","p11232","p11233","p11234","p11236","p11237","p11238","p11239","p11241","p11242","p11245","p11246","p11247","p11249","p11250","p11251","p11254","p11255","p11256","p11257","p11258","p11259","p11260","p11261","p11262","p11263","p11265","p11272","p11273","p11274","p11275","p11277","p11278","p11279","p11280","p11281","p11282","p11312","p11313","p11314","p11328","p11329","p11414","p11440","p11456","p11534","p11541","p11555","p11556","p11581","p11582","p11601","p11608","p11609","p11614","p11620","p11622","p11623","p11673","p11695","p11701","p8687","p11730","p11734","p11735","p11742","p11775","p11778","p11790","p11792","p11793","p11794","p11802","p4956","p11913","p11972","p11973","p12015","p12016","p12021","p12149","p12235","p12276","p12277","p12385","p12387","p12463","p12485","p12513","p12514","p6779","p11167","p11170","p11226","p11235","p12562","p12588","p12601","p12602","p12603","p12604","p12605","p12640","p12749","p12759","p5314","p12851","p12908","p12919","p12920","p12928","p12953","p12959","p12960","p12970","p13056","p13077","p13078","p13091","p13104","p13124","p13125","p13154","p13158","p13180","p13198","p13215","p13231","p13233","p13234","p13261","p13265","p13271","p13276","p13334","p13342","p13361","p13362","p13363","p13364","p13399","p13404","p13406","p13408","p13409","p13433","p13449","p13458","p13467","p13468","p13477","p13670","p13672","p13673","p13702","p13703","p13704","p13705","p13706","p13708","p13720","p13744","p13761","p13762","p13806","p13865","p13866","p13923","p13924","p13928","p13929","p13930","p8593","p13936","p13939","p13940","p13950","p13951","p13954","p13955","p13956","p13957","p13974","p14009","p14014","p14043","p14108","p14110","p14142","p14190","p10113","p14195","p14218","p14224","p14281","p14290","p14292","p14294","p14298","p14407","p14430","p14431","p14432","p14465","p14466","p14470","p14472","p14502","p14503","p14506","p14580","p14594","p14613","p14615","p14618","p14622","p14623","p14624","p14625","p14640","p14673","p14701","p14702","p14703","p14704","p14705","p14706","p14709","p14710","p14712","p14761","p14771","p14773","p14774","p14775","p14811","p14812","p14814","p14824","p14830","p14833","p14834","p14835","p14836","p14837","p14838","p14839","p14840","p14841","p14842","p14844","p14845","p14850","p14848","p14852","p14864","p14897","p14988","p15140","p15139","p15138","p15137","p15136","p15135","p15145","p15157","p15156","p15155","p15154","p15153","p15152","p15147","p15146","p15250","p15293","p15367","p15443","p15442","p15436","p15487","p15481","p15533","p15520","p15547","p15587","p15602","p15618","p15642","p15682","p15719","p15712","p15696","p15740","p15739","p15738","p15737","p15736","p15735","p15734","p15733","p15771","p15808","p15796","p15825","p15811","p15854","p15903","p13474","p16101","p16155","p16152","p16151","p16134","p16168","p16165","p16176","p16175","p16183","p16191","p16215","p16220","p16247","p16246","p16294","p16295","p16321","p16332","p16365","p16388","p16433","p16432","p16546","p16545","p16544","p16543","p16542","p16541","p16540","p16539","p16538","p16537","p16536","p16535","p16534","p16531","p16530","p16529","p16528","p16525","p16524","p16517","p16516","p16515","p16514","p16513","p16512","p16510","p16509","p16508","p16507","p16505","p16504","p16503","p16502","p16501","p16500","p16499","p16498","p16497","p16496","p16495","p16494","p16493","p16492","p16491","p16490","p16489","p16488","p16487","p16486","p16484","p16483","p16482","p16481","p16480","p16479","p16478","p16477","p16476","p16475","p16474","p16473","p16472","p16471","p16470","p16469","p16468","p16466","p16465","p16464","p16463","p16462","p16458","p16457","p16456","p16454","p16453","p16452","p16449","p16448","p16447","p16446","p16443","p16442","p16441","p16440","p16439","p16438","p16437","p16436","p16435","p16570","p16569","p16568","p16567","p16566","p16565","p16564","p16563","p16562","p16561","p16560","p16559","p16558","p16557","p16556","p16555","p16551","p16550","p16549","p16548","p16547","p16589","p16588","p16587","p16586","p16583","p16645","p16628","p16623","p16622","p16621","p16709","p16692","p16690","p16689","p16687","p16686","p16732","p16731","p16750","p16743","p16758","p16751","p16785","p16851","p16950","p16949","p16957","p16956","p16967","p16982","p16981","p17000","p16999","p16998","p9743","p17056","p17055","p17054","p17071","p17069","p17067","p17074","p17085","p17102","p17101","p17133","p17186","p17269","p17256","p17295","p17303","p17299","p17306","p17388","p17394","p17393","p17444","p17468","p17467","p17554","p17553","p17552","p17568","p17567","p17566","p17565","p17669","p17668","p17701","p17700","p17707","p17800","p17805","p17804","p17820","p17830","p17835","p17939","p17947","p17978","p17990","p18003","p18002","p18025","p18039","p18081","p18089","p18088","p18087","p18082","p18114","p18118","p18124","p18123","p18157","p18147","p18181","p18176","p18196","p18195","p18193","p18211","p18194","p18223","p18222","p18234","p18232","p18231","p18230","p18229","p18298","p18297","p18296","p18295","p18294","p18308","p18307","p18304","p18310","p18313","p18318","p18376","p18375","p18367","p18365","p18363","p18628","p18627","p18678","p18673","p18794","p18787","p18696","p18820","p18814","p18836","p18835","p18834","p18860","p18861","p18885","p18910","p18914","p18937","p18936","p18935","p18934","p18933","p18932","p18930","p4817","p18952","p18950","p18958","p18957","p18989","p18988","p18996","p19075","p19074","p19073","p14765","p10919","p19113","p19125","p19153","p19192","p19191","p19215","p19297","p19307","p19336","p19335","p19334","p19333","p19332","p19331","p19330","p19323","p19364","p19355","p19371","p19370","p19369","p19368","p19367","p19378","p19416","p19437","p19436","p19435","p19434","p19433","p19432","p18693","p19473","p19490","p19486","p19485","p19497","p19529","p19538","p19547","p19545","p19544","p19564","p19567","p19581","p19596","p19589","p19588","p19587","p19604","p19644","p19638","p19662","p19663","p19683","p19671","p19670","p19731","p19732","p19771","p19783","p19790","p19882","p19881","p19880","p11621","p19945","p20144","p20155","p20154","p20153","p20148","p20180","p20181","p20189","p20190","p20200","p20199","p20198","p19673","p4553","p20219","p20217","p20216","p20215","p20226","p20225","p14102","p20237","p20256","p20255","p20254","p20292","p20291","p20314","p20308","p17411","p11417","p11354","p20324","p20335","p20334","p20341","p20340","p20346","p20345","p20344","p20383","p20381","p20412","p20405","p20431","p20430","p20435","p20445","p20464","p18125","p20546","p20545","p8340","p20581","p11624","p20596","p20595","p20655","p20654","p20657","p20689","p20695","p17430","p20737","p20736","p20735","p20734","p20733","p20732","p20731","p20730","p20729","p20714","p20753","p20768","p20767","p20766","p20763","p20762","p20797","p20818","p20833","p20891","p20897","p20896","p4766","p20927","p20926","p20925","p20922","p20984","p21006","p21005","p21004","p21003","p21002","p21032","p18734","p21034","p21041","p21039","p21069","p21068","p21096","p21095","p21094","p21085","p8239","p21190","p21215","p21211","p15917","p15314","p21219","p21218","p21240","p21268","p21267","p21275","p21274","p21272","p21311","p21310","p21410","p21392","p21479","p21505","p21504","p21533","p21549","p16582","p21586","p21585","p21584","p21583","p21593","p21589","p21606","p21605","p21604","p21617","p21616","p21615","p21625","p21624","p21630","p21628","p21627","p21626","p21649","p21648","p21708","p21680","p21679","p21722","p21720","p21752","p21743","p21797","p21796","p21795","p21794","p21793","p21792","p21791","p21790","p21789","p21788","p21787","p21786","p21801","p21822","p21821","p21820","p21819","p21818","p14077","p12988","p21860","p21855","p21861","p21873","p16164","p21880"],"description":"Limit result set to resources with a specific role.","type":"string"}}},{"methods":["POST"],"args":{"email":{"required":true,"description":"New user email address.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":true,"description":"New user username.","type":"string"},"password":{"required":true,"description":"New user password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/customers"}]}},"\/wc\/v3\/customers\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"},"reassign":{"required":false,"default":0,"description":"ID to reassign posts to.","type":"integer"}}}]},"\/wc\/v3\/customers\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/customers\/batch"}]}},"\/wc\/v3\/orders\/(?P<order_id>[\\d]+)\/notes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"type":{"required":false,"default":"any","enum":["any","customer","internal"],"description":"Limit result to customers or internal notes.","type":"string"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"note":{"required":true,"description":"Order note content.","type":"string"},"customer_note":{"required":false,"default":false,"description":"If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.","type":"boolean"},"added_by_user":{"required":false,"default":false,"description":"If true, this note will be attributed to the current user. If false, the note will be attributed to the system.","type":"boolean"}}}]},"\/wc\/v3\/orders\/(?P<order_id>[\\d]+)\/notes\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/orders\/(?P<order_id>[\\d]+)\/refunds":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"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","modified"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"amount":{"required":false,"description":"Refund amount.","type":"string"},"reason":{"required":false,"description":"Reason for refund.","type":"string"},"refunded_by":{"required":false,"description":"User ID of user who created the refund.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"api_refund":{"required":false,"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean"}}}]},"\/wc\/v3\/orders\/(?P<order_id>[\\d]+)\/refunds\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/orders":{"namespace":"wc\/v3","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","modified"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"any","description":"Limit result set to orders which have specific statuses.","type":"array","items":{"type":"string","enum":["any","trash","pending","processing","on-hold","completed","cancelled","refunded","failed"]}},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"default":"pending","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"default":"USD","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/orders"}]}},"\/wc\/v3\/orders\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/orders\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PRB","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VES","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"product_id":{"description":"Product ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"variation_id":{"description":"Variation ID, if applicable.","type":"integer","context":["view","edit"]},"quantity":{"description":"Quantity ordered.","type":"integer","context":["view","edit"]},"tax_class":{"description":"Tax class of product.","type":"string","context":["view","edit"]},"subtotal":{"description":"Line subtotal (before discounts).","type":"string","context":["view","edit"]},"subtotal_tax":{"description":"Line subtotal tax (before discounts).","type":"string","context":["view","edit"],"readonly":true},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"]},"total":{"description":"Tax total.","type":"string","context":["view","edit"]},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"]}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"instance_id":{"description":"Shipping instance ID.","type":"string","context":["view","edit"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"tax_class":{"description":"Tax class of fee.","type":"string","context":["view","edit"]},"tax_status":{"description":"Tax status of fee.","type":"string","context":["view","edit"],"enum":["taxable","none"]},"total":{"description":"Line total (after discounts).","type":"string","context":["view","edit"]},"total_tax":{"description":"Line total tax (after discounts).","type":"string","context":["view","edit"],"readonly":true},"taxes":{"description":"Line taxes.","type":"array","context":["view","edit"],"readonly":true,"items":{"type":"object","properties":{"id":{"description":"Tax rate ID.","type":"integer","context":["view","edit"],"readonly":true},"total":{"description":"Tax total.","type":"string","context":["view","edit"],"readonly":true},"subtotal":{"description":"Tax subtotal.","type":"string","context":["view","edit"],"readonly":true}}}},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"],"readonly":true},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/orders\/batch"}]}},"\/wc\/v3\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v3\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v3\/products\/attributes":{"namespace":"wc\/v3","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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"default":"select","enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"default":"menu_order","enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/attributes"}]}},"\/wc\/v3\/products\/attributes\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/products\/attributes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select","color","label"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/attributes\/batch"}]}},"\/wc\/v3\/products\/categories":{"namespace":"wc\/v3","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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"default":"default","enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/categories"}]}},"\/wc\/v3\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/products\/categories\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/categories\/batch"}]}},"\/wc\/v3\/products\/reviews":{"namespace":"wc\/v3","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 reviews 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_gmt","enum":["date","date_gmt","id","include","product"],"description":"Sort collection by object attribute.","type":"string"},"reviewer":{"required":false,"description":"Limit result set to reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"}},"reviewer_exclude":{"required":false,"description":"Ensure result set excludes reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"}},"reviewer_email":{"required":false,"description":"Limit result set to that from a specific author email.","type":"string"},"product":{"required":false,"default":[],"description":"Limit result set to reviews assigned to specific product IDs.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"approved","enum":["all","hold","approved","spam","trash"],"description":"Limit result set to reviews assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":true,"description":"Unique identifier for the product.","type":"integer"},"status":{"required":false,"default":"approved","enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":true,"description":"Name of the reviewer.","type":"string"},"reviewer_email":{"required":true,"description":"Email of the reviewer.","type":"string"},"review":{"required":true,"description":"Review content.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/reviews"}]}},"\/wc\/v3\/products\/reviews\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"product_id":{"required":false,"description":"Unique identifier for the product that the review belongs to.","type":"integer"},"status":{"required":false,"enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":false,"description":"Reviewer name.","type":"string"},"reviewer_email":{"required":false,"description":"Reviewer email.","type":"string"},"review":{"required":false,"description":"The content of the review.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/products\/reviews\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the product that the review belongs to.","type":"integer"},"status":{"required":false,"enum":["approved","hold","spam","unspam","trash","untrash"],"description":"Status of the review.","type":"string"},"reviewer":{"required":false,"description":"Reviewer name.","type":"string"},"reviewer_email":{"required":false,"description":"Reviewer email.","type":"string"},"review":{"required":false,"description":"The content of the review.","type":"string"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/reviews\/batch"}]}},"\/wc\/v3\/products\/shipping_classes":{"namespace":"wc\/v3","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/shipping_classes"}]}},"\/wc\/v3\/products\/shipping_classes\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/products\/shipping_classes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/shipping_classes\/batch"}]}},"\/wc\/v3\/products\/tags":{"namespace":"wc\/v3","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/tags"}]}},"\/wc\/v3\/products\/tags\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/products\/tags\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/tags\/batch"}]}},"\/wc\/v3\/products":{"namespace":"wc\/v3","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","modified","menu_order","price","popularity","rating"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products"}]}},"\/wc\/v3\/products\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/products\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"date_created":{"required":false,"description":"The date the product was created, in the site's timezone.","type":["null","string"]},"date_created_gmt":{"required":false,"description":"The date the product was created, as GMT.","type":["null","string"]},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish","future"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalog visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":["null","string"],"context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":["null","string"],"context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","items":{"type":"string"},"context":["view","edit"]}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/products\/batch"}]}},"\/wc\/v3\/products\/(?P<product_id>[\\d]+)\/variations":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"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","modified","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","future","trash","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"tax_class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Limit result set to products with a specific tax class.","type":"string"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Limit result set to products with specified stock status.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"default":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"default":"instock","enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}]},"\/wc\/v3\/products\/(?P<product_id>[\\d]+)\/variations\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/products\/(?P<product_id>[\\d]+)\/variations\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Variation status.","type":"string"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File ID.","type":"string","context":["view","edit"]},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"stock_status":{"required":false,"enum":["instock","outofstock","onbackorder"],"description":"Controls the stock status of the product.","type":"string"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if backorders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (lbs).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":["null","object","string","number","boolean","integer","array"],"context":["view","edit"]}}}}}}]},"\/wc\/v3\/reports\/sales":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/sales"}]}},"\/wc\/v3\/reports\/top_sellers":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/top_sellers"}]}},"\/wc\/v3\/reports\/orders\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/orders\/totals"}]}},"\/wc\/v3\/reports\/products\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/products\/totals"}]}},"\/wc\/v3\/reports\/customers\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/customers\/totals"}]}},"\/wc\/v3\/reports\/coupons\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/coupons\/totals"}]}},"\/wc\/v3\/reports\/reviews\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports\/reviews\/totals"}]}},"\/wc\/v3\/reports":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/reports"}]}},"\/wc\/v3\/settings":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/settings"}]}},"\/wc\/v3\/settings\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/settings\/batch"}]}},"\/wc\/v3\/settings\/(?P<group_id>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"}}}]},"\/wc\/v3\/settings\/(?P<group_id>[\\w-]+)\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc\/v3\/settings\/(?P<group_id>[\\w-]+)\/(?P<id>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"value":{"required":false,"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"]}}}]},"\/wc\/v3\/shipping\/zones":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"required":true,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/shipping\/zones"}]}},"\/wc\/v3\/shipping\/zones\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/shipping\/zones\/(?P<id>[\\d]+)\/locations":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"code":{"required":false,"description":"Shipping zone location code.","type":"string"},"type":{"required":false,"enum":["postcode","state","country","continent"],"description":"Shipping zone location type.","type":"string"}}}]},"\/wc\/v3\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"}}},{"methods":["POST"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"},"method_id":{"required":true,"description":"Shipping method ID."}}}]},"\/wc\/v3\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods\/(?P<instance_id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"}}},{"methods":["DELETE"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean"}}}]},"\/wc\/v3\/taxes\/classes":{"namespace":"wc\/v3","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"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Tax class name.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/taxes\/classes"}]}},"\/wc\/v3\/taxes\/classes\/(?P<slug>\\w[\\w\\s\\-]*)":{"namespace":"wc\/v3","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"required":false,"description":"Unique slug for the resource.","type":"string"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/taxes":{"namespace":"wc\/v3","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"},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"order","enum":["id","order"],"description":"Sort collection by object attribute.","type":"string"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Sort by tax class.","type":"string"}}},{"methods":["POST"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"default":1,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"default":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"default":"standard","enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/taxes"}]}},"\/wc\/v3\/taxes\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/taxes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/taxes\/batch"}]}},"\/wc\/v3\/webhooks":{"namespace":"wc\/v3","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","title"],"description":"Sort collection by object attribute.","type":"string"},"status":{"required":false,"default":"all","enum":["all","active","paused","disabled"],"description":"Limit result set to webhooks assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"default":"active","enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":true,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"},"delivery_url":{"required":true,"description":"Webhook delivery URL.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/webhooks"}]}},"\/wc\/v3\/webhooks\/(?P<id>[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support trashing.","type":"boolean"}}}]},"\/wc\/v3\/webhooks\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/webhooks\/batch"}]}},"\/wc\/v3\/system_status":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/system_status"}]}},"\/wc\/v3\/system_status\/tools":{"namespace":"wc\/v3","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/system_status\/tools"}]}},"\/wc\/v3\/system_status\/tools\/(?P<id>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"A unique identifier for the tool.","type":"string"},"name":{"required":false,"description":"Tool name.","type":"string"},"action":{"required":false,"description":"What running the tool will do.","type":"string"},"description":{"required":false,"description":"Tool description.","type":"string"},"success":{"required":false,"description":"Did the tool run successfully?","type":"boolean"},"message":{"required":false,"description":"Tool return message.","type":"string"}}}]},"\/wc\/v3\/shipping_methods":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/shipping_methods"}]}},"\/wc\/v3\/shipping_methods\/(?P<id>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v3\/payment_gateways":{"namespace":"wc\/v3","methods":["GET"],"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"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/payment_gateways"}]}},"\/wc\/v3\/payment_gateways\/(?P<id>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"title":{"required":false,"description":"Payment gateway title on checkout.","type":"string"},"description":{"required":false,"description":"Payment gateway description on checkout.","type":"string"},"order":{"required":false,"description":"Payment gateway sort order.","type":"integer"},"enabled":{"required":false,"description":"Payment gateway enabled status.","type":"boolean"},"settings":{"required":false,"description":"Payment gateway settings.","type":"object"}}}]},"\/wc\/v3\/data":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/data"}]}},"\/wc\/v3\/data\/continents":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/data\/continents"}]}},"\/wc\/v3\/data\/continents\/(?P<location>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"continent":{"required":false,"description":"2 character continent code.","type":"string"}}}]},"\/wc\/v3\/data\/countries":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/data\/countries"}]}},"\/wc\/v3\/data\/countries\/(?P<location>[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"required":false,"description":"ISO3166 alpha-2 country code.","type":"string"}}}]},"\/wc\/v3\/data\/currencies":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/data\/currencies"}]}},"\/wc\/v3\/data\/currencies\/current":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wc\/v3\/data\/currencies\/current"}]}},"\/wc\/v3\/data\/currencies\/(?P<currency>[\\w-]{3})":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"required":false,"description":"ISO4217 currency code.","type":"string"}}}]},"\/wccom-site\/v1":{"namespace":"wccom-site\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wccom-site\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wccom-site\/v1"}]}},"\/wccom-site\/v1\/installer":{"namespace":"wccom-site\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"products":{"required":true,"type":"object"}}},{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wccom-site\/v1\/installer"}]}},"\/wp\/v2":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wp\/v2"},"context":{"required":false,"default":"view"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2"}]}},"\/wp\/v2\/posts":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"author":{"required":false,"default":[],"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"author_exclude":{"required":false,"default":[],"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}},"tax_relation":{"required":false,"enum":["AND","OR"],"description":"Limit result set based on relationship between multiple taxonomies.","type":"string"},"categories":{"required":false,"default":[],"description":"Limit result set to all items that have the specified term assigned in the categories taxonomy.","type":"array","items":{"type":"integer"}},"categories_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those that have the specified term assigned in the categories taxonomy.","type":"array","items":{"type":"integer"}},"tags":{"required":false,"default":[],"description":"Limit result set to all items that have the specified term assigned in the tags taxonomy.","type":"array","items":{"type":"integer"}},"tags_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those that have the specified term assigned in the tags taxonomy.","type":"array","items":{"type":"integer"}},"sticky":{"required":false,"description":"Limit result set to items that are sticky.","type":"boolean"}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"format":{"required":false,"enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"description":"The format for the object.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"sticky":{"required":false,"description":"Whether or not the object should be treated as sticky.","type":"boolean"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"categories":{"required":false,"description":"The terms assigned to the object in the category taxonomy.","type":"array","items":{"type":"integer"}},"tags":{"required":false,"description":"The terms assigned to the object in the post_tag taxonomy.","type":"array","items":{"type":"integer"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/posts"}]}},"\/wp\/v2\/posts\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"format":{"required":false,"enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"description":"The format for the object.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"sticky":{"required":false,"description":"Whether or not the object should be treated as sticky.","type":"boolean"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"categories":{"required":false,"description":"The terms assigned to the object in the category taxonomy.","type":"array","items":{"type":"integer"}},"tags":{"required":false,"description":"The terms assigned to the object in the post_tag taxonomy.","type":"array","items":{"type":"integer"}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/posts\/(?P<parent>[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","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,"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"},"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","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"}}}]},"\/wp\/v2\/posts\/(?P<parent>[\\d]+)\/revisions\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as revisions do not support trashing.","type":"boolean"}}}]},"\/wp\/v2\/posts\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"format":{"required":false,"enum":["standard","aside","chat","gallery","link","image","quote","status","video","audio"],"description":"The format for the object.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"sticky":{"required":false,"description":"Whether or not the object should be treated as sticky.","type":"boolean"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"categories":{"required":false,"description":"The terms assigned to the object in the category taxonomy.","type":"array","items":{"type":"integer"}},"tags":{"required":false,"description":"The terms assigned to the object in the post_tag taxonomy.","type":"array","items":{"type":"integer"}}}}]},"\/wp\/v2\/posts\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/pages":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"author":{"required":false,"default":[],"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"author_exclude":{"required":false,"default":[],"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"before":{"required":false,"description":"Limit response to posts 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"}},"menu_order":{"required":false,"description":"Limit result set to posts with a specific menu_order value.","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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title","menu_order"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to items with particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"menu_order":{"required":false,"description":"The order of the object in relation to other object of its type.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/pages"}]}},"\/wp\/v2\/pages\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"menu_order":{"required":false,"description":"The order of the object in relation to other object of its type.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/pages\/(?P<parent>[\\d]+)\/revisions":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","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,"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"},"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","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"}}}]},"\/wp\/v2\/pages\/(?P<parent>[\\d]+)\/revisions\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as revisions do not support trashing.","type":"boolean"}}}]},"\/wp\/v2\/pages\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"menu_order":{"required":false,"description":"The order of the object in relation to other object of its type.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}]},"\/wp\/v2\/pages\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/media":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"author":{"required":false,"default":[],"description":"Limit result set to posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"author_exclude":{"required":false,"default":[],"description":"Ensure result set excludes posts assigned to specific authors.","type":"array","items":{"type":"integer"}},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to items with particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"inherit","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["inherit","private","trash"],"type":"string"}},"media_type":{"required":false,"enum":["image","video","text","application","audio","font"],"description":"Limit result set to attachments of a particular media type.","type":"string"},"mime_type":{"required":false,"description":"Limit result set to attachments of a particular MIME type.","type":"string"}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"alt_text":{"required":false,"description":"Alternative text to display when attachment is not displayed.","type":"string"},"caption":{"required":false,"description":"The attachment caption.","type":"object"},"description":{"required":false,"description":"The attachment description.","type":"object"},"post":{"required":false,"description":"The ID for the associated post of the attachment.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/media"}]}},"\/wp\/v2\/media\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"author":{"required":false,"description":"The ID for the author of the object.","type":"integer"},"comment_status":{"required":false,"enum":["open","closed"],"description":"Whether or not comments are open on the object.","type":"string"},"ping_status":{"required":false,"enum":["open","closed"],"description":"Whether or not the object can be pinged.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"alt_text":{"required":false,"description":"Alternative text to display when attachment is not displayed.","type":"string"},"caption":{"required":false,"description":"The attachment caption.","type":"object"},"description":{"required":false,"description":"The attachment description.","type":"object"},"post":{"required":false,"description":"The ID for the associated post of the attachment.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/media\/(?P<id>[\\d]+)\/post-process":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"action":{"required":true,"enum":["create-image-subsizes"],"type":"string"}}}]},"\/wp\/v2\/media\/(?P<id>[\\d]+)\/edit":{"namespace":"wp\/v2","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"rotation":{"required":false,"description":"The amount to rotate the image clockwise in degrees.","type":"integer"},"x":{"required":false,"description":"As a percentage of the image, the x position to start the crop from.","type":"number"},"y":{"required":false,"description":"As a percentage of the image, the y position to start the crop from.","type":"number"},"width":{"required":false,"description":"As a percentage of the image, the width to crop the image to.","type":"number"},"height":{"required":false,"description":"As a percentage of the image, the height to crop the image to.","type":"number"},"src":{"required":true,"description":"URL to the edited image file.","type":"string"}}}]},"\/wp\/v2\/blocks":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/blocks"}]}},"\/wp\/v2\/blocks\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/blocks\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}]},"\/wp\/v2\/blocks\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/product":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/product"}]}},"\/wp\/v2\/product\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/product\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"excerpt":{"required":false,"description":"The excerpt for the object.","type":"object"},"featured_media":{"required":false,"description":"The ID of the featured media for the object.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}]},"\/wp\/v2\/product\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/wishlist":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"wishlist_type":{"required":false,"description":"List Type.","type":"string"},"wishlist_sharing":{"required":false,"description":"List Sharing Status.","type":"string"},"wishlist_status":{"required":false,"description":"List Status.","type":"string"},"wishlist_first_name":{"required":false,"description":"List Owner First Name.","type":"string"},"wishlist_last_name":{"required":false,"description":"List Owner Last Name.","type":"string"},"wishlist_url":{"required":false,"description":"Public View URL.","type":"string"},"wishlist_owner":{"required":false,"description":"List Owner ID.","type":"string"},"wishlist_owner_email":{"required":false,"description":"List Owner Email.","type":"string"},"items":{"required":false,"description":"The list items.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/wishlist"}]}},"\/wp\/v2\/wishlist\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"wishlist_type":{"required":false,"description":"List Type.","type":"string"},"wishlist_sharing":{"required":false,"description":"List Sharing Status.","type":"string"},"wishlist_status":{"required":false,"description":"List Status.","type":"string"},"wishlist_first_name":{"required":false,"description":"List Owner First Name.","type":"string"},"wishlist_last_name":{"required":false,"description":"List Owner Last Name.","type":"string"},"wishlist_url":{"required":false,"description":"Public View URL.","type":"string"},"wishlist_owner":{"required":false,"description":"List Owner ID.","type":"string"},"wishlist_owner_email":{"required":false,"description":"List Owner Email.","type":"string"},"items":{"required":false,"description":"The list items.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/wishlist\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"},"wishlist_type":{"required":false,"description":"List Type.","type":"string"},"wishlist_sharing":{"required":false,"description":"List Sharing Status.","type":"string"},"wishlist_status":{"required":false,"description":"List Status.","type":"string"},"wishlist_first_name":{"required":false,"description":"List Owner First Name.","type":"string"},"wishlist_last_name":{"required":false,"description":"List Owner Last Name.","type":"string"},"wishlist_url":{"required":false,"description":"Public View URL.","type":"string"},"wishlist_owner":{"required":false,"description":"List Owner ID.","type":"string"},"wishlist_owner_email":{"required":false,"description":"List Owner Email.","type":"string"},"items":{"required":false,"description":"The list items.","type":"string"}}}]},"\/wp\/v2\/wishlist\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/block":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 posts published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to posts 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":["author","date","id","include","modified","parent","relevance","slug","include_slugs","title"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to posts with one or more specific slugs.","type":"array","items":{"type":"string"}},"status":{"required":false,"default":"publish","description":"Limit result set to posts assigned one or more statuses.","type":"array","items":{"enum":["publish","future","draft","pending","private","trash","auto-draft","inherit","request-pending","request-confirmed","request-failed","request-completed","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed","any"],"type":"string"}}}},{"methods":["POST"],"args":{"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/block"}]}},"\/wp\/v2\/block\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"}}}]},"\/wp\/v2\/block\/(?P<id>[\\d]+)\/autosaves":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":["string","null"]},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":["string","null"]},"slug":{"required":false,"description":"An alphanumeric identifier for the object unique to its type.","type":"string"},"status":{"required":false,"enum":["publish","future","draft","pending","private","wc-pending","wc-processing","wc-on-hold","wc-completed","wc-cancelled","wc-refunded","wc-failed"],"description":"A named status for the object.","type":"string"},"password":{"required":false,"description":"A password to protect access to the content and excerpt.","type":"string"},"title":{"required":false,"description":"The title for the object.","type":"object"},"content":{"required":false,"description":"The content for the object.","type":"object"},"template":{"required":false,"description":"The theme file to use to display the object.","type":"string"}}}]},"\/wp\/v2\/block\/(?P<parent>[\\d]+)\/autosaves\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"id":{"required":false,"description":"The ID for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/types"}]}},"\/wp\/v2\/types\/(?P<type>[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"type":{"required":false,"description":"An alphanumeric identifier for the post type.","type":"string"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/statuses":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/statuses"}]}},"\/wp\/v2\/statuses\/(?P<status>[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"status":{"required":false,"description":"An alphanumeric identifier for the status.","type":"string"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/taxonomies":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"type":{"required":false,"description":"Limit results to taxonomies associated with a specific post type.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/taxonomies"}]}},"\/wp\/v2\/taxonomies\/(?P<taxonomy>[\\w-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"taxonomy":{"required":false,"description":"An alphanumeric identifier for the taxonomy.","type":"string"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/categories":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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"},"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"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"description":"Sort collection by term attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide terms not assigned to any posts.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to terms assigned to a specific parent.","type":"integer"},"post":{"required":false,"description":"Limit result set to terms assigned to a specific post.","type":"integer"},"slug":{"required":false,"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"}}}},{"methods":["POST"],"args":{"description":{"required":false,"description":"HTML description of the term.","type":"string"},"name":{"required":true,"description":"HTML title for the term.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the term unique to its type.","type":"string"},"parent":{"required":false,"description":"The parent term ID.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/categories"}]}},"\/wp\/v2\/categories\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"description":{"required":false,"description":"HTML description of the term.","type":"string"},"name":{"required":false,"description":"HTML title for the term.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the term unique to its type.","type":"string"},"parent":{"required":false,"description":"The parent term ID.","type":"integer"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as terms do not support trashing.","type":"boolean"}}}]},"\/wp\/v2\/tags":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","include_slugs","term_group","description","count"],"description":"Sort collection by term attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide terms not assigned to any posts.","type":"boolean"},"post":{"required":false,"description":"Limit result set to terms assigned to a specific post.","type":"integer"},"slug":{"required":false,"description":"Limit result set to terms with one or more specific slugs.","type":"array","items":{"type":"string"}}}},{"methods":["POST"],"args":{"description":{"required":false,"description":"HTML description of the term.","type":"string"},"name":{"required":true,"description":"HTML title for the term.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the term unique to its type.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/tags"}]}},"\/wp\/v2\/tags\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"description":{"required":false,"description":"HTML description of the term.","type":"string"},"name":{"required":false,"description":"HTML title for the term.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the term unique to its type.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the term.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as terms do not support trashing.","type":"boolean"}}}]},"\/wp\/v2\/users":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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"},"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":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","registered_date","slug","include_slugs","email","url"],"description":"Sort collection by object attribute.","type":"string"},"slug":{"required":false,"description":"Limit result set to users with one or more specific slugs.","type":"array","items":{"type":"string"}},"roles":{"required":false,"description":"Limit result set to users matching at least one specific role provided. Accepts csv list or single role.","type":"array","items":{"type":"string"}},"who":{"required":false,"enum":["authors"],"description":"Limit result set to users who are considered authors.","type":"string"}}},{"methods":["POST"],"args":{"username":{"required":true,"description":"Login name for the user.","type":"string"},"name":{"required":false,"description":"Display name for the user.","type":"string"},"first_name":{"required":false,"description":"First name for the user.","type":"string"},"last_name":{"required":false,"description":"Last name for the user.","type":"string"},"email":{"required":true,"description":"The email address for the user.","type":"string"},"url":{"required":false,"description":"URL of the user.","type":"string"},"description":{"required":false,"description":"Description of the user.","type":"string"},"locale":{"required":false,"enum":["","en_US"],"description":"Locale for the user.","type":"string"},"nickname":{"required":false,"description":"The nickname for the user.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the user.","type":"string"},"roles":{"required":false,"description":"Roles assigned to the user.","type":"array","items":{"type":"string"}},"password":{"required":true,"description":"Password for the user (never included).","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/users"}]}},"\/wp\/v2\/users\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the user.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the user.","type":"integer"},"username":{"required":false,"description":"Login name for the user.","type":"string"},"name":{"required":false,"description":"Display name for the user.","type":"string"},"first_name":{"required":false,"description":"First name for the user.","type":"string"},"last_name":{"required":false,"description":"Last name for the user.","type":"string"},"email":{"required":false,"description":"The email address for the user.","type":"string"},"url":{"required":false,"description":"URL of the user.","type":"string"},"description":{"required":false,"description":"Description of the user.","type":"string"},"locale":{"required":false,"enum":["","en_US"],"description":"Locale for the user.","type":"string"},"nickname":{"required":false,"description":"The nickname for the user.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the user.","type":"string"},"roles":{"required":false,"description":"Roles assigned to the user.","type":"array","items":{"type":"string"}},"password":{"required":false,"description":"Password for the user (never included).","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the user.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as users do not support trashing.","type":"boolean"},"reassign":{"required":true,"description":"Reassign the deleted user's posts and links to this user ID.","type":"integer"}}}]},"\/wp\/v2\/users\/me":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"username":{"required":false,"description":"Login name for the user.","type":"string"},"name":{"required":false,"description":"Display name for the user.","type":"string"},"first_name":{"required":false,"description":"First name for the user.","type":"string"},"last_name":{"required":false,"description":"Last name for the user.","type":"string"},"email":{"required":false,"description":"The email address for the user.","type":"string"},"url":{"required":false,"description":"URL of the user.","type":"string"},"description":{"required":false,"description":"Description of the user.","type":"string"},"locale":{"required":false,"enum":["","en_US"],"description":"Locale for the user.","type":"string"},"nickname":{"required":false,"description":"The nickname for the user.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the user.","type":"string"},"roles":{"required":false,"description":"Roles assigned to the user.","type":"array","items":{"type":"string"}},"password":{"required":false,"description":"Password for the user (never included).","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}},{"methods":["DELETE"],"args":{"force":{"required":false,"default":false,"description":"Required to be true, as users do not support trashing.","type":"boolean"},"reassign":{"required":true,"description":"Reassign the deleted user's posts and links to this user ID.","type":"integer"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/users\/me"}]}},"\/wp\/v2\/comments":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","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 comments published after a given ISO8601 compliant date.","type":"string"},"author":{"required":false,"description":"Limit result set to comments assigned to specific user IDs. Requires authorization.","type":"array","items":{"type":"integer"}},"author_exclude":{"required":false,"description":"Ensure result set excludes comments assigned to specific user IDs. Requires authorization.","type":"array","items":{"type":"integer"}},"author_email":{"required":false,"description":"Limit result set to that from a specific author email. Requires authorization.","type":"string"},"before":{"required":false,"description":"Limit response to comments 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_gmt","enum":["date","date_gmt","id","include","post","parent","type"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to comments of specific parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific parent IDs.","type":"array","items":{"type":"integer"}},"post":{"required":false,"default":[],"description":"Limit result set to comments assigned to specific post IDs.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"approve","description":"Limit result set to comments assigned a specific status. Requires authorization.","type":"string"},"type":{"required":false,"default":"comment","description":"Limit result set to comments assigned a specific type. Requires authorization.","type":"string"},"password":{"required":false,"description":"The password for the post if it is password protected.","type":"string"}}},{"methods":["POST"],"args":{"author":{"required":false,"description":"The ID of the user object, if author was a user.","type":"integer"},"author_email":{"required":false,"description":"Email address for the object author.","type":"string"},"author_ip":{"required":false,"description":"IP address for the object author.","type":"string"},"author_name":{"required":false,"description":"Display name for the object author.","type":"string"},"author_url":{"required":false,"description":"URL for the object author.","type":"string"},"author_user_agent":{"required":false,"description":"User agent for the object author.","type":"string"},"content":{"required":false,"description":"The content for the object.","type":"object"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":"string"},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":"string"},"parent":{"required":false,"default":0,"description":"The ID for the parent of the object.","type":"integer"},"post":{"required":false,"default":0,"description":"The ID of the associated post object.","type":"integer"},"status":{"required":false,"description":"State of the object.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/comments"}]}},"\/wp\/v2\/comments\/(?P<id>[\\d]+)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"password":{"required":false,"description":"The password for the parent post of the comment (if the post is password protected).","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"author":{"required":false,"description":"The ID of the user object, if author was a user.","type":"integer"},"author_email":{"required":false,"description":"Email address for the object author.","type":"string"},"author_ip":{"required":false,"description":"IP address for the object author.","type":"string"},"author_name":{"required":false,"description":"Display name for the object author.","type":"string"},"author_url":{"required":false,"description":"URL for the object author.","type":"string"},"author_user_agent":{"required":false,"description":"User agent for the object author.","type":"string"},"content":{"required":false,"description":"The content for the object.","type":"object"},"date":{"required":false,"description":"The date the object was published, in the site's timezone.","type":"string"},"date_gmt":{"required":false,"description":"The date the object was published, as GMT.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the object.","type":"integer"},"post":{"required":false,"description":"The ID of the associated post object.","type":"integer"},"status":{"required":false,"description":"State of the object.","type":"string"},"meta":{"required":false,"description":"Meta fields.","type":"object"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the object.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass Trash and force deletion.","type":"boolean"},"password":{"required":false,"description":"The password for the parent post of the comment (if the post is password protected).","type":"string"}}}]},"\/wp\/v2\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed"],"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"},"type":{"required":false,"default":"post","enum":["post"],"description":"Limit results to items of an object type.","type":"string"},"subtype":{"required":false,"default":"any","description":"Limit results to items of one or more object subtypes.","type":"array","items":{"enum":["post","page","product","wishlist","block","any"],"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/search"}]}},"\/wp\/v2\/block-renderer\/(?P<name>[a-z0-9-]+\/[a-z0-9-]+)":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET","POST"],"args":{"name":{"required":false,"description":"Unique registered name for the block.","type":"string"},"context":{"required":false,"default":"view","enum":["edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"attributes":{"required":false,"default":[],"description":"Attributes for the block","type":"object"},"post_id":{"required":false,"description":"ID of the post context.","type":"integer"}}}]},"\/wp\/v2\/block-types":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"namespace":{"required":false,"description":"Block namespace.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/block-types"}]}},"\/wp\/v2\/block-types\/(?P<namespace>[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"namespace":{"required":false,"description":"Block namespace.","type":"string"}}}]},"\/wp\/v2\/block-types\/(?P<namespace>[a-zA-Z0-9_-]+)\/(?P<name>[a-zA-Z0-9_-]+)":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"name":{"required":false,"description":"Block name","type":"string"},"namespace":{"required":false,"description":"Block namespace","type":"string"},"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wp\/v2\/settings":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"title":{"required":false,"description":"Site title.","type":"string"},"description":{"required":false,"description":"Site tagline.","type":"string"},"url":{"required":false,"description":"Site URL.","type":"string"},"email":{"required":false,"description":"This address is used for admin purposes, like new user notification.","type":"string"},"timezone":{"required":false,"description":"A city in the same timezone as you.","type":"string"},"date_format":{"required":false,"description":"A date format for all date strings.","type":"string"},"time_format":{"required":false,"description":"A time format for all time strings.","type":"string"},"start_of_week":{"required":false,"description":"A day number of the week that the week should start on.","type":"integer"},"language":{"required":false,"description":"WordPress locale code.","type":"string"},"use_smilies":{"required":false,"description":"Convert emoticons like :-) and :-P to graphics on display.","type":"boolean"},"default_category":{"required":false,"description":"Default post category.","type":"integer"},"default_post_format":{"required":false,"description":"Default post format.","type":"string"},"posts_per_page":{"required":false,"description":"Blog pages show at most.","type":"integer"},"default_ping_status":{"required":false,"enum":["open","closed"],"description":"Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.","type":"string"},"default_comment_status":{"required":false,"enum":["open","closed"],"description":"Allow people to submit comments on new posts.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/settings"}]}},"\/wp\/v2\/themes":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"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"},"status":{"required":true,"description":"Limit result set to themes assigned one or more statuses.","type":"array","items":{"enum":["active"],"type":"string"}}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/themes"}]}},"\/wp\/v2\/plugins":{"namespace":"wp\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"status":{"required":false,"description":"Limits results to plugins with the given status.","type":"array","items":{"type":"string","enum":["inactive","active"]}}}},{"methods":["POST"],"args":{"slug":{"required":true,"description":"WordPress.org plugin directory slug.","type":"string"},"status":{"required":false,"default":"inactive","enum":["inactive","active"],"description":"The plugin activation status.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/plugins"}]}},"\/wp\/v2\/plugins\/(?P<plugin>[^.\\\/]+(?:\\\/[^.\\\/]+)?)":{"namespace":"wp\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"plugin":{"required":false,"type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"plugin":{"required":false,"type":"string"},"status":{"required":false,"enum":["inactive","active"],"description":"The plugin activation status.","type":"string"}}},{"methods":["DELETE"],"args":{"context":{"required":false,"default":"view","enum":["view","embed","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"plugin":{"required":false,"type":"string"}}}]},"\/wp\/v2\/block-directory\/search":{"namespace":"wp\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"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"},"term":{"required":true,"description":"Limit result set to blocks matching the search term.","type":"string"}}}],"_links":{"self":[{"href":"https:\/\/shop.peakrefreshments.com\/wp-json\/wp\/v2\/block-directory\/search"}]}}},"_links":{"help":[{"href":"http:\/\/v2.wp-api.org\/"}]}}