{"namespace":"wc\/v3","routes":{"\/wc\/v3":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wc\/v3","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3"}]}},"\/wc\/v3\/marketplace\/featured":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/marketplace/featured"}]}},"\/wc\/v3\/marketplace\/refresh":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"wc/v3/marketplace/refresh"}]}},"\/wc\/v3\/marketplace\/subscriptions":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/marketplace/subscriptions"}]}},"\/wc\/v3\/marketplace\/subscriptions\/connect":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"product_key":{"type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/marketplace/subscriptions/connect"}]}},"\/wc\/v3\/marketplace\/subscriptions\/disconnect":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"product_key":{"type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/marketplace/subscriptions/disconnect"}]}},"\/wc\/v3\/marketplace\/subscriptions\/activate":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"product_key":{"type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/marketplace/subscriptions/activate"}]}},"\/wc\/v3\/marketplace\/subscriptions\/install-url":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"product_key":{"type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/marketplace/subscriptions/install-url"}]}},"\/wc\/v3\/marketplace\/create-order":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"product_id":{"required":true}}}],"_links":{"self":[{"href":"wc/v3/marketplace/create-order"}]}},"\/wc\/v3\/brands":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Brand name.","type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/brands"}]}},"\/wc\/v3\/brands\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/brands\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"wc/v3/brands/batch"}]}},"\/wc\/v3\/coupons":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"code":{"description":"Limit result set to resources with a specific code.","type":"string","required":false}}},{"methods":["POST"],"args":{"code":{"description":"Coupon code.","type":"string","required":true},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"status":{"description":"The status of the coupon. Should always be draft, published, or pending review","type":"string","required":false},"discount_type":{"default":"fixed_cart","description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"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"]}}},"required":false}}}],"_links":{"self":[{"href":"wc/v3/coupons"}]}},"\/wc\/v3\/coupons\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"status":{"description":"The status of the coupon. Should always be draft, published, or pending review","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"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"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/coupons\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"description":"Coupon code.","type":"string","required":false},"amount":{"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string","required":false},"status":{"description":"The status of the coupon. Should always be draft, published, or pending review","type":"string","required":false},"discount_type":{"description":"Determines the type of discount that will be applied.","type":"string","enum":["percent","fixed_cart","fixed_product"],"required":false},"description":{"description":"Coupon description.","type":"string","required":false},"date_expires":{"description":"The date the coupon expires, in the site's timezone.","type":["null","string"],"required":false},"date_expires_gmt":{"description":"The date the coupon expires, as GMT.","type":["null","string"],"required":false},"individual_use":{"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.","type":"boolean","required":false},"product_ids":{"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_ids":{"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"},"required":false},"usage_limit":{"description":"How many times the coupon can be used in total.","type":"integer","required":false},"usage_limit_per_user":{"description":"How many times the coupon can be used per customer.","type":"integer","required":false},"limit_usage_to_x_items":{"description":"Max number of items in the cart the coupon can be applied to.","type":"integer","required":false},"free_shipping":{"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean","required":false},"product_categories":{"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"},"required":false},"excluded_product_categories":{"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"},"required":false},"exclude_sale_items":{"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean","required":false},"minimum_amount":{"description":"Minimum order amount that needs to be in the cart before coupon applies.","type":"string","required":false},"maximum_amount":{"description":"Maximum order amount allowed when using the coupon.","type":"string","required":false},"email_restrictions":{"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"},"required":false},"meta_data":{"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"]}}},"required":false}}}],"_links":{"self":[{"href":"wc/v3/coupons/batch"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)\/downloads":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v3\/customers":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"name","description":"Sort collection by object attribute.","enum":["id","include","name","registered_date"],"type":"string","required":false},"email":{"description":"Limit result set to resources with a specific email.","type":"string","format":"email","required":false},"role":{"description":"Limit result set to resources with a specific role.","type":"string","default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager","wpseo_manager","wpseo_editor"],"required":false}}},{"methods":["POST"],"args":{"email":{"type":"string","description":"New user email address.","required":true},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"New user username.","type":"string","required":false},"password":{"description":"New user password.","type":"string","required":true},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"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"]}}},"required":false}}}],"_links":{"self":[{"href":"wc/v3/customers"}]}},"\/wc\/v3\/customers\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"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"]}}},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false},"reassign":{"default":0,"type":"integer","description":"ID to reassign posts to.","required":false}}}]},"\/wc\/v3\/customers\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"description":"The email address for the customer.","type":"string","format":"email","required":false},"first_name":{"description":"Customer first name.","type":"string","required":false},"last_name":{"description":"Customer last name.","type":"string","required":false},"username":{"description":"Customer login name.","type":"string","required":false},"password":{"description":"Customer password.","type":"string","required":false},"billing":{"description":"List of billing address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":"string","format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"List of shipping address data.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"ISO code of the country.","type":"string","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"meta_data":{"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"]}}},"required":false}}}],"_links":{"self":[{"href":"wc/v3/customers/batch"}]}},"\/wc\/v3\/layout-templates":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"area":{"description":"Area to get templates for.","type":"string","default":"","required":false}}}],"_links":{"self":[{"href":"wc/v3/layout-templates"}]}},"\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"type":{"default":"any","description":"Limit result to customers or internal notes.","type":"string","enum":["any","customer","internal"],"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"note":{"type":"string","description":"Order note content.","required":true},"customer_note":{"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","required":false},"added_by_user":{"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","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"order_id":{"description":"The order ID.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false},"order_item_display_meta":{"default":false,"description":"Only show meta which is meant to be displayed for an order.","type":"boolean","required":false},"include_meta":{"default":[],"description":"Limit meta_data to specific keys.","type":"array","items":{"type":"string"},"required":false},"exclude_meta":{"default":[],"description":"Ensure meta_data excludes specific keys.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"amount":{"description":"Refund amount.","type":"string","required":false},"reason":{"description":"Reason for refund.","type":"string","required":false},"refunded_by":{"description":"User ID of user who created the refund.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false},"api_refund":{"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean","required":false},"api_restock":{"default":true,"description":"When true, refunded items are restocked.","type":"boolean","required":false}}}]},"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["DELETE"],"args":{"order_id":{"description":"The order ID.","type":"integer","required":false},"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/orders":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"status":{"default":"any","description":"Limit result set to orders which have specific statuses.","type":"array","items":{"type":"string","enum":["any","trash","auto-draft","pending","processing","on-hold","completed","cancelled","refunded","failed","checkout-draft"]},"required":false},"customer":{"description":"Limit result set to orders assigned a specific customer.","type":"integer","required":false},"product":{"description":"Limit result set to orders assigned a specific product.","type":"integer","required":false},"dp":{"default":2,"description":"Number of decimal points to use in each resource.","type":"integer","required":false},"order_item_display_meta":{"default":false,"description":"Only show meta which is meant to be displayed for an order.","type":"boolean","required":false},"include_meta":{"default":[],"description":"Limit meta_data to specific keys.","type":"array","items":{"type":"string"},"required":false},"exclude_meta":{"default":[],"description":"Ensure meta_data excludes specific keys.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["POST"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"default":"pending","description":"Order status.","type":"string","enum":["auto-draft","pending","processing","on-hold","completed","cancelled","refunded","failed","checkout-draft"],"required":false},"currency":{"default":"AED","description":"Currency the order was created with, in ISO format.","type":"string","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","ABC"],"required":false},"customer_id":{"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"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"]}}},"required":false},"line_items":{"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"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","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"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","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},"image":{"description":"Properties of the main product image.","type":"object","context":["view","edit"],"readonly":true,"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]}}}}},"required":false},"shipping_lines":{"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"]}}}}}},"required":false},"fee_lines":{"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"]}}}}}},"required":false},"coupon_lines":{"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"]}}}}}},"required":false},"set_paid":{"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"wc/v3/orders"}]}},"\/wc\/v3\/orders\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["auto-draft","pending","processing","on-hold","completed","cancelled","refunded","failed","checkout-draft"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","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","ABC"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"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"]}}},"required":false},"line_items":{"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"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","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"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","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},"image":{"description":"Properties of the main product image.","type":"object","context":["view","edit"],"readonly":true,"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]}}}}},"required":false},"shipping_lines":{"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"]}}}}}},"required":false},"fee_lines":{"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"]}}}}}},"required":false},"coupon_lines":{"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"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/orders\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent order ID.","type":"integer","required":false},"status":{"description":"Order status.","type":"string","enum":["auto-draft","pending","processing","on-hold","completed","cancelled","refunded","failed","checkout-draft"],"required":false},"currency":{"description":"Currency the order was created with, in ISO format.","type":"string","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","ABC"],"required":false},"customer_id":{"description":"User ID who owns the order. 0 for guests.","type":"integer","required":false},"customer_note":{"description":"Note left by customer during checkout.","type":"string","required":false},"billing":{"description":"Billing address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]},"email":{"description":"Email address.","type":["string","null"],"format":"email","context":["view","edit"]},"phone":{"description":"Phone number.","type":"string","context":["view","edit"]}},"required":false},"shipping":{"description":"Shipping address.","type":"object","properties":{"first_name":{"description":"First name.","type":"string","context":["view","edit"]},"last_name":{"description":"Last name.","type":"string","context":["view","edit"]},"company":{"description":"Company name.","type":"string","context":["view","edit"]},"address_1":{"description":"Address line 1","type":"string","context":["view","edit"]},"address_2":{"description":"Address line 2","type":"string","context":["view","edit"]},"city":{"description":"City name.","type":"string","context":["view","edit"]},"state":{"description":"ISO code or name of the state, province or district.","type":"string","context":["view","edit"]},"postcode":{"description":"Postal code.","type":"string","context":["view","edit"]},"country":{"description":"Country code in ISO 3166-1 alpha-2 format.","type":"string","context":["view","edit"]}},"required":false},"payment_method":{"description":"Payment method ID.","type":"string","required":false},"payment_method_title":{"description":"Payment method title.","type":"string","required":false},"transaction_id":{"description":"Unique transaction ID.","type":"string","required":false},"meta_data":{"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"]}}},"required":false},"line_items":{"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"]},"parent_name":{"description":"Parent product name if the product is a variation.","type":"string","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"]},"display_key":{"description":"Meta key for UI display.","type":"string","context":["view","edit"]},"display_value":{"description":"Meta value for UI display.","type":"string","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},"image":{"description":"Properties of the main product image.","type":"object","context":["view","edit"],"readonly":true,"properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]}}}}},"required":false},"shipping_lines":{"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"]}}}}}},"required":false},"fee_lines":{"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"]}}}}}},"required":false},"coupon_lines":{"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"]}}}}}},"required":false},"set_paid":{"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"wc/v3/orders/batch"}]}},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"description":"Unique identifier for the attribute of the terms.","type":"integer","required":false},"name":{"description":"Term name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}]},"\/wc\/v3\/products\/attributes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Name for the resource.","type":"string","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"default":"select","description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"default":"menu_order","description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/attributes"}]}},"\/wc\/v3\/products\/attributes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":true,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/attributes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Attribute name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"type":{"description":"Type of attribute.","type":"string","enum":["select"],"required":false},"order_by":{"description":"Default sort order.","type":"string","enum":["menu_order","name","name_num","id"],"required":false},"has_archives":{"description":"Enable\/Disable attribute archives.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/attributes/batch"}]}},"\/wc\/v3\/products\/categories":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"default":"default","description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","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"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/categories"}]}},"\/wc\/v3\/products\/categories\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","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"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/categories\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Category name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"parent":{"description":"The ID for the parent of the resource.","type":"integer","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false},"display":{"description":"Category archive display type.","type":"string","enum":["default","products","subcategories","both"],"required":false},"image":{"description":"Image data.","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"]}},"required":false},"menu_order":{"description":"Menu order, used to custom sort the resource.","type":"integer","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/categories/batch"}]}},"\/wc\/v3\/products\/reviews":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to reviews published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date_gmt","enum":["date","date_gmt","id","include","product"],"required":false},"reviewer":{"description":"Limit result set to reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_exclude":{"description":"Ensure result set excludes reviews assigned to specific user IDs.","type":"array","items":{"type":"integer"},"required":false},"reviewer_email":{"default":null,"description":"Limit result set to that from a specific author email.","format":"email","type":"string","required":false},"product":{"default":[],"description":"Limit result set to reviews assigned to specific product IDs.","type":"array","items":{"type":"integer"},"required":false},"status":{"default":"approved","description":"Limit result set to reviews assigned a specific status.","type":"string","enum":["all","hold","approved","spam","trash"],"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the product.","type":"integer","required":true},"product_name":{"description":"Product name.","type":"string","required":false},"status":{"default":"approved","description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"type":"string","description":"Name of the reviewer.","required":true},"reviewer_email":{"type":"string","description":"Email of the reviewer.","required":true},"review":{"type":"string","description":"Review content.","required":true},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/reviews"}]}},"\/wc\/v3\/products\/reviews\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"product_name":{"description":"Product name.","type":"string","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/products\/reviews\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the product that the review belongs to.","type":"integer","required":false},"product_name":{"description":"Product name.","type":"string","required":false},"status":{"description":"Status of the review.","type":"string","enum":["approved","hold","spam","unspam","trash","untrash"],"required":false},"reviewer":{"description":"Reviewer name.","type":"string","required":false},"reviewer_email":{"description":"Reviewer email.","type":"string","format":"email","required":false},"review":{"description":"The content of the review.","type":"string","required":false},"rating":{"description":"Review rating (0 to 5).","type":"integer","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/reviews/batch"}]}},"\/wc\/v3\/products\/shipping_classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/shipping_classes"}]}},"\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/shipping_classes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Shipping class name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/shipping_classes/batch"}]}},"\/wc\/v3\/products\/tags":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"asc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by resource attribute.","type":"string","default":"name","enum":["id","include","name","slug","term_group","description","count"],"required":false},"hide_empty":{"description":"Whether to hide resources not assigned to any products.","type":"boolean","default":false,"required":false},"parent":{"description":"Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.","type":"integer","required":false},"product":{"description":"Limit result set to resources assigned to a specific product.","type":"integer","default":null,"required":false},"slug":{"description":"Limit result set to resources with a specific slug.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"type":"string","description":"Name for the resource.","required":true},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/tags"}]}},"\/wc\/v3\/products\/tags\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/products\/tags\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Tag name.","type":"string","required":false},"slug":{"description":"An alphanumeric identifier for the resource unique to its type.","type":"string","required":false},"description":{"description":"HTML description of the resource.","type":"string","required":false}}}],"_links":{"self":[{"href":"wc/v3/products/tags/batch"}]}},"\/wc\/v3\/products":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","popularity","rating","popularity","rating","menu_order","price","popularity","rating"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"include_meta":{"default":[],"description":"Limit meta_data to specific keys.","type":"array","items":{"type":"string"},"required":false},"exclude_meta":{"default":[],"description":"Ensure meta_data excludes specific keys.","type":"array","items":{"type":"string"},"required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"search_sku":{"description":"Limit results to those with a SKU that partial matches a string.","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"default":"simple","description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"default":"publish","description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future","auto-draft","trash"],"required":false},"featured":{"default":false,"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"default":"visible","description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"default":false,"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"default":true,"description":"Allow reviews.","type":"boolean","required":false},"post_password":{"description":"Post password.","type":"string","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"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}}},"required":false},"tags":{"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}}},"required":false},"images":{"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"]}}},"required":false},"attributes":{"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"]}}},"required":false},"default_attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false},"brands":{"description":"Product brands.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"wc/v3/products"}]}},"\/wc\/v3\/products\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future","auto-draft","trash"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"post_password":{"description":"Post password.","type":"string","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"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}}},"required":false},"tags":{"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}}},"required":false},"images":{"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"]}}},"required":false},"attributes":{"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"]}}},"required":false},"default_attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false},"brands":{"description":"Product brands.","type":"array","items":{"type":"integer"},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"description":"Whether to bypass trash and force deletion.","type":"boolean","required":false}}}]},"\/wc\/v3\/products\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Product name.","type":"string","required":false},"slug":{"description":"Product slug.","type":"string","required":false},"date_created":{"description":"The date the product was created, in the site's timezone.","type":["null","string"],"required":false},"date_created_gmt":{"description":"The date the product was created, as GMT.","type":["null","string"],"required":false},"type":{"description":"Product type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"status":{"description":"Product status (post status).","type":"string","enum":["draft","pending","private","publish","future","auto-draft","trash"],"required":false},"featured":{"description":"Featured product.","type":"boolean","required":false},"catalog_visibility":{"description":"Catalog visibility.","type":"string","enum":["visible","catalog","search","hidden"],"required":false},"description":{"description":"Product description.","type":"string","required":false},"short_description":{"description":"Product short description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Product regular price.","type":"string","required":false},"sale_price":{"description":"Product sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"virtual":{"description":"If the product is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the product is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"external_url":{"description":"Product external URL. Only for external products.","type":"string","format":"uri","required":false},"button_text":{"description":"Product external button text. Only for external products.","type":"string","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at product level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the product.","type":["integer","null"],"required":false},"sold_individually":{"description":"Allow one item to be bought in a single order.","type":"boolean","required":false},"weight":{"description":"Product weight (kg).","type":"string","required":false},"dimensions":{"description":"Product dimensions.","type":"object","properties":{"length":{"description":"Product length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Product width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Product height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"reviews_allowed":{"description":"Allow reviews.","type":"boolean","required":false},"post_password":{"description":"Post password.","type":"string","required":false},"upsell_ids":{"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"cross_sell_ids":{"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"},"required":false},"parent_id":{"description":"Product parent ID.","type":"integer","required":false},"purchase_note":{"description":"Optional note to send the customer after purchase.","type":"string","required":false},"categories":{"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}}},"required":false},"tags":{"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}}},"required":false},"images":{"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"]}}},"required":false},"attributes":{"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"]}}},"required":false},"default_attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false},"brands":{"description":"Product brands.","type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"wc/v3/products/batch"}]}},"\/wc\/v3\/products\/suggested-products":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","popularity","rating","popularity","rating","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"type":{"description":"Limit result set to products assigned a specific type.","type":"string","enum":["simple","grouped","external","variable"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"featured":{"description":"Limit result set to featured products.","type":"boolean","required":false},"category":{"description":"Limit result set to products assigned a specific category ID.","type":"string","required":false},"tag":{"description":"Limit result set to products assigned a specific tag ID.","type":"string","required":false},"shipping_class":{"description":"Limit result set to products assigned a specific shipping class ID.","type":"string","required":false},"attribute":{"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string","required":false},"attribute_term":{"description":"Limit result set to products with a specific attribute term ID (required an assigned attribute).","type":"string","required":false},"in_stock":{"description":"Limit result set to products in stock or out of stock.","type":"boolean","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"include_meta":{"default":[],"description":"Limit meta_data to specific keys.","type":"array","items":{"type":"string"},"required":false},"exclude_meta":{"default":[],"description":"Ensure meta_data excludes specific keys.","type":"array","items":{"type":"string"},"required":false},"categories":{"description":"Limit result set to specific product categorie ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"tags":{"description":"Limit result set to specific product tag ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"limit":{"description":"Limit result set to specific amount of suggested products.","type":"integer","default":5,"required":false}}}],"_links":{"self":[{"href":"wc/v3/products/suggested-products"}]}},"\/wc\/v3\/products\/(?P[\\d]+)\/variations":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_after":{"description":"Limit response to resources modified after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"modified_before":{"description":"Limit response to resources modified before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"dates_are_gmt":{"description":"Whether to consider GMT post dates when limiting response by published or modified date.","type":"boolean","default":false,"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","include","title","slug","modified","menu_order"],"required":false},"parent":{"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"parent_exclude":{"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"},"default":[],"required":false},"slug":{"description":"Limit result set to products with a specific slug.","type":"string","required":false},"status":{"default":"any","description":"Limit result set to products assigned a specific status.","type":"string","enum":["any","future","trash","draft","pending","private","publish"],"required":false},"sku":{"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string","required":false},"on_sale":{"description":"Limit result set to products on sale.","type":"boolean","required":false},"min_price":{"description":"Limit result set to products based on a minimum price.","type":"string","required":false},"max_price":{"description":"Limit result set to products based on a maximum price.","type":"string","required":false},"include_meta":{"default":[],"description":"Limit meta_data to specific keys.","type":"array","items":{"type":"string"},"required":false},"exclude_meta":{"default":[],"description":"Ensure meta_data excludes specific keys.","type":"array","items":{"type":"string"},"required":false},"stock_status":{"description":"Limit result set to products with specified stock status.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"has_price":{"description":"Limit result set to products with or without price.","type":"boolean","required":false},"attributes":{"description":"Limit result set to products with specified attributes.","type":"array","items":{"type":"object","properties":{"attribute":{"type":"string","description":"Attribute slug."},"term":{"type":"string","description":"Attribute term."},"terms":{"type":"array","description":"Attribute terms."}}},"required":false}}},{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"default":"publish","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","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"]}},"required":false},"attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","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"]}},"required":false},"attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false}}},{"methods":["DELETE"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"id":{"description":"Unique identifier for the variation.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","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"]}},"required":false},"attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false}}}]},"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate":{"namespace":"wc\/v3","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"product_id":{"description":"Unique identifier for the variable product.","type":"integer","required":false},"delete":{"description":"Deletes unused variations.","type":"boolean","required":false},"default_values":{"description":"Default values for generated variations.","type":"object","properties":{"description":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation description.","type":"string"},"sku":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Unique identifier.","type":"string"},"regular_price":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation regular price.","type":"string"},"sale_price":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation sale price.","type":"string"},"date_on_sale_from":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Start date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_from_gmt":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Start date of sale price, as GMT.","type":["null","string"]},"date_on_sale_to":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"End date of sale price, in the site's timezone.","type":["null","string"]},"date_on_sale_to_gmt":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"End date of sale price, in the site's timezone.","type":["null","string"]},"status":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"]},"virtual":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"If the variation is virtual.","type":"boolean"},"downloadable":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"If the variation is downloadable.","type":"boolean"},"downloads":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","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":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Tax status.","type":"string","enum":["taxable","shipping","none"]},"tax_class":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Tax class.","type":"string"},"manage_stock":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Stock management at variation level.","type":"boolean"},"stock_quantity":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Stock quantity.","type":"integer"},"stock_status":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"]},"backorders":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"]},"low_stock_amount":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Low Stock amount for the variation.","type":["integer","null"]},"weight":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation weight (kg).","type":"string"},"dimensions":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}}},"shipping_class":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Shipping class slug.","type":"string"},"image":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Variation image data.","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":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","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":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"validate_callback":"rest_validate_request_arg","sanitize_callback":"rest_sanitize_request_arg","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"]}}}}},"required":false},"description":{"description":"Variation description.","type":"string","required":false},"sku":{"description":"Unique identifier.","type":"string","required":false},"regular_price":{"description":"Variation regular price.","type":"string","required":false},"sale_price":{"description":"Variation sale price.","type":"string","required":false},"date_on_sale_from":{"description":"Start date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_from_gmt":{"description":"Start date of sale price, as GMT.","type":["null","string"],"required":false},"date_on_sale_to":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"date_on_sale_to_gmt":{"description":"End date of sale price, in the site's timezone.","type":["null","string"],"required":false},"status":{"default":"publish","description":"Variation status.","type":"string","enum":["draft","pending","private","publish"],"required":false},"virtual":{"default":false,"description":"If the variation is virtual.","type":"boolean","required":false},"downloadable":{"default":false,"description":"If the variation is downloadable.","type":"boolean","required":false},"downloads":{"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"]}}},"required":false},"download_limit":{"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer","required":false},"download_expiry":{"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer","required":false},"tax_status":{"default":"taxable","description":"Tax status.","type":"string","enum":["taxable","shipping","none"],"required":false},"tax_class":{"description":"Tax class.","type":"string","required":false},"manage_stock":{"default":false,"description":"Stock management at variation level.","type":"boolean","required":false},"stock_quantity":{"description":"Stock quantity.","type":"integer","required":false},"stock_status":{"default":"instock","description":"Controls the stock status of the product.","type":"string","enum":["instock","outofstock","onbackorder"],"required":false},"backorders":{"default":"no","description":"If managing stock, this controls if backorders are allowed.","type":"string","enum":["no","notify","yes"],"required":false},"low_stock_amount":{"description":"Low Stock amount for the variation.","type":["integer","null"],"required":false},"weight":{"description":"Variation weight (kg).","type":"string","required":false},"dimensions":{"description":"Variation dimensions.","type":"object","properties":{"length":{"description":"Variation length (cm).","type":"string","context":["view","edit"]},"width":{"description":"Variation width (cm).","type":"string","context":["view","edit"]},"height":{"description":"Variation height (cm).","type":"string","context":["view","edit"]}},"required":false},"shipping_class":{"description":"Shipping class slug.","type":"string","required":false},"image":{"description":"Variation image data.","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"]}},"required":false},"attributes":{"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"]}}},"required":false},"menu_order":{"description":"Menu order, used to custom sort products.","type":"integer","required":false},"meta_data":{"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"]}}},"required":false}}}]},"\/wc\/v3\/reports\/sales":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/sales"}]}},"\/wc\/v3\/reports\/top_sellers":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false},"period":{"description":"Report period.","type":"string","enum":["week","month","last_month","year"],"required":false},"date_min":{"description":"Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false},"date_max":{"description":"Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.","type":"string","format":"date","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/top_sellers"}]}},"\/wc\/v3\/reports\/orders\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/orders/totals"}]}},"\/wc\/v3\/reports\/products\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/products/totals"}]}},"\/wc\/v3\/reports\/customers\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/customers/totals"}]}},"\/wc\/v3\/reports\/coupons\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/coupons/totals"}]}},"\/wc\/v3\/reports\/reviews\/totals":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports/reviews/totals"}]}},"\/wc\/v3\/reports":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/reports"}]}},"\/wc\/v3\/settings":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/settings"}]}},"\/wc\/v3\/settings\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}],"_links":{"self":[{"href":"wc/v3/settings/batch"}]}},"\/wc\/v3\/settings\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"description":"Settings group ID.","type":"string","required":false},"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"value":{"description":"Setting value.","type":["null","object","string","number","boolean","integer","array"],"required":false}}}]},"\/wc\/v3\/shipping\/zones":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"type":"string","description":"Shipping zone name.","required":true},"order":{"description":"Shipping zone order.","type":"integer","required":false}}}],"_links":{"self":[{"href":"wc/v3/shipping/zones"}]}},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"name":{"description":"Shipping zone name.","type":"string","required":false},"order":{"description":"Shipping zone order.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique ID for the resource.","type":"integer","required":false},"code":{"description":"Shipping zone location code.","type":"string","required":false},"type":{"description":"Shipping zone location type.","type":"string","enum":["postcode","state","country","continent"],"required":false}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false}}},{"methods":["POST"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox","class","order"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false},"method_id":{"description":"Shipping method ID.","required":true}}}]},"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"order":{"description":"Shipping method sort order.","type":"integer","required":false},"enabled":{"description":"Shipping method enabled status.","type":"boolean","required":false},"settings":{"description":"Shipping method settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox","class","order"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false}}},{"methods":["DELETE"],"args":{"zone_id":{"description":"Unique ID for the zone.","type":"integer","required":false},"instance_id":{"description":"Unique ID for the instance.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Whether to bypass trash and force deletion.","required":false}}}]},"\/wc\/v3\/taxes\/classes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Tax class name.","type":"string","required":true}}}],"_links":{"self":[{"href":"wc/v3/taxes/classes"}]}},"\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)":{"namespace":"wc\/v3","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"slug":{"description":"Unique slug for the resource.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"slug":{"description":"Unique slug for the resource.","type":"string","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/taxes":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"default":"asc","description":"Order sort attribute ascending or descending.","enum":["asc","desc"],"type":"string","required":false},"orderby":{"default":"order","description":"Sort collection by object attribute.","enum":["id","order","priority"],"type":"string","required":false},"class":{"description":"Sort by tax class.","enum":["standard","reduced-rate","zero-rate"],"type":"string","required":false}}},{"methods":["POST"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"default":1,"description":"Tax priority.","type":"integer","required":false},"compound":{"default":false,"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"default":"standard","description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"wc/v3/taxes"}]}},"\/wc\/v3\/taxes\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/taxes\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"description":"Country ISO 3166 code.","type":"string","required":false},"state":{"description":"State code.","type":"string","required":false},"postcode":{"description":"Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.","type":"string","required":false},"city":{"description":"City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.","type":"string","required":false},"rate":{"description":"Tax rate.","type":"string","required":false},"name":{"description":"Tax rate name.","type":"string","required":false},"priority":{"description":"Tax priority.","type":"integer","required":false},"compound":{"description":"Whether or not this is a compound rate.","type":"boolean","required":false},"shipping":{"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean","required":false},"order":{"description":"Indicates the order that will appear in queries.","type":"integer","required":false},"class":{"description":"Tax class.","type":"string","enum":["standard","reduced-rate","zero-rate"],"required":false},"postcodes":{"description":"List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false},"cities":{"description":"List of city names. Introduced in WooCommerce 5.3.","type":"array","items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"wc/v3/taxes/batch"}]}},"\/wc\/v3\/webhooks":{"namespace":"wc\/v3","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false},"per_page":{"description":"Maximum number of items to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"after":{"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"before":{"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string","format":"date-time","required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"include":{"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"},"default":[],"required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","type":"string","default":"desc","enum":["asc","desc"],"required":false},"orderby":{"description":"Sort collection by object attribute.","type":"string","default":"date","enum":["date","id","title"],"required":false},"status":{"default":"all","description":"Limit result set to webhooks assigned a specific status.","type":"string","enum":["all","active","paused","disabled"],"required":false}}},{"methods":["POST"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"default":"active","description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"type":"string","description":"Webhook topic.","required":true},"secret":{"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","required":false},"delivery_url":{"type":"string","description":"Webhook delivery URL.","required":true}}}],"_links":{"self":[{"href":"wc/v3/webhooks"}]}},"\/wc\/v3\/webhooks\/(?P[\\d]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"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","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"force":{"default":false,"type":"boolean","description":"Required to be true, as resource does not support trashing.","required":false}}}]},"\/wc\/v3\/webhooks\/batch":{"namespace":"wc\/v3","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"A friendly name for the webhook.","type":"string","required":false},"status":{"description":"Webhook status.","type":"string","enum":["active","paused","disabled"],"required":false},"topic":{"description":"Webhook topic.","type":"string","required":false},"secret":{"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","required":false}}}],"_links":{"self":[{"href":"wc/v3/webhooks/batch"}]}},"\/wc\/v3\/system_status":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/system_status"}]}},"\/wc\/v3\/system_status\/tools":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/system_status/tools"}]}},"\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"A unique identifier for the tool.","type":"string","required":false},"name":{"description":"Tool name.","type":"string","required":false},"action":{"description":"What running the tool will do.","type":"string","required":false},"description":{"description":"Tool description.","type":"string","required":false},"success":{"description":"Did the tool run successfully?","type":"boolean","required":false},"message":{"description":"Tool return message.","type":"string","required":false}}}]},"\/wc\/v3\/shipping_methods":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/shipping_methods"}]}},"\/wc\/v3\/shipping_methods\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}}]},"\/wc\/v3\/payment_gateways":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}}],"_links":{"self":[{"href":"wc/v3/payment_gateways"}]}},"\/wc\/v3\/payment_gateways\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"string","required":false},"title":{"description":"Payment gateway title on checkout.","type":"string","required":false},"description":{"description":"Payment gateway description on checkout.","type":"string","required":false},"order":{"description":"Payment gateway sort order.","type":"integer","required":false},"enabled":{"description":"Payment gateway enabled status.","type":"boolean","required":false},"settings":{"description":"Payment gateway settings.","type":"object","properties":{"id":{"description":"A unique identifier for the setting.","type":"string","context":["view","edit"],"readonly":true},"label":{"description":"A human readable label for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"description":{"description":"A human readable description for the setting used in interfaces.","type":"string","context":["view","edit"],"readonly":true},"type":{"description":"Type of setting.","type":"string","context":["view","edit"],"enum":["text","email","number","color","password","textarea","select","multiselect","radio","image_width","checkbox"],"readonly":true},"value":{"description":"Setting value.","type":"string","context":["view","edit"]},"default":{"description":"Default value for the setting.","type":"string","context":["view","edit"],"readonly":true},"tip":{"description":"Additional help text shown to the user about the setting.","type":"string","context":["view","edit"],"readonly":true},"placeholder":{"description":"Placeholder text to be displayed in text inputs.","type":"string","context":["view","edit"],"readonly":true}},"required":false}}}]},"\/wc\/v3\/data":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/data"}]}},"\/wc\/v3\/data\/continents":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/data/continents"}]}},"\/wc\/v3\/data\/continents\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"continent":{"description":"2 character continent code.","type":"string","required":false}}}]},"\/wc\/v3\/data\/countries":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/data/countries"}]}},"\/wc\/v3\/data\/countries\/(?P[\\w-]+)":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO3166 alpha-2 country code.","type":"string","required":false}}}]},"\/wc\/v3\/data\/currencies":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/data/currencies"}]}},"\/wc\/v3\/data\/currencies\/current":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"wc/v3/data/currencies/current"}]}},"\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})":{"namespace":"wc\/v3","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"location":{"description":"ISO4217 currency code.","type":"string","required":false}}}]}},"_links":{"up":[{"href":"default.htm"}]}}