haorryu
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Brands Add-On] brand pagethank you for your reply,
As you can see in your screenshot, its navigation letter E is blocked by the navigation bar. I want to achieve this effect, display E, you can check it through my screenshot, how should I achieve it?
Screenshot: https://snipboard.io/yvT9n0.jpgForum: Plugins
In reply to: [YITH WooCommerce Brands Add-On] brand pageForum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksHi, I use postman to test and it still gives 401 error.
https://app.usebubbles.com/c3j1643kgomkTSUV4D3Twg/untitled-bubble
I put a screenshot above.Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksI have set up the api according to the documentation but this problem still occurs.
Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksBut when I send a request to https://www.121shoes.co.uk/wp-json/wc/v3/ it returns data:
{ "namespace": "wc/v3", "routes": { "/wc/v3": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "required": false, "default": "wc/v3" }, "context": { "required": false, "default": "view" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3" } }, "/wc/v3/coupons": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "Sort collection by object attribute.", "type": "string" }, "code": { "required": false, "description": "Limit result set to resources with a specific code.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "code": { "required": true, "description": "Coupon code.", "type": "string" }, "amount": { "required": false, "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string" }, "discount_type": { "required": false, "default": "fixed_cart", "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "Determines the type of discount that will be applied.", "type": "string" }, "description": { "required": false, "description": "Coupon description.", "type": "string" }, "date_expires": { "required": false, "description": "The date the coupon expires, in the site's timezone.", "type": "string" }, "date_expires_gmt": { "required": false, "description": "The date the coupon expires, as GMT.", "type": "string" }, "individual_use": { "required": false, "default": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.", "type": "boolean" }, "product_ids": { "required": false, "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "How many times the coupon can be used in total.", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "How many times the coupon can be used per customer.", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "Max number of items in the basket the coupon can be applied to.", "type": "integer" }, "free_shipping": { "required": false, "default": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean" }, "product_categories": { "required": false, "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "default": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean" }, "minimum_amount": { "required": false, "description": "Minimum order amount that needs to be in the basket before coupon applies.", "type": "string" }, "maximum_amount": { "required": false, "description": "Maximum order amount allowed when using the coupon.", "type": "string" }, "email_restrictions": { "required": false, "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/coupons" } }, "/wc/v3/coupons/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "code": { "required": false, "description": "Coupon code.", "type": "string" }, "amount": { "required": false, "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "Determines the type of discount that will be applied.", "type": "string" }, "description": { "required": false, "description": "Coupon description.", "type": "string" }, "date_expires": { "required": false, "description": "The date the coupon expires, in the site's timezone.", "type": "string" }, "date_expires_gmt": { "required": false, "description": "The date the coupon expires, as GMT.", "type": "string" }, "individual_use": { "required": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.", "type": "boolean" }, "product_ids": { "required": false, "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "How many times the coupon can be used in total.", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "How many times the coupon can be used per customer.", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "Max number of items in the basket the coupon can be applied to.", "type": "integer" }, "free_shipping": { "required": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean" }, "product_categories": { "required": false, "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean" }, "minimum_amount": { "required": false, "description": "Minimum order amount that needs to be in the basket before coupon applies.", "type": "string" }, "maximum_amount": { "required": false, "description": "Maximum order amount allowed when using the coupon.", "type": "string" }, "email_restrictions": { "required": false, "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/coupons/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "required": false, "description": "Coupon code.", "type": "string" }, "amount": { "required": false, "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string" }, "discount_type": { "required": false, "enum": [ "percent", "fixed_cart", "fixed_product" ], "description": "Determines the type of discount that will be applied.", "type": "string" }, "description": { "required": false, "description": "Coupon description.", "type": "string" }, "date_expires": { "required": false, "description": "The date the coupon expires, in the site's timezone.", "type": "string" }, "date_expires_gmt": { "required": false, "description": "The date the coupon expires, as GMT.", "type": "string" }, "individual_use": { "required": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.", "type": "boolean" }, "product_ids": { "required": false, "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" } }, "excluded_product_ids": { "required": false, "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" } }, "usage_limit": { "required": false, "description": "How many times the coupon can be used in total.", "type": "integer" }, "usage_limit_per_user": { "required": false, "description": "How many times the coupon can be used per customer.", "type": "integer" }, "limit_usage_to_x_items": { "required": false, "description": "Max number of items in the basket the coupon can be applied to.", "type": "integer" }, "free_shipping": { "required": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean" }, "product_categories": { "required": false, "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" } }, "excluded_product_categories": { "required": false, "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" } }, "exclude_sale_items": { "required": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean" }, "minimum_amount": { "required": false, "description": "Minimum order amount that needs to be in the basket before coupon applies.", "type": "string" }, "maximum_amount": { "required": false, "description": "Maximum order amount allowed when using the coupon.", "type": "string" }, "email_restrictions": { "required": false, "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" } }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/coupons/batch" } }, "/wc/v3/customers/(?P<customer_id>[\\d]+)/downloads": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ] }, "/wc/v3/customers": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "registered_date" ], "description": "Sort collection by object attribute.", "type": "string" }, "email": { "required": false, "description": "Limit result set to resources with a specific email.", "type": "string" }, "role": { "required": false, "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "seller", "wpseo_manager", "wpseo_editor" ], "description": "Limit result set to resources with a specific role.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "email": { "required": true, "description": "New user email address.", "type": "string" }, "first_name": { "required": false, "description": "Customer first name.", "type": "string" }, "last_name": { "required": false, "description": "Customer last name.", "type": "string" }, "username": { "required": false, "description": "New user username.", "type": "string" }, "password": { "required": true, "description": "New user password.", "type": "string" }, "billing": { "required": false, "description": "List of billing address data.", "type": "object" }, "shipping": { "required": false, "description": "List of shipping address data.", "type": "object" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/customers" } }, "/wc/v3/customers/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "email": { "required": false, "description": "The email address for the customer.", "type": "string" }, "first_name": { "required": false, "description": "Customer first name.", "type": "string" }, "last_name": { "required": false, "description": "Customer last name.", "type": "string" }, "username": { "required": false, "description": "Customer login name.", "type": "string" }, "password": { "required": false, "description": "Customer password.", "type": "string" }, "billing": { "required": false, "description": "List of billing address data.", "type": "object" }, "shipping": { "required": false, "description": "List of shipping address data.", "type": "object" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" }, "reassign": { "required": false, "default": 0, "description": "ID to reassign posts to.", "type": "integer" } } } ] }, "/wc/v3/customers/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "required": false, "description": "The email address for the customer.", "type": "string" }, "first_name": { "required": false, "description": "Customer first name.", "type": "string" }, "last_name": { "required": false, "description": "Customer last name.", "type": "string" }, "username": { "required": false, "description": "Customer login name.", "type": "string" }, "password": { "required": false, "description": "Customer password.", "type": "string" }, "billing": { "required": false, "description": "List of billing address data.", "type": "object" }, "shipping": { "required": false, "description": "List of shipping address data.", "type": "object" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/customers/batch" } }, "/wc/v3/orders/(?P<order_id>[\\d]+)/notes": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "type": { "required": false, "default": "any", "enum": [ "any", "customer", "internal" ], "description": "Limit result to customers or internal notes.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "note": { "required": true, "description": "Order note content.", "type": "string" }, "customer_note": { "required": false, "default": false, "description": "If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.", "type": "boolean" }, "added_by_user": { "required": false, "default": false, "description": "If true, this note will be attributed to the current user. If false, the note will be attributed to the system.", "type": "boolean" } } } ] }, "/wc/v3/orders/(?P<order_id>[\\d]+)/notes/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/orders/(?P<order_id>[\\d]+)/refunds": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "Sort collection by object attribute.", "type": "string" }, "parent": { "required": false, "default": [], "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" } }, "dp": { "required": false, "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "amount": { "required": false, "description": "Refund amount.", "type": "string" }, "reason": { "required": false, "description": "Reason for refund.", "type": "string" }, "refunded_by": { "required": false, "description": "User ID of user who created the refund.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "api_refund": { "required": false, "default": true, "description": "When true, the payment gateway API is used to generate the refund.", "type": "boolean" } } } ] }, "/wc/v3/orders/(?P<order_id>[\\d]+)/refunds/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "required": false, "description": "The order ID.", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/orders": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "Sort collection by object attribute.", "type": "string" }, "parent": { "required": false, "default": [], "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ] } }, "customer": { "required": false, "description": "Limit result set to orders assigned a specific customer.", "type": "integer" }, "product": { "required": false, "description": "Limit result set to orders assigned a specific product.", "type": "integer" }, "dp": { "required": false, "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "parent_id": { "required": false, "description": "Parent order ID.", "type": "integer" }, "status": { "required": false, "default": "pending", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "Order status.", "type": "string" }, "currency": { "required": false, "default": "GBP", "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", "MRO", "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", "STD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "Currency the order was created with, in ISO format.", "type": "string" }, "customer_id": { "required": false, "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer" }, "customer_note": { "required": false, "description": "Note left by customer during checkout.", "type": "string" }, "billing": { "required": false, "description": "Billing address.", "type": "object" }, "shipping": { "required": false, "description": "Shipping address.", "type": "object" }, "payment_method": { "required": false, "description": "Payment method ID.", "type": "string" }, "payment_method_title": { "required": false, "description": "Payment method title.", "type": "string" }, "transaction_id": { "required": false, "description": "Unique transaction ID.", "type": "string" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/orders" } }, "/wc/v3/orders/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "parent_id": { "required": false, "description": "Parent order ID.", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "Order status.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "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", "STD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "Currency the order was created with, in ISO format.", "type": "string" }, "customer_id": { "required": false, "description": "User ID who owns the order. 0 for guests.", "type": "integer" }, "customer_note": { "required": false, "description": "Note left by customer during checkout.", "type": "string" }, "billing": { "required": false, "description": "Billing address.", "type": "object" }, "shipping": { "required": false, "description": "Shipping address.", "type": "object" }, "payment_method": { "required": false, "description": "Payment method ID.", "type": "string" }, "payment_method_title": { "required": false, "description": "Payment method title.", "type": "string" }, "transaction_id": { "required": false, "description": "Unique transaction ID.", "type": "string" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/orders/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "required": false, "description": "Parent order ID.", "type": "integer" }, "status": { "required": false, "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "description": "Order status.", "type": "string" }, "currency": { "required": false, "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "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", "STD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "description": "Currency the order was created with, in ISO format.", "type": "string" }, "customer_id": { "required": false, "description": "User ID who owns the order. 0 for guests.", "type": "integer" }, "customer_note": { "required": false, "description": "Note left by customer during checkout.", "type": "string" }, "billing": { "required": false, "description": "Billing address.", "type": "object" }, "shipping": { "required": false, "description": "Shipping address.", "type": "object" }, "payment_method": { "required": false, "description": "Payment method ID.", "type": "string" }, "payment_method_title": { "required": false, "description": "Payment method title.", "type": "string" }, "transaction_id": { "required": false, "description": "Unique transaction ID.", "type": "string" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "line_items": { "required": false, "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } } }, "shipping_lines": { "required": false, "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "fee_lines": { "required": false, "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "coupon_lines": { "required": false, "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": "mixed", "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": "mixed", "context": [ "view", "edit" ] } } } } } } }, "set_paid": { "required": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/orders/batch" } }, "/wc/v3/products/attributes/(?P<attribute_id>[\\d]+)/terms": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific ids.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "Sort collection by resource attribute.", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "Whether to hide resources not assigned to any products.", "type": "boolean" }, "parent": { "required": false, "description": "Limit result set to resources assigned to a specific parent.", "type": "integer" }, "product": { "required": false, "description": "Limit result set to resources assigned to a specific product.", "type": "integer" }, "slug": { "required": false, "description": "Limit result set to resources with a specific slug.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "name": { "required": true, "description": "Name for the resource.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } } ] }, "/wc/v3/products/attributes/(?P<attribute_id>[\\d]+)/terms/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "name": { "required": false, "description": "Term name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/products/attributes/(?P<attribute_id>[\\d]+)/terms/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "required": false, "description": "Unique identifier for the attribute of the terms.", "type": "integer" }, "name": { "required": false, "description": "Term name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } } ] }, "/wc/v3/products/attributes": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Name for the resource.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "type": { "required": false, "default": "select", "enum": [ "select" ], "description": "Type of attribute.", "type": "string" }, "order_by": { "required": false, "default": "menu_order", "enum": [ "menu_order", "name", "name_num", "id" ], "description": "Default sort order.", "type": "string" }, "has_archives": { "required": false, "default": false, "description": "Enable/Disable attribute archives.", "type": "boolean" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/attributes" } }, "/wc/v3/products/attributes/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "Attribute name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "Type of attribute.", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "Default sort order.", "type": "string" }, "has_archives": { "required": false, "description": "Enable/Disable attribute archives.", "type": "boolean" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": true, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/products/attributes/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "Attribute name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "type": { "required": false, "enum": [ "select" ], "description": "Type of attribute.", "type": "string" }, "order_by": { "required": false, "enum": [ "menu_order", "name", "name_num", "id" ], "description": "Default sort order.", "type": "string" }, "has_archives": { "required": false, "description": "Enable/Disable attribute archives.", "type": "boolean" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/attributes/batch" } }, "/wc/v3/products/categories": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific ids.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "Sort collection by resource attribute.", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "Whether to hide resources not assigned to any products.", "type": "boolean" }, "parent": { "required": false, "description": "Limit result set to resources assigned to a specific parent.", "type": "integer" }, "product": { "required": false, "description": "Limit result set to resources assigned to a specific product.", "type": "integer" }, "slug": { "required": false, "description": "Limit result set to resources with a specific slug.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Name for the resource.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "parent": { "required": false, "description": "The ID for the parent of the resource.", "type": "integer" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "display": { "required": false, "default": "default", "enum": [ "default", "products", "subcategories", "both" ], "description": "Category archive display type.", "type": "string" }, "image": { "required": false, "description": "Image data.", "type": "object" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/categories" } }, "/wc/v3/products/categories/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "Category name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "parent": { "required": false, "description": "The ID for the parent of the resource.", "type": "integer" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "Category archive display type.", "type": "string" }, "image": { "required": false, "description": "Image data.", "type": "object" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/products/categories/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "Category name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "parent": { "required": false, "description": "The ID for the parent of the resource.", "type": "integer" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" }, "display": { "required": false, "enum": [ "default", "products", "subcategories", "both" ], "description": "Category archive display type.", "type": "string" }, "image": { "required": false, "description": "Image data.", "type": "object" }, "menu_order": { "required": false, "description": "Menu order, used to custom sort the resource.", "type": "integer" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/categories/batch" } }, "/wc/v3/products/reviews": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to reviews published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "description": "Sort collection by object attribute.", "type": "string" }, "reviewer": { "required": false, "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" } }, "reviewer_exclude": { "required": false, "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" } }, "reviewer_email": { "required": false, "description": "Limit result set to that from a specific author email.", "type": "string" }, "product": { "required": false, "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" } }, "status": { "required": false, "default": "approved", "enum": [ "all", "hold", "approved", "spam", "trash" ], "description": "Limit result set to reviews assigned a specific status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": true, "description": "Unique identifier for the product.", "type": "integer" }, "status": { "required": false, "default": "approved", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "Status of the review.", "type": "string" }, "reviewer": { "required": true, "description": "Name of the reviewer.", "type": "string" }, "reviewer_email": { "required": true, "description": "Email of the reviewer.", "type": "string" }, "review": { "required": true, "description": "Review content.", "type": "string" }, "rating": { "required": false, "description": "Review rating (0 to 5).", "type": "integer" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/reviews" } }, "/wc/v3/products/reviews/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "product_id": { "required": false, "description": "Unique identifier for the product that the review belongs to.", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "Status of the review.", "type": "string" }, "reviewer": { "required": false, "description": "Reviewer name.", "type": "string" }, "reviewer_email": { "required": false, "description": "Reviewer email.", "type": "string" }, "review": { "required": false, "description": "The content of the review.", "type": "string" }, "rating": { "required": false, "description": "Review rating (0 to 5).", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/products/reviews/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the product that the review belongs to.", "type": "integer" }, "status": { "required": false, "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "description": "Status of the review.", "type": "string" }, "reviewer": { "required": false, "description": "Reviewer name.", "type": "string" }, "reviewer_email": { "required": false, "description": "Reviewer email.", "type": "string" }, "review": { "required": false, "description": "The content of the review.", "type": "string" }, "rating": { "required": false, "description": "Review rating (0 to 5).", "type": "integer" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/reviews/batch" } }, "/wc/v3/products/shipping_classes": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific ids.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "Sort collection by resource attribute.", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "Whether to hide resources not assigned to any products.", "type": "boolean" }, "product": { "required": false, "description": "Limit result set to resources assigned to a specific product.", "type": "integer" }, "slug": { "required": false, "description": "Limit result set to resources with a specific slug.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Name for the resource.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/shipping_classes" } }, "/wc/v3/products/shipping_classes/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "Shipping class name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/products/shipping_classes/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "Shipping class name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/shipping_classes/batch" } }, "/wc/v3/products/tags": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific ids.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "description": "Sort collection by resource attribute.", "type": "string" }, "hide_empty": { "required": false, "default": false, "description": "Whether to hide resources not assigned to any products.", "type": "boolean" }, "product": { "required": false, "description": "Limit result set to resources assigned to a specific product.", "type": "integer" }, "slug": { "required": false, "description": "Limit result set to resources with a specific slug.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Name for the resource.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/tags" } }, "/wc/v3/products/tags/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "Tag name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/products/tags/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "Tag name.", "type": "string" }, "slug": { "required": false, "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string" }, "description": { "required": false, "description": "HTML description of the resource.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/tags/batch" } }, "/wc/v3/products": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug", "price", "popularity", "rating" ], "description": "Sort collection by object attribute.", "type": "string" }, "parent": { "required": false, "default": [], "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "Limit result set to products with a specific slug.", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "draft", "pending", "private", "publish" ], "description": "Limit result set to products assigned a specific status.", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "Limit result set to products assigned a specific type.", "type": "string" }, "sku": { "required": false, "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string" }, "featured": { "required": false, "description": "Limit result set to featured products.", "type": "boolean" }, "category": { "required": false, "description": "Limit result set to products assigned a specific category ID.", "type": "string" }, "tag": { "required": false, "description": "Limit result set to products assigned a specific tag ID.", "type": "string" }, "shipping_class": { "required": false, "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string" }, "attribute": { "required": false, "description": "Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug.", "type": "string" }, "attribute_term": { "required": false, "description": "Limit result set to products with a specific attribute term ID (requires an assigned attribute).", "type": "string" }, "on_sale": { "required": false, "description": "Limit result set to products on sale.", "type": "boolean" }, "min_price": { "required": false, "description": "Limit result set to products based on a minimum price.", "type": "string" }, "max_price": { "required": false, "description": "Limit result set to products based on a maximum price.", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Limit result set to products with specified stock status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "Product name.", "type": "string" }, "slug": { "required": false, "description": "Product slug.", "type": "string" }, "date_created": { "required": false, "description": "The date the product was created, in the site's timezone.", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "The date the product was created, as GMT.", "type": "date-time" }, "type": { "required": false, "default": "simple", "enum": [ "simple", "grouped", "external", "variable" ], "description": "Product type.", "type": "string" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish" ], "description": "Product status (post status).", "type": "string" }, "featured": { "required": false, "default": false, "description": "Featured product.", "type": "boolean" }, "catalog_visibility": { "required": false, "default": "visible", "enum": [ "visible", "catalog", "search", "hidden" ], "description": "Catalogue visibility.", "type": "string" }, "description": { "required": false, "description": "Product description.", "type": "string" }, "short_description": { "required": false, "description": "Product short description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Product regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Product sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "virtual": { "required": false, "default": false, "description": "If the product is virtual.", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "If the product is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "external_url": { "required": false, "description": "Product external URL. Only for external products.", "type": "string" }, "button_text": { "required": false, "description": "Product external button text. Only for external products.", "type": "string" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "Stock management at product level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "sold_individually": { "required": false, "default": false, "description": "Allow one item to be bought in a single order.", "type": "boolean" }, "weight": { "required": false, "description": "Product weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Product dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "reviews_allowed": { "required": false, "default": true, "description": "Allow reviews.", "type": "boolean" }, "upsell_ids": { "required": false, "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "Product parent ID.", "type": "integer" }, "purchase_note": { "required": false, "description": "Optional note to send the customer after purchase.", "type": "string" }, "categories": { "required": false, "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "List of images.", "type": "object", "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": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "gpf_data": { "required": false, "description": "Google product feed data", "type": "object", "items": { "description": { "description": "Google product feed: Product description", "type": "string", "context": [ "view", "edit" ] }, "availability": { "description": "Google product feed: Availability", "type": "string", "context": [ "view", "edit" ] }, "is_bundle": { "description": "Google product feed: Bundle indicator (is_bundle)", "type": "string", "context": [ "view", "edit" ] }, "availability_date": { "description": "Google product feed: Availability date", "type": "string", "context": [ "view", "edit" ] }, "condition": { "description": "Google product feed: Condition", "type": "string", "context": [ "view", "edit" ] }, "brand": { "description": "Google product feed: Brand", "type": "string", "context": [ "view", "edit" ] }, "mpn": { "description": "Google product feed: Manufacturer Part Number (MPN)", "type": "string", "context": [ "view", "edit" ] }, "product_type": { "description": "Google product feed: Product Type", "type": "string", "context": [ "view", "edit" ] }, "google_product_category": { "description": "Google product feed: Google Product Category", "type": "string", "context": [ "view", "edit" ] }, "gtin": { "description": "Google product feed: Global Trade Item Number (GTIN)", "type": "string", "context": [ "view", "edit" ] }, "gender": { "description": "Google product feed: Gender", "type": "string", "context": [ "view", "edit" ] }, "age_group": { "description": "Google product feed: Age Group", "type": "string", "context": [ "view", "edit" ] }, "color": { "description": "Google product feed: Colour", "type": "string", "context": [ "view", "edit" ] }, "size": { "description": "Google product feed: Size", "type": "string", "context": [ "view", "edit" ] }, "size_type": { "description": "Google product feed: Size type", "type": "string", "context": [ "view", "edit" ] }, "size_system": { "description": "Google product feed: Size system", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_measure": { "description": "Google product feed: Unit pricing measure", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_base_measure": { "description": "Google product feed: Unit pricing base measure", "type": "string", "context": [ "view", "edit" ] }, "multipack": { "description": "Google product feed: Multipack", "type": "string", "context": [ "view", "edit" ] }, "installment": { "description": "Google product feed: Instalment", "type": "string", "context": [ "view", "edit" ] }, "material": { "description": "Google product feed: Material", "type": "string", "context": [ "view", "edit" ] }, "pattern": { "description": "Google product feed: Pattern", "type": "string", "context": [ "view", "edit" ] }, "adult": { "description": "Google product feed: Adult content", "type": "string", "context": [ "view", "edit" ] }, "identifier_exists": { "description": "Google product feed: Identifier exists flag", "type": "string", "context": [ "view", "edit" ] }, "adwords_grouping": { "description": "Google product feed: Adwords grouping filter", "type": "string", "context": [ "view", "edit" ] }, "adwords_labels": { "description": "Google product feed: Adwords labels", "type": "string", "context": [ "view", "edit" ] }, "bing_category": { "description": "Google product feed: Bing Category", "type": "string", "context": [ "view", "edit" ] }, "delivery_label": { "description": "Google product feed: Delivery label", "type": "string", "context": [ "view", "edit" ] }, "min_handling_time": { "description": "Google product feed: Minimum handling time", "type": "string", "context": [ "view", "edit" ] }, "max_handling_time": { "description": "Google product feed: Maximum handling time", "type": "string", "context": [ "view", "edit" ] }, "energy_efficiency_class": { "description": "Google product feed: Energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "min_energy_efficiency_class": { "description": "Google product feed: Minimum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "max_energy_efficiency_class": { "description": "Google product feed: Maximum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "cost_of_goods_sold": { "description": "Google product feed: Cost of goods sold", "type": "string", "context": [ "view", "edit" ] }, "included_destination": { "description": "Google product feed: Included destination", "type": "string", "context": [ "view", "edit" ] }, "excluded_destination": { "description": "Google product feed: Excluded destination", "type": "string", "context": [ "view", "edit" ] }, "custom_label_0": { "description": "Google product feed: Custom label 0", "type": "string", "context": [ "view", "edit" ] }, "custom_label_1": { "description": "Google product feed: Custom label 1", "type": "string", "context": [ "view", "edit" ] }, "custom_label_2": { "description": "Google product feed: Custom label 2", "type": "string", "context": [ "view", "edit" ] }, "custom_label_3": { "description": "Google product feed: Custom label 3", "type": "string", "context": [ "view", "edit" ] }, "custom_label_4": { "description": "Google product feed: Custom label 4", "type": "string", "context": [ "view", "edit" ] }, "promotion_id": { "description": "Google product feed: Promotion ID", "type": "string", "context": [ "view", "edit" ] }, "shippingprice": { "description": "Google product feed: Bing shipping info (price only)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryprice": { "description": "Google product feed: Bing shipping info (country and price)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryserviceprice": { "description": "Google product feed: Bing shipping info (country, service and price)", "type": "string", "context": [ "view", "edit" ] }, "exclude_product": { "description": "Google product feed: Hide product from feed (Y/N)", "type": "string", "context": [ "view", "edit" ] } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products" } }, "/wc/v3/products/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "Product name.", "type": "string" }, "slug": { "required": false, "description": "Product slug.", "type": "string" }, "date_created": { "required": false, "description": "The date the product was created, in the site's timezone.", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "The date the product was created, as GMT.", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "Product type.", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "Product status (post status).", "type": "string" }, "featured": { "required": false, "description": "Featured product.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "Catalogue visibility.", "type": "string" }, "description": { "required": false, "description": "Product description.", "type": "string" }, "short_description": { "required": false, "description": "Product short description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Product regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Product sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "virtual": { "required": false, "description": "If the product is virtual.", "type": "boolean" }, "downloadable": { "required": false, "description": "If the product is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "external_url": { "required": false, "description": "Product external URL. Only for external products.", "type": "string" }, "button_text": { "required": false, "description": "Product external button text. Only for external products.", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "description": "Stock management at product level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "sold_individually": { "required": false, "description": "Allow one item to be bought in a single order.", "type": "boolean" }, "weight": { "required": false, "description": "Product weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Product dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "reviews_allowed": { "required": false, "description": "Allow reviews.", "type": "boolean" }, "upsell_ids": { "required": false, "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "Product parent ID.", "type": "integer" }, "purchase_note": { "required": false, "description": "Optional note to send the customer after purchase.", "type": "string" }, "categories": { "required": false, "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "List of images.", "type": "object", "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": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "gpf_data": { "required": false, "description": "Google product feed data", "type": "object", "items": { "description": { "description": "Google product feed: Product description", "type": "string", "context": [ "view", "edit" ] }, "availability": { "description": "Google product feed: Availability", "type": "string", "context": [ "view", "edit" ] }, "is_bundle": { "description": "Google product feed: Bundle indicator (is_bundle)", "type": "string", "context": [ "view", "edit" ] }, "availability_date": { "description": "Google product feed: Availability date", "type": "string", "context": [ "view", "edit" ] }, "condition": { "description": "Google product feed: Condition", "type": "string", "context": [ "view", "edit" ] }, "brand": { "description": "Google product feed: Brand", "type": "string", "context": [ "view", "edit" ] }, "mpn": { "description": "Google product feed: Manufacturer Part Number (MPN)", "type": "string", "context": [ "view", "edit" ] }, "product_type": { "description": "Google product feed: Product Type", "type": "string", "context": [ "view", "edit" ] }, "google_product_category": { "description": "Google product feed: Google Product Category", "type": "string", "context": [ "view", "edit" ] }, "gtin": { "description": "Google product feed: Global Trade Item Number (GTIN)", "type": "string", "context": [ "view", "edit" ] }, "gender": { "description": "Google product feed: Gender", "type": "string", "context": [ "view", "edit" ] }, "age_group": { "description": "Google product feed: Age Group", "type": "string", "context": [ "view", "edit" ] }, "color": { "description": "Google product feed: Colour", "type": "string", "context": [ "view", "edit" ] }, "size": { "description": "Google product feed: Size", "type": "string", "context": [ "view", "edit" ] }, "size_type": { "description": "Google product feed: Size type", "type": "string", "context": [ "view", "edit" ] }, "size_system": { "description": "Google product feed: Size system", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_measure": { "description": "Google product feed: Unit pricing measure", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_base_measure": { "description": "Google product feed: Unit pricing base measure", "type": "string", "context": [ "view", "edit" ] }, "multipack": { "description": "Google product feed: Multipack", "type": "string", "context": [ "view", "edit" ] }, "installment": { "description": "Google product feed: Instalment", "type": "string", "context": [ "view", "edit" ] }, "material": { "description": "Google product feed: Material", "type": "string", "context": [ "view", "edit" ] }, "pattern": { "description": "Google product feed: Pattern", "type": "string", "context": [ "view", "edit" ] }, "adult": { "description": "Google product feed: Adult content", "type": "string", "context": [ "view", "edit" ] }, "identifier_exists": { "description": "Google product feed: Identifier exists flag", "type": "string", "context": [ "view", "edit" ] }, "adwords_grouping": { "description": "Google product feed: Adwords grouping filter", "type": "string", "context": [ "view", "edit" ] }, "adwords_labels": { "description": "Google product feed: Adwords labels", "type": "string", "context": [ "view", "edit" ] }, "bing_category": { "description": "Google product feed: Bing Category", "type": "string", "context": [ "view", "edit" ] }, "delivery_label": { "description": "Google product feed: Delivery label", "type": "string", "context": [ "view", "edit" ] }, "min_handling_time": { "description": "Google product feed: Minimum handling time", "type": "string", "context": [ "view", "edit" ] }, "max_handling_time": { "description": "Google product feed: Maximum handling time", "type": "string", "context": [ "view", "edit" ] }, "energy_efficiency_class": { "description": "Google product feed: Energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "min_energy_efficiency_class": { "description": "Google product feed: Minimum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "max_energy_efficiency_class": { "description": "Google product feed: Maximum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "cost_of_goods_sold": { "description": "Google product feed: Cost of goods sold", "type": "string", "context": [ "view", "edit" ] }, "included_destination": { "description": "Google product feed: Included destination", "type": "string", "context": [ "view", "edit" ] }, "excluded_destination": { "description": "Google product feed: Excluded destination", "type": "string", "context": [ "view", "edit" ] }, "custom_label_0": { "description": "Google product feed: Custom label 0", "type": "string", "context": [ "view", "edit" ] }, "custom_label_1": { "description": "Google product feed: Custom label 1", "type": "string", "context": [ "view", "edit" ] }, "custom_label_2": { "description": "Google product feed: Custom label 2", "type": "string", "context": [ "view", "edit" ] }, "custom_label_3": { "description": "Google product feed: Custom label 3", "type": "string", "context": [ "view", "edit" ] }, "custom_label_4": { "description": "Google product feed: Custom label 4", "type": "string", "context": [ "view", "edit" ] }, "promotion_id": { "description": "Google product feed: Promotion ID", "type": "string", "context": [ "view", "edit" ] }, "shippingprice": { "description": "Google product feed: Bing shipping info (price only)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryprice": { "description": "Google product feed: Bing shipping info (country and price)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryserviceprice": { "description": "Google product feed: Bing shipping info (country, service and price)", "type": "string", "context": [ "view", "edit" ] }, "exclude_product": { "description": "Google product feed: Hide product from feed (Y/N)", "type": "string", "context": [ "view", "edit" ] } } } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/products/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "Product name.", "type": "string" }, "slug": { "required": false, "description": "Product slug.", "type": "string" }, "date_created": { "required": false, "description": "The date the product was created, in the site's timezone.", "type": "date-time" }, "date_created_gmt": { "required": false, "description": "The date the product was created, as GMT.", "type": "date-time" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "Product type.", "type": "string" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "Product status (post status).", "type": "string" }, "featured": { "required": false, "description": "Featured product.", "type": "boolean" }, "catalog_visibility": { "required": false, "enum": [ "visible", "catalog", "search", "hidden" ], "description": "Catalogue visibility.", "type": "string" }, "description": { "required": false, "description": "Product description.", "type": "string" }, "short_description": { "required": false, "description": "Product short description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Product regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Product sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "virtual": { "required": false, "description": "If the product is virtual.", "type": "boolean" }, "downloadable": { "required": false, "description": "If the product is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "external_url": { "required": false, "description": "Product external URL. Only for external products.", "type": "string" }, "button_text": { "required": false, "description": "Product external button text. Only for external products.", "type": "string" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "description": "Stock management at product level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "sold_individually": { "required": false, "description": "Allow one item to be bought in a single order.", "type": "boolean" }, "weight": { "required": false, "description": "Product weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Product dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "reviews_allowed": { "required": false, "description": "Allow reviews.", "type": "boolean" }, "upsell_ids": { "required": false, "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "cross_sell_ids": { "required": false, "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" } }, "parent_id": { "required": false, "description": "Product parent ID.", "type": "integer" }, "purchase_note": { "required": false, "description": "Optional note to send the customer after purchase.", "type": "string" }, "categories": { "required": false, "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "tags": { "required": false, "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "images": { "required": false, "description": "List of images.", "type": "object", "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": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } } }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } } }, "default_attributes": { "required": false, "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "gpf_data": { "required": false, "description": "Google product feed data", "type": "object", "items": { "description": { "description": "Google product feed: Product description", "type": "string", "context": [ "view", "edit" ] }, "availability": { "description": "Google product feed: Availability", "type": "string", "context": [ "view", "edit" ] }, "is_bundle": { "description": "Google product feed: Bundle indicator (is_bundle)", "type": "string", "context": [ "view", "edit" ] }, "availability_date": { "description": "Google product feed: Availability date", "type": "string", "context": [ "view", "edit" ] }, "condition": { "description": "Google product feed: Condition", "type": "string", "context": [ "view", "edit" ] }, "brand": { "description": "Google product feed: Brand", "type": "string", "context": [ "view", "edit" ] }, "mpn": { "description": "Google product feed: Manufacturer Part Number (MPN)", "type": "string", "context": [ "view", "edit" ] }, "product_type": { "description": "Google product feed: Product Type", "type": "string", "context": [ "view", "edit" ] }, "google_product_category": { "description": "Google product feed: Google Product Category", "type": "string", "context": [ "view", "edit" ] }, "gtin": { "description": "Google product feed: Global Trade Item Number (GTIN)", "type": "string", "context": [ "view", "edit" ] }, "gender": { "description": "Google product feed: Gender", "type": "string", "context": [ "view", "edit" ] }, "age_group": { "description": "Google product feed: Age Group", "type": "string", "context": [ "view", "edit" ] }, "color": { "description": "Google product feed: Colour", "type": "string", "context": [ "view", "edit" ] }, "size": { "description": "Google product feed: Size", "type": "string", "context": [ "view", "edit" ] }, "size_type": { "description": "Google product feed: Size type", "type": "string", "context": [ "view", "edit" ] }, "size_system": { "description": "Google product feed: Size system", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_measure": { "description": "Google product feed: Unit pricing measure", "type": "string", "context": [ "view", "edit" ] }, "unit_pricing_base_measure": { "description": "Google product feed: Unit pricing base measure", "type": "string", "context": [ "view", "edit" ] }, "multipack": { "description": "Google product feed: Multipack", "type": "string", "context": [ "view", "edit" ] }, "installment": { "description": "Google product feed: Instalment", "type": "string", "context": [ "view", "edit" ] }, "material": { "description": "Google product feed: Material", "type": "string", "context": [ "view", "edit" ] }, "pattern": { "description": "Google product feed: Pattern", "type": "string", "context": [ "view", "edit" ] }, "adult": { "description": "Google product feed: Adult content", "type": "string", "context": [ "view", "edit" ] }, "identifier_exists": { "description": "Google product feed: Identifier exists flag", "type": "string", "context": [ "view", "edit" ] }, "adwords_grouping": { "description": "Google product feed: Adwords grouping filter", "type": "string", "context": [ "view", "edit" ] }, "adwords_labels": { "description": "Google product feed: Adwords labels", "type": "string", "context": [ "view", "edit" ] }, "bing_category": { "description": "Google product feed: Bing Category", "type": "string", "context": [ "view", "edit" ] }, "delivery_label": { "description": "Google product feed: Delivery label", "type": "string", "context": [ "view", "edit" ] }, "min_handling_time": { "description": "Google product feed: Minimum handling time", "type": "string", "context": [ "view", "edit" ] }, "max_handling_time": { "description": "Google product feed: Maximum handling time", "type": "string", "context": [ "view", "edit" ] }, "energy_efficiency_class": { "description": "Google product feed: Energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "min_energy_efficiency_class": { "description": "Google product feed: Minimum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "max_energy_efficiency_class": { "description": "Google product feed: Maximum energy efficiency class", "type": "string", "context": [ "view", "edit" ] }, "cost_of_goods_sold": { "description": "Google product feed: Cost of goods sold", "type": "string", "context": [ "view", "edit" ] }, "included_destination": { "description": "Google product feed: Included destination", "type": "string", "context": [ "view", "edit" ] }, "excluded_destination": { "description": "Google product feed: Excluded destination", "type": "string", "context": [ "view", "edit" ] }, "custom_label_0": { "description": "Google product feed: Custom label 0", "type": "string", "context": [ "view", "edit" ] }, "custom_label_1": { "description": "Google product feed: Custom label 1", "type": "string", "context": [ "view", "edit" ] }, "custom_label_2": { "description": "Google product feed: Custom label 2", "type": "string", "context": [ "view", "edit" ] }, "custom_label_3": { "description": "Google product feed: Custom label 3", "type": "string", "context": [ "view", "edit" ] }, "custom_label_4": { "description": "Google product feed: Custom label 4", "type": "string", "context": [ "view", "edit" ] }, "promotion_id": { "description": "Google product feed: Promotion ID", "type": "string", "context": [ "view", "edit" ] }, "shippingprice": { "description": "Google product feed: Bing shipping info (price only)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryprice": { "description": "Google product feed: Bing shipping info (country and price)", "type": "string", "context": [ "view", "edit" ] }, "shippingcountryserviceprice": { "description": "Google product feed: Bing shipping info (country, service and price)", "type": "string", "context": [ "view", "edit" ] }, "exclude_product": { "description": "Google product feed: Hide product from feed (Y/N)", "type": "string", "context": [ "view", "edit" ] } } } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/products/batch" } }, "/wc/v3/products/(?P<product_id>[\\d]+)/variations": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "description": "Sort collection by object attribute.", "type": "string" }, "parent": { "required": false, "default": [], "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" } }, "parent_exclude": { "required": false, "default": [], "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" } }, "slug": { "required": false, "description": "Limit result set to products with a specific slug.", "type": "string" }, "status": { "required": false, "default": "any", "enum": [ "any", "draft", "pending", "private", "publish" ], "description": "Limit result set to products assigned a specific status.", "type": "string" }, "type": { "required": false, "enum": [ "simple", "grouped", "external", "variable" ], "description": "Limit result set to products assigned a specific type.", "type": "string" }, "sku": { "required": false, "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string" }, "featured": { "required": false, "description": "Limit result set to featured products.", "type": "boolean" }, "category": { "required": false, "description": "Limit result set to products assigned a specific category ID.", "type": "string" }, "tag": { "required": false, "description": "Limit result set to products assigned a specific tag ID.", "type": "string" }, "shipping_class": { "required": false, "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string" }, "attribute": { "required": false, "description": "Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug.", "type": "string" }, "attribute_term": { "required": false, "description": "Limit result set to products with a specific attribute term ID (requires an assigned attribute).", "type": "string" }, "on_sale": { "required": false, "description": "Limit result set to products on sale.", "type": "boolean" }, "min_price": { "required": false, "description": "Limit result set to products based on a minimum price.", "type": "string" }, "max_price": { "required": false, "description": "Limit result set to products based on a maximum price.", "type": "string" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Limit result set to products with specified stock status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "description": { "required": false, "description": "Variation description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Variation regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "status": { "required": false, "default": "publish", "enum": [ "draft", "pending", "private", "publish" ], "description": "Variation status.", "type": "string" }, "virtual": { "required": false, "default": false, "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "required": false, "default": false, "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "required": false, "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "default": false, "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "default": "instock", "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "default": "no", "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "weight": { "required": false, "description": "Variation weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Variation dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "image": { "required": false, "description": "Variation image data.", "type": "object" }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "/wc/v3/products/(?P<product_id>[\\d]+)/variations/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the variation.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the variation.", "type": "integer" }, "description": { "required": false, "description": "Variation description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Variation regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "Variation status.", "type": "string" }, "virtual": { "required": false, "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "required": false, "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "weight": { "required": false, "description": "Variation weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Variation dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "image": { "required": false, "description": "Variation image data.", "type": "object" }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "id": { "required": false, "description": "Unique identifier for the variation.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/products/(?P<product_id>[\\d]+)/variations/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "required": false, "description": "Unique identifier for the variable product.", "type": "integer" }, "description": { "required": false, "description": "Variation description.", "type": "string" }, "sku": { "required": false, "description": "Unique identifier.", "type": "string" }, "regular_price": { "required": false, "description": "Variation regular price.", "type": "string" }, "sale_price": { "required": false, "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "required": false, "description": "Start date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_from_gmt": { "required": false, "description": "Start date of sale price, as GMT.", "type": "date-time" }, "date_on_sale_to": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "date_on_sale_to_gmt": { "required": false, "description": "End date of sale price, in the site's timezone.", "type": "date-time" }, "status": { "required": false, "enum": [ "draft", "pending", "private", "publish" ], "description": "Variation status.", "type": "string" }, "virtual": { "required": false, "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "required": false, "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "required": false, "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "required": false, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "required": false, "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "required": false, "enum": [ "taxable", "shipping", "none" ], "description": "Tax status.", "type": "string" }, "tax_class": { "required": false, "description": "Tax class.", "type": "string" }, "manage_stock": { "required": false, "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "required": false, "description": "Stock quantity.", "type": "integer" }, "stock_status": { "required": false, "enum": [ "instock", "outofstock", "onbackorder" ], "description": "Controls the stock status of the product.", "type": "string" }, "backorders": { "required": false, "enum": [ "no", "notify", "yes" ], "description": "If managing stock, this controls if back-orders are allowed.", "type": "string" }, "weight": { "required": false, "description": "Variation weight (g).", "type": "string" }, "dimensions": { "required": false, "description": "Variation dimensions.", "type": "object" }, "shipping_class": { "required": false, "description": "Shipping class slug.", "type": "string" }, "image": { "required": false, "description": "Variation image data.", "type": "object" }, "attributes": { "required": false, "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "required": false, "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "required": false, "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": "mixed", "context": [ "view", "edit" ] } } } } } } ] }, "/wc/v3/reports/sales": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "Report period.", "type": "string" }, "date_min": { "required": false, "description": "Return sales for a specific start date; the date needs to be in the YYYY-MM-DD format.", "type": "string" }, "date_max": { "required": false, "description": "Return sales for a specific end date; the date needs to be in the YYYY-MM-DD format.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/sales" } }, "/wc/v3/reports/top_sellers": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "period": { "required": false, "enum": [ "week", "month", "last_month", "year" ], "description": "Report period.", "type": "string" }, "date_min": { "required": false, "description": "Return sales for a specific start date; the date needs to be in the YYYY-MM-DD format.", "type": "string" }, "date_max": { "required": false, "description": "Return sales for a specific end date; the date needs to be in the YYYY-MM-DD format.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/top_sellers" } }, "/wc/v3/reports/orders/totals": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/orders/totals" } }, "/wc/v3/reports/products/totals": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/products/totals" } }, "/wc/v3/reports/customers/totals": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/customers/totals" } }, "/wc/v3/reports/coupons/totals": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/coupons/totals" } }, "/wc/v3/reports/reviews/totals": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports/reviews/totals" } }, "/wc/v3/reports": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/reports" } }, "/wc/v3/settings": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/settings" } }, "/wc/v3/settings/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/settings/batch" } }, "/wc/v3/settings/(?P<group_id>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "Settings group ID.", "type": "string" } } } ] }, "/wc/v3/settings/(?P<group_id>[\\w-]+)/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "Settings group ID.", "type": "string" }, "value": { "required": false, "description": "Setting value.", "type": "mixed" } } } ] }, "/wc/v3/settings/(?P<group_id>[\\w-]+)/(?P<id>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "required": false, "description": "Settings group ID.", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "required": false, "description": "Settings group ID.", "type": "string" }, "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "value": { "required": false, "description": "Setting value.", "type": "mixed" } } } ] }, "/wc/v3/shipping/zones": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Shipping zone name.", "type": "string" }, "order": { "required": false, "description": "Shipping zone order.", "type": "integer" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/shipping/zones" } }, "/wc/v3/shipping/zones/(?P<id>[\\d-]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique ID for the resource.", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique ID for the resource.", "type": "integer" }, "name": { "required": false, "description": "Shipping zone name.", "type": "string" }, "order": { "required": false, "description": "Shipping zone order.", "type": "integer" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique ID for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/shipping/zones/(?P<id>[\\d]+)/locations": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique ID for the resource.", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique ID for the resource.", "type": "integer" }, "code": { "required": false, "description": "Shipping zone location code.", "type": "string" }, "type": { "required": false, "enum": [ "postcode", "state", "country", "continent" ], "description": "Shipping zone location type.", "type": "string" } } } ] }, "/wc/v3/shipping/zones/(?P<zone_id>[\\d]+)/methods": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "Unique ID for the zone.", "type": "integer" } } }, { "methods": [ "POST" ], "args": { "zone_id": { "required": false, "description": "Unique ID for the zone.", "type": "integer" }, "order": { "required": false, "description": "Shipping method sort order.", "type": "integer" }, "enabled": { "required": false, "description": "Shipping method enabled status.", "type": "boolean" }, "settings": { "required": false, "description": "Shipping method settings.", "type": "object" }, "method_id": { "required": true, "description": "Shipping method ID." } } } ] }, "/wc/v3/shipping/zones/(?P<zone_id>[\\d]+)/methods/(?P<instance_id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "required": false, "description": "Unique ID for the zone.", "type": "integer" }, "instance_id": { "required": false, "description": "Unique ID for the instance.", "type": "integer" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "required": false, "description": "Unique ID for the zone.", "type": "integer" }, "instance_id": { "required": false, "description": "Unique ID for the instance.", "type": "integer" }, "order": { "required": false, "description": "Shipping method sort order.", "type": "integer" }, "enabled": { "required": false, "description": "Shipping method enabled status.", "type": "boolean" }, "settings": { "required": false, "description": "Shipping method settings.", "type": "object" } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "required": false, "description": "Unique ID for the zone.", "type": "integer" }, "instance_id": { "required": false, "description": "Unique ID for the instance.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Whether to bypass bin and force deletion.", "type": "boolean" } } } ] }, "/wc/v3/taxes/classes": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": true, "description": "Tax class name.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/taxes/classes" } }, "/wc/v3/taxes/classes/(?P<slug>\\w[\\w\\s\\-]*)": { "namespace": "wc/v3", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "required": false, "description": "Unique slug for the resource.", "type": "string" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/taxes": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "asc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "order", "enum": [ "id", "order" ], "description": "Sort collection by object attribute.", "type": "string" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate" ], "description": "Sort by tax class.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "country": { "required": false, "description": "Country ISO 3166 code.", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "Postcode / ZIP.", "type": "string" }, "city": { "required": false, "description": "City name.", "type": "string" }, "rate": { "required": false, "description": "Tax rate.", "type": "string" }, "name": { "required": false, "description": "Tax rate name.", "type": "string" }, "priority": { "required": false, "default": 1, "description": "Tax priority.", "type": "integer" }, "compound": { "required": false, "default": false, "description": "Whether or not this is a compound rate.", "type": "boolean" }, "shipping": { "required": false, "default": true, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean" }, "order": { "required": false, "description": "Indicates the order that will appear in queries.", "type": "integer" }, "class": { "required": false, "default": "standard", "enum": [ "standard", "reduced-rate", "zero-rate" ], "description": "Tax class.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/taxes" } }, "/wc/v3/taxes/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "country": { "required": false, "description": "Country ISO 3166 code.", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "Postcode / ZIP.", "type": "string" }, "city": { "required": false, "description": "City name.", "type": "string" }, "rate": { "required": false, "description": "Tax rate.", "type": "string" }, "name": { "required": false, "description": "Tax rate name.", "type": "string" }, "priority": { "required": false, "description": "Tax priority.", "type": "integer" }, "compound": { "required": false, "description": "Whether or not this is a compound rate.", "type": "boolean" }, "shipping": { "required": false, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean" }, "order": { "required": false, "description": "Indicates the order that will appear in queries.", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate" ], "description": "Tax class.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/taxes/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "required": false, "description": "Country ISO 3166 code.", "type": "string" }, "state": { "required": false, "description": "State code.", "type": "string" }, "postcode": { "required": false, "description": "Postcode / ZIP.", "type": "string" }, "city": { "required": false, "description": "City name.", "type": "string" }, "rate": { "required": false, "description": "Tax rate.", "type": "string" }, "name": { "required": false, "description": "Tax rate name.", "type": "string" }, "priority": { "required": false, "description": "Tax priority.", "type": "integer" }, "compound": { "required": false, "description": "Whether or not this is a compound rate.", "type": "boolean" }, "shipping": { "required": false, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean" }, "order": { "required": false, "description": "Indicates the order that will appear in queries.", "type": "integer" }, "class": { "required": false, "enum": [ "standard", "reduced-rate", "zero-rate" ], "description": "Tax class.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/taxes/batch" } }, "/wc/v3/webhooks": { "namespace": "wc/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" }, "page": { "required": false, "default": 1, "description": "Current page of the collection.", "type": "integer" }, "per_page": { "required": false, "default": 10, "description": "Maximum number of items to be returned in result set.", "type": "integer" }, "search": { "required": false, "description": "Limit results to those matching a string.", "type": "string" }, "after": { "required": false, "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string" }, "before": { "required": false, "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string" }, "exclude": { "required": false, "default": [], "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" } }, "include": { "required": false, "default": [], "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" } }, "offset": { "required": false, "description": "Offset the result set by a specific number of items.", "type": "integer" }, "order": { "required": false, "default": "desc", "enum": [ "asc", "desc" ], "description": "Order sort attribute ascending or descending.", "type": "string" }, "orderby": { "required": false, "default": "date", "enum": [ "date", "id", "title" ], "description": "Sort collection by object attribute.", "type": "string" }, "status": { "required": false, "default": "all", "enum": [ "all", "active", "paused", "disabled" ], "description": "Limit result set to webhooks assigned a specific status.", "type": "string" } } }, { "methods": [ "POST" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "default": "active", "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": true, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string" }, "delivery_url": { "required": true, "description": "Webhook delivery URL.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/webhooks" } }, "/wc/v3/webhooks/(?P<id>[\\d]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string" } } }, { "methods": [ "DELETE" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "integer" }, "force": { "required": false, "default": false, "description": "Required to be true, as resource does not support binning.", "type": "boolean" } } } ] }, "/wc/v3/webhooks/batch": { "namespace": "wc/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "required": false, "description": "A friendly name for the webhook.", "type": "string" }, "status": { "required": false, "enum": [ "active", "paused", "disabled" ], "description": "Webhook status.", "type": "string" }, "topic": { "required": false, "description": "Webhook topic.", "type": "string" }, "secret": { "required": false, "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/webhooks/batch" } }, "/wc/v3/system_status": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/system_status" } }, "/wc/v3/system_status/tools": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/system_status/tools" } }, "/wc/v3/system_status/tools/(?P<id>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "A unique identifier for the tool.", "type": "string" }, "name": { "required": false, "description": "Tool name.", "type": "string" }, "action": { "required": false, "description": "What running the tool will do.", "type": "string" }, "description": { "required": false, "description": "Tool description.", "type": "string" }, "success": { "required": false, "description": "Did the tool run successfully?", "type": "boolean" }, "message": { "required": false, "description": "Tool return message.", "type": "string" } } } ] }, "/wc/v3/shipping_methods": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/shipping_methods" } }, "/wc/v3/shipping_methods/(?P<id>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ] }, "/wc/v3/payment_gateways": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/payment_gateways" } }, "/wc/v3/payment_gateways/(?P<id>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "context": { "required": false, "default": "view", "enum": [ "view", "edit" ], "description": "Scope under which the request is made; determines fields present in response.", "type": "string" } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": false, "description": "Unique identifier for the resource.", "type": "string" }, "title": { "required": false, "description": "Payment gateway title on checkout.", "type": "string" }, "description": { "required": false, "description": "Payment gateway description on checkout.", "type": "string" }, "order": { "required": false, "description": "Payment gateway sort order.", "type": "integer" }, "enabled": { "required": false, "description": "Payment gateway enabled status.", "type": "boolean" }, "settings": { "required": false, "description": "Payment gateway settings.", "type": "object" } } } ] }, "/wc/v3/data": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/data" } }, "/wc/v3/data/continents": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/data/continents" } }, "/wc/v3/data/continents/(?P<location>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "required": false, "description": "2 character continent code.", "type": "string" } } } ] }, "/wc/v3/data/countries": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/data/countries" } }, "/wc/v3/data/countries/(?P<location>[\\w-]+)": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "required": false, "description": "ISO3166 alpha-2 country code.", "type": "string" } } } ] }, "/wc/v3/data/currencies": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/data/currencies" } }, "/wc/v3/data/currencies/current": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": "https://121shoes.co.uk/wp-json/wc/v3/data/currencies/current" } }, "/wc/v3/data/currencies/(?P<currency>[\\w-]{3})": { "namespace": "wc/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "required": false, "description": "ISO4217 currency code.", "type": "string" } } } ] } }, "_links": { "up": [ { "href": "https://121shoes.co.uk/wp-json/" } ] } }Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksWhen I test with the V3 endpoint, the returned data is still:
{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Sorry, you cannot list resources.”,
“data”: {
“status”: 401
}
}Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksI pasted the woocommerce system report above.
Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworks### WordPress Environment ### Home URL: https://121shoes.co.uk Site URL: https://121shoes.co.uk WC Version: 3.4.8 Log Directory Writable: ✔ WP Version: ❌ 5.2.15 - There is a newer version of WordPress available (6.0) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.30 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.68.0 OpenSSL/1.1.1f SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.34-MariaDB-0ubuntu0.20.04.1 Max Upload Size: 8 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.4.8 WC Database Prefix: JPBpIkck_ MaxMind GeoIP Database: ✔ Total Database Size: 781.73MB Database Data Size: 607.65MB Database Index Size: 174.08MB JPBpIkck_woocommerce_sessions: Data: 111.02MB + Index: 2.02MB JPBpIkck_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB JPBpIkck_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB JPBpIkck_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB JPBpIkck_woocommerce_order_items: Data: 0.44MB + Index: 0.14MB JPBpIkck_woocommerce_order_itemmeta: Data: 5.52MB + Index: 4.03MB JPBpIkck_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB JPBpIkck_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB JPBpIkck_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB JPBpIkck_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB JPBpIkck_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB JPBpIkck_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB JPBpIkck_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB JPBpIkck_woocommerce_log: Data: 0.02MB + Index: 0.02MB JPBpIkck_actionscheduler_actions: Data: 1.02MB + Index: 0.48MB JPBpIkck_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB JPBpIkck_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB JPBpIkck_actionscheduler_logs: Data: 1.02MB + Index: 0.20MB JPBpIkck_aryo_activity_log: Data: 1.02MB + Index: 0.00MB JPBpIkck_aws_index: Data: 0.02MB + Index: 0.00MB JPBpIkck_berocket_termmeta: Data: 0.02MB + Index: 0.00MB JPBpIkck_commentmeta: Data: 0.02MB + Index: 0.03MB JPBpIkck_comments: Data: 2.52MB + Index: 1.27MB JPBpIkck_dokan_announcement: Data: 0.02MB + Index: 0.00MB JPBpIkck_dokan_orders: Data: 0.02MB + Index: 0.03MB JPBpIkck_dokan_refund: Data: 0.02MB + Index: 0.00MB JPBpIkck_dokan_vendor_balance: Data: 0.02MB + Index: 0.00MB JPBpIkck_dokan_withdraw: Data: 0.02MB + Index: 0.00MB JPBpIkck_duplicator_packages: Data: 0.03MB + Index: 0.02MB JPBpIkck_ebay_accounts: Data: 0.02MB + Index: 0.00MB JPBpIkck_ebay_auctions: Data: 6.52MB + Index: 0.14MB JPBpIkck_ebay_categories: Data: 2.52MB + Index: 1.88MB JPBpIkck_ebay_jobs: Data: 0.02MB + Index: 0.00MB JPBpIkck_ebay_log: Data: 0.02MB + Index: 0.05MB JPBpIkck_ebay_messages: Data: 0.02MB + Index: 0.00MB JPBpIkck_ebay_orders: Data: 0.09MB + Index: 0.02MB JPBpIkck_ebay_payment: Data: 0.02MB + Index: 0.00MB JPBpIkck_ebay_profiles: Data: 0.08MB + Index: 0.00MB JPBpIkck_ebay_shipping: Data: 0.05MB + Index: 0.00MB JPBpIkck_ebay_sites: Data: 0.08MB + Index: 0.00MB JPBpIkck_ebay_store_categories: Data: 0.02MB + Index: 0.03MB JPBpIkck_ebay_transactions: Data: 0.09MB + Index: 0.05MB JPBpIkck_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB JPBpIkck_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB JPBpIkck_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB JPBpIkck_failed_jobs: Data: 0.02MB + Index: 0.00MB JPBpIkck_grp_google_place: Data: 0.02MB + Index: 0.02MB JPBpIkck_grp_google_review: Data: 0.02MB + Index: 0.03MB JPBpIkck_itsec_distributed_storage: Data: 0.02MB + Index: 0.02MB JPBpIkck_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB JPBpIkck_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB JPBpIkck_itsec_lockouts: Data: 0.02MB + Index: 0.08MB JPBpIkck_itsec_logs: Data: 0.02MB + Index: 0.09MB JPBpIkck_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB JPBpIkck_itsec_temp: Data: 0.02MB + Index: 0.06MB JPBpIkck_links: Data: 0.02MB + Index: 0.02MB JPBpIkck_mailchimp_carts: Data: 0.05MB + Index: 0.00MB JPBpIkck_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB JPBpIkck_mdf_stat_buffer: Data: 0.00MB + Index: 0.00MB JPBpIkck_mdf_stat_tmp: Data: 0.00MB + Index: 0.00MB JPBpIkck_newsletter: Data: 0.09MB + Index: 0.03MB JPBpIkck_newsletter_emails: Data: 0.22MB + Index: 0.00MB JPBpIkck_newsletter_sent: Data: 0.02MB + Index: 0.03MB JPBpIkck_newsletter_stats: Data: 0.02MB + Index: 0.03MB JPBpIkck_newsletter_user_logs: Data: 0.05MB + Index: 0.00MB JPBpIkck_options: Data: 25.02MB + Index: 4.23MB JPBpIkck_pmxe_exports: Data: 0.02MB + Index: 0.00MB JPBpIkck_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB JPBpIkck_pmxe_posts: Data: 0.02MB + Index: 0.00MB JPBpIkck_pmxe_templates: Data: 0.02MB + Index: 0.00MB JPBpIkck_pmxi_files: Data: 0.02MB + Index: 0.00MB JPBpIkck_pmxi_history: Data: 0.02MB + Index: 0.00MB JPBpIkck_pmxi_imports: Data: 1.52MB + Index: 0.00MB JPBpIkck_pmxi_posts: Data: 1.52MB + Index: 0.00MB JPBpIkck_pmxi_templates: Data: 0.02MB + Index: 0.00MB JPBpIkck_postmeta: Data: 365.98MB + Index: 121.34MB JPBpIkck_posts: Data: 33.56MB + Index: 21.08MB JPBpIkck_queue: Data: 0.02MB + Index: 0.00MB JPBpIkck_sfa_abandoned_carts: Data: 2.52MB + Index: 0.00MB JPBpIkck_shortpixel_folders: Data: 0.02MB + Index: 0.02MB JPBpIkck_shortpixel_meta: Data: 0.02MB + Index: 0.02MB JPBpIkck_smush_dir_images: Data: 0.02MB + Index: 0.03MB JPBpIkck_termmeta: Data: 0.13MB + Index: 0.19MB JPBpIkck_terms: Data: 0.11MB + Index: 0.13MB JPBpIkck_term_relationships: Data: 4.52MB + Index: 3.45MB JPBpIkck_term_taxonomy: Data: 0.11MB + Index: 0.14MB JPBpIkck_tinvwl_items: Data: 0.02MB + Index: 0.00MB JPBpIkck_tinvwl_lists: Data: 0.02MB + Index: 0.00MB JPBpIkck_usermeta: Data: 10.52MB + Index: 10.03MB JPBpIkck_users: Data: 1.52MB + Index: 0.89MB JPBpIkck_wc_download_log: Data: 0.02MB + Index: 0.03MB JPBpIkck_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB JPBpIkck_wc_webhooks: Data: 0.02MB + Index: 0.02MB JPBpIkck_wdp_orders: Data: 0.02MB + Index: 0.05MB JPBpIkck_wdp_order_items: Data: 0.02MB + Index: 0.06MB JPBpIkck_wdp_rules: Data: 0.02MB + Index: 0.03MB JPBpIkck_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB JPBpIkck_wdr_order_item_discounts: Data: 0.05MB + Index: 0.00MB JPBpIkck_wdr_rules: Data: 0.14MB + Index: 0.00MB JPBpIkck_wfblockediplog: Data: 0.02MB + Index: 0.00MB JPBpIkck_wfblocks7: Data: 0.02MB + Index: 0.05MB JPBpIkck_wfconfig: Data: 1.28MB + Index: 0.00MB JPBpIkck_wfcrawlers: Data: 0.02MB + Index: 0.00MB JPBpIkck_wffilechanges: Data: 0.02MB + Index: 0.00MB JPBpIkck_wffilemods: Data: 11.52MB + Index: 0.00MB JPBpIkck_wfhits: Data: 2.02MB + Index: 0.23MB JPBpIkck_wfhoover: Data: 0.02MB + Index: 0.02MB JPBpIkck_wfissues: Data: 1.52MB + Index: 0.14MB JPBpIkck_wfknownfilelist: Data: 4.52MB + Index: 0.00MB JPBpIkck_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB JPBpIkck_wflocs: Data: 0.02MB + Index: 0.00MB JPBpIkck_wflogins: Data: 1.02MB + Index: 0.16MB JPBpIkck_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB JPBpIkck_wfls_settings: Data: 0.02MB + Index: 0.00MB JPBpIkck_wfnotifications: Data: 0.02MB + Index: 0.00MB JPBpIkck_wfpendingissues: Data: 0.02MB + Index: 0.06MB JPBpIkck_wfreversecache: Data: 0.02MB + Index: 0.00MB JPBpIkck_wfsnipcache: Data: 0.02MB + Index: 0.05MB JPBpIkck_wfstatus: Data: 0.14MB + Index: 0.11MB JPBpIkck_wftrafficrates: Data: 0.02MB + Index: 0.00MB JPBpIkck_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB JPBpIkck_woof_query_cache: Data: 0.17MB + Index: 0.14MB JPBpIkck_woof_stat_buffer: Data: 0.02MB + Index: 0.00MB JPBpIkck_woof_stat_tmp: Data: 0.02MB + Index: 0.00MB JPBpIkck_wpfb_post_templates: Data: 0.02MB + Index: 0.00MB JPBpIkck_wpfb_reviews: Data: 0.02MB + Index: 0.00MB JPBpIkck_wpf_filters: Data: 0.02MB + Index: 0.00MB JPBpIkck_wt_iew_action_history: Data: 0.27MB + Index: 0.00MB JPBpIkck_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB JPBpIkck_yoast_seo_links: Data: 0.45MB + Index: 0.11MB JPBpIkck_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB ### Post Type Counts ### attachment: 76573 br_product_filter: 1 logocarousel: 15 meta_data_filter: 1 nav_menu_item: 16 oembed_cache: 1 page: 26 post: 8 product: 3102 product_variation: 25209 revision: 1334 sa_slider: 1 shop_coupon: 46 shop_order: 2394 shop_order_refund: 339 vcv_templates: 9 woo_product_tab: 3 wp_block: 1 wpcf7_contact_form: 2 yith_wcan_preset: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (57) ### ACF Content Analysis for Yoast SEO: by Thomas Kräftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 2.3.0 Advanced Custom Fields: by Elliot Condon – 5.8.8 WooCommerce Advanced Product Labels: by BeRocket – 1.2.3.4 FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.15.0 All-in-One WP Migration: by ServMask – 7.24 Activity Log: by Activity Log Team – 2.8.1 Breadcrumb NavXT: by John Havlik – 6.4.0 Business WorldPay Gateway for Woocommerce: by MDSDev – 1.4.0 – Not tested with the active version of WooCommerce Change wp-admin login: by Nuno Morais Sarmento – 1.0.0 Classic Editor: by WordPress Contributors – 1.6.2 Combo Woocommerce Wishlist & Compare: by ashwani_multi – 1.0 – Not tested with the active version of WooCommerce Contact Form 7: by Takayuki Miyoshi – 5.1.7 GDPR Cookie Consent: by WebToffee – 1.8.5 Duplicator: by Snap Creek – 1.3.28 Google Tag Manager for WordPress: by Thomas Geiger – 1.14.1 Export Media Library: by Mass Edge Inc. – 3.0.1 Facebook for WooCommerce: by Facebook – 2.6.9 IgniteWoo Updater: by IgniteWoo.com – 3.0.2 Klarna On-Site Messaging for WooCommerce: by krokedil klarna – 1.3.1 Klarna Order Management for WooCommerce: by klarna krokedil – 1.6.8 Klarna Payments for WooCommerce: by krokedil klarna automattic – 2.3.2 WooCommerce Load More Products: by BeRocket – 1.1.9.3 Logo Carousel Slider: by AazzTech – 2.1 Mailchimp for WooCommerce: by Mailchimp – 2.3.4 Manage XML-RPC: by brainvireinfo – 1.0 OnSale Page for WooCommerce: by wpgenie – 1.1.0 PHP Compatibility Checker: by WP Engine – 1.5.0 Product CSV Import Export (BASIC): by WebToffee – 2.1.8 WooCommerce Quantity Increment: by Nick Verwymeren – 1.1.1 – Not tested with the active version of WooCommerce Recently viewed and most viewed products: by CedCommerce – 1.0.12 Server IP & Memory Usage Display: by Apasionados Apasionados del Marketing – 2.1.0 TAG Integration: by TAG – 1.0 Trustpilot-reviews: by Trustpilot – 2.5.800 – Not tested with the active version of WooCommerce Under Construction: by WebFactory Ltd – 3.65 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.69 Abandoned Cart Reports For WooCommerce: by Small Fish Analytics – 2.6.2 WC Variations Radio Buttons: by 8manos – 2.0.1 – Not tested with the active version of WooCommerce Google Reviews Widget: by RichPlugins – 1.8.6 Woo Discount Rules PRO 2.0: by Flycart – 2.3.11 Woo Discount Rules: by Flycart – 2.3.11 Woo Out Of Stock Products: by Andrew Gunn – 2.3 – Not tested with the active version of WooCommerce Advanced Woocommerce Product Gallery Slider: by UnikInfotech – 2.0.0 – Not tested with the active version of WooCommerce WooCommerce Stripe Gateway: by WooCommerce – 4.3.2 WooCommerce Pixel Manager: by woopt – 1.11.7 WooCommerce Google Product Feed: by Ademti Software Ltd. – 7.8.5 – 10.7.3 is available WooCommerce Product Tabs: by WP Concern – 2.0.7 WOOF - WooCommerce Products Filter: by realmag777 – 1.2.6.3 WooCommerce Remove All Products: by Gabriel Reguly – 4.2 WooCommerce Restrict Shipping: by IgniteWoo – 2.1 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.4.8 WOOF by Category: by KAGG Design – 2.14 Wordfence Assistant: by Wordfence – 1.0.9 Wordfence Security: by Wordfence – 7.5.7 Yoast SEO: by Team Yoast – 13.2 WP REST API Controller: by Evan Herman – 2.1.0 WP Rocket: by WP Media – 3.8.0.1 WPMU DEV Dashboard: by WPMU DEV – 4.11.13 ### Settings ### API Enabled: ✔ Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Shop base: #4 - /shop/ Basket: #5 - /basket/ Checkout: #6 - /checkout/ My account: #7 - /my-account/ Terms and conditions: #53 - /terms-conditions/ ### Theme ### Name: 121Shoes Theme Version: 0.5.0 Author URL: https://www.hnitecki.pl Child Theme: ✔ Parent Theme Name: Understrap Parent Theme Version: 1.1.0 Parent Theme Author URL: https://howarddc.com WooCommerce Support: ✔ ### Templates ### Overrides: 121shoes-theme/woocommerce/archive-product.php version 3.3.0 is out of date. The core version is 3.4.0 understrap/woocommerce/cart/cart-empty.php understrap/woocommerce/cart/cart.php understrap/woocommerce/cart/proceed-to-checkout-button.php understrap/woocommerce/checkout/form-checkout.php understrap/woocommerce/checkout/form-coupon.php understrap/woocommerce/checkout/form-pay.php understrap/woocommerce/checkout/payment.php 121shoes-theme/woocommerce/content-product.php version 3.0.0 is out of date. The core version is 3.4.0 121shoes-theme/woocommerce/content-single-product.php understrap/woocommerce/global/form-login.php understrap/woocommerce/loop/add-to-cart.php understrap/woocommerce/loop/orderby.php 121shoes-theme/woocommerce/loop/sale-flash.php understrap/woocommerce/myaccount/downloads.php understrap/woocommerce/myaccount/form-edit-account.php understrap/woocommerce/myaccount/form-edit-address.php understrap/woocommerce/myaccount/form-login.php understrap/woocommerce/myaccount/form-lost-password.php understrap/woocommerce/myaccount/form-reset-password.php understrap/woocommerce/myaccount/my-address.php understrap/woocommerce/myaccount/my-orders.php understrap/woocommerce/myaccount/navigation.php understrap/woocommerce/myaccount/orders.php understrap/woocommerce/product-searchform.php 121shoes-theme/woocommerce/single-product/add-to-cart/simple.php 121shoes-theme/woocommerce/single-product/add-to-cart/variable.php version 2.5.0 is out of date. The core version is 3.4.1 understrap/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php 121shoes-theme/woocommerce/single-product/meta.php 121shoes-theme/woocommerce/single-product/related.php 121shoes-theme/woocommerce/single-product/sale-flash.php 121shoes-theme/woocommerce/single-product/tabs/tabs.php 121shoes-theme/woocommerce/single-product/title.php 121shoes-theme/woocommerce/single-product/up-sells.php 121shoes-theme/woocommerce/single-product-reviews.php 121shoes-theme/woocommerce/single-product.php Outdated Templates: ❌ Learn how to update ### WooCommerce Google Product Feed fields ### Product description: Main product description (full preferred) plus variation description. Availability: Defaults to "in stock". Condition: Defaults to "new". Brand: Manufacturer Part Number (MPN): Product Type: Google Product Category: Global Trade Item Number (GTIN): Size system: ### WooCommerce Google Product Feed options ### Include variations in feed: Enabled Send item_group_id: No ### Action Scheduler ### Canceled: 1 Oldest: 2022-06-14 09:12:13 +0100 Newest: 2022-06-14 09:12:13 +0100 Complete: 1,221 Oldest: 2022-06-05 18:40:47 +0100 Newest: 2022-07-05 17:53:14 +0100Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksHi @rur165 ,
Does my woocommerce version need to be greater than 3.5 to use the V3 endpoint?Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksBut when I send a request to https://121shoes.co.uk/wp-json/wc/v2/products it still returns:
{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Sorry, you cannot list resources.”,
“data”: {
“status”: 401
}
}`Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksHi,
I used postman to send https://121shoes.co.uk/wp-json/wc/v2?_jsonp=callback request and he returned the following data:
/**/callback({"namespace":"wc\/v2","routes":{"\/wc\/v2":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"wc\/v2"},"context":{"required":false,"default":"view"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2"}},"\/wc\/v2\/coupons":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"code":{"required":false,"description":"Limit result set to resources with a specific code.","type":"string"}}},{"methods":["POST"],"args":{"code":{"required":true,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"default":"fixed_cart","enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":"string"},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":"string"},"individual_use":{"required":false,"default":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","type":"integer"},"usage_limit_per_user":{"required":false,"description":"How many times the coupon can be used per customer.","type":"integer"},"limit_usage_to_x_items":{"required":false,"description":"Max number of items in the basket the coupon can be applied to.","type":"integer"},"free_shipping":{"required":false,"default":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"default":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean"},"minimum_amount":{"required":false,"description":"Minimum order amount that needs to be in the basket before coupon applies.","type":"string"},"maximum_amount":{"required":false,"description":"Maximum order amount allowed when using the coupon.","type":"string"},"email_restrictions":{"required":false,"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/coupons"}},"\/wc\/v2\/coupons\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":"string"},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":"string"},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","type":"integer"},"usage_limit_per_user":{"required":false,"description":"How many times the coupon can be used per customer.","type":"integer"},"limit_usage_to_x_items":{"required":false,"description":"Max number of items in the basket the coupon can be applied to.","type":"integer"},"free_shipping":{"required":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean"},"minimum_amount":{"required":false,"description":"Minimum order amount that needs to be in the basket before coupon applies.","type":"string"},"maximum_amount":{"required":false,"description":"Maximum order amount allowed when using the coupon.","type":"string"},"email_restrictions":{"required":false,"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/coupons\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"code":{"required":false,"description":"Coupon code.","type":"string"},"amount":{"required":false,"description":"The amount of discount. Should always be numeric, even if setting a percentage.","type":"string"},"discount_type":{"required":false,"enum":["percent","fixed_cart","fixed_product"],"description":"Determines the type of discount that will be applied.","type":"string"},"description":{"required":false,"description":"Coupon description.","type":"string"},"date_expires":{"required":false,"description":"The date the coupon expires, in the site's timezone.","type":"string"},"date_expires_gmt":{"required":false,"description":"The date the coupon expires, as GMT.","type":"string"},"individual_use":{"required":false,"description":"If true, the coupon can only be used individually. Other applied coupons will be removed from the basket.","type":"boolean"},"product_ids":{"required":false,"description":"List of product IDs the coupon can be used on.","type":"array","items":{"type":"integer"}},"excluded_product_ids":{"required":false,"description":"List of product IDs the coupon cannot be used on.","type":"array","items":{"type":"integer"}},"usage_limit":{"required":false,"description":"How many times the coupon can be used in total.","type":"integer"},"usage_limit_per_user":{"required":false,"description":"How many times the coupon can be used per customer.","type":"integer"},"limit_usage_to_x_items":{"required":false,"description":"Max number of items in the basket the coupon can be applied to.","type":"integer"},"free_shipping":{"required":false,"description":"If true and if the free shipping method requires a coupon, this coupon will enable free shipping.","type":"boolean"},"product_categories":{"required":false,"description":"List of category IDs the coupon applies to.","type":"array","items":{"type":"integer"}},"excluded_product_categories":{"required":false,"description":"List of category IDs the coupon does not apply to.","type":"array","items":{"type":"integer"}},"exclude_sale_items":{"required":false,"description":"If true, this coupon will not be applied to items that have sale prices.","type":"boolean"},"minimum_amount":{"required":false,"description":"Minimum order amount that needs to be in the basket before coupon applies.","type":"string"},"maximum_amount":{"required":false,"description":"Maximum order amount allowed when using the coupon.","type":"string"},"email_restrictions":{"required":false,"description":"List of email addresses that can use this coupon.","type":"array","items":{"type":"string"}},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/coupons\/batch"}},"\/wc\/v2\/customers\/(?P<customer_id>[\\d]+)\/downloads":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"customer_id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/customers":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","registered_date"],"description":"Sort collection by object attribute.","type":"string"},"email":{"required":false,"description":"Limit result set to resources with a specific email.","type":"string"},"role":{"required":false,"default":"customer","enum":["all","administrator","editor","author","contributor","subscriber","customer","shop_manager","seller","wpseo_manager","wpseo_editor"],"description":"Limit result set to resources with a specific role.","type":"string"}}},{"methods":["POST"],"args":{"email":{"required":true,"description":"New user email address.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"New user username.","type":"string"},"password":{"required":true,"description":"New user password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/customers"}},"\/wc\/v2\/customers\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"},"reassign":{"required":false,"default":0,"description":"ID to reassign posts to.","type":"integer"}}}]},"\/wc\/v2\/customers\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"email":{"required":false,"description":"The email address for the customer.","type":"string"},"first_name":{"required":false,"description":"Customer first name.","type":"string"},"last_name":{"required":false,"description":"Customer last name.","type":"string"},"username":{"required":false,"description":"Customer login name.","type":"string"},"password":{"required":false,"description":"Customer password.","type":"string"},"billing":{"required":false,"description":"List of billing address data.","type":"object"},"shipping":{"required":false,"description":"List of shipping address data.","type":"object"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/customers\/batch"}},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/notes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"type":{"required":false,"default":"any","enum":["any","customer","internal"],"description":"Limit result to customers or internal notes.","type":"string"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"note":{"required":true,"description":"Order note content.","type":"string"},"customer_note":{"required":false,"default":false,"description":"If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/notes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"order_id":{"required":false,"description":"The order ID.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/refunds":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"amount":{"required":false,"description":"Refund amount.","type":"string"},"reason":{"required":false,"description":"Reason for refund.","type":"string"},"refunded_by":{"required":false,"description":"User ID of user who created the refund.","type":"integer"},"refunded_payment":{"required":false,"description":"If the payment was refunded via the API.","type":"boolean"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"api_refund":{"required":false,"default":true,"description":"When true, the payment gateway API is used to generate the refund.","type":"boolean"}}}]},"\/wc\/v2\/orders\/(?P<order_id>[\\d]+)\/refunds\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["DELETE"],"args":{"order_id":{"required":false,"description":"The order ID.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/orders":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"status":{"required":false,"default":"any","enum":["any","pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Limit result set to orders assigned a specific status.","type":"string"},"customer":{"required":false,"description":"Limit result set to orders assigned a specific customer.","type":"integer"},"product":{"required":false,"description":"Limit result set to orders assigned a specific product.","type":"integer"},"dp":{"required":false,"default":2,"description":"Number of decimal points to use in each resource.","type":"integer"}}},{"methods":["POST"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"default":"pending","enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"default":"GBP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"default":0,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":"mixed","context":["view","edit"]},"product_id":{"description":"Product ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":"mixed","context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":"mixed","context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}},"set_paid":{"required":false,"default":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/orders"}},"\/wc\/v2\/orders\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":"mixed","context":["view","edit"]},"product_id":{"description":"Product ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":"mixed","context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":"mixed","context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/orders\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"required":false,"description":"Parent order ID.","type":"integer"},"status":{"required":false,"enum":["pending","processing","on-hold","completed","cancelled","refunded","failed"],"description":"Order status.","type":"string"},"currency":{"required":false,"enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYR","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","IRT","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"description":"Currency the order was created with, in ISO format.","type":"string"},"customer_id":{"required":false,"description":"User ID who owns the order. 0 for guests.","type":"integer"},"customer_note":{"required":false,"description":"Note left by customer during checkout.","type":"string"},"billing":{"required":false,"description":"Billing address.","type":"object"},"shipping":{"required":false,"description":"Shipping address.","type":"object"},"payment_method":{"required":false,"description":"Payment method ID.","type":"string"},"payment_method_title":{"required":false,"description":"Payment method title.","type":"string"},"transaction_id":{"required":false,"description":"Unique transaction ID.","type":"string"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"line_items":{"required":false,"description":"Line items data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Product name.","type":"mixed","context":["view","edit"]},"product_id":{"description":"Product ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}},"sku":{"description":"Product SKU.","type":"string","context":["view","edit"],"readonly":true},"price":{"description":"Product price.","type":"number","context":["view","edit"],"readonly":true}}}},"shipping_lines":{"required":false,"description":"Shipping lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"method_title":{"description":"Shipping method name.","type":"mixed","context":["view","edit"]},"method_id":{"description":"Shipping method ID.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"fee_lines":{"required":false,"description":"Fee lines data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"name":{"description":"Fee name.","type":"mixed","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":"mixed","context":["view","edit"]}}}}}}},"coupon_lines":{"required":false,"description":"Coupons line data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Item ID.","type":"integer","context":["view","edit"],"readonly":true},"code":{"description":"Coupon code.","type":"mixed","context":["view","edit"]},"discount":{"description":"Discount total.","type":"string","context":["view","edit"]},"discount_tax":{"description":"Discount total tax.","type":"string","context":["view","edit"],"readonly":true},"meta_data":{"description":"Meta data.","type":"array","context":["view","edit"],"items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}},"set_paid":{"required":false,"description":"Define if the order is paid. It will set the status to processing and reduce stock items.","type":"boolean"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/orders\/batch"}},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific ids.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/products\/attributes\/(?P<attribute_id>[\\d]+)\/terms\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"attribute_id":{"required":false,"description":"Unique identifier for the attribute of the terms.","type":"integer"},"name":{"required":false,"description":"Term name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}]},"\/wc\/v2\/products\/attributes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"default":"select","enum":["select"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"default":"menu_order","enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"default":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/attributes"}},"\/wc\/v2\/products\/attributes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":true,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/products\/attributes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Attribute name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"type":{"required":false,"enum":["select"],"description":"Type of attribute.","type":"string"},"order_by":{"required":false,"enum":["menu_order","name","name_num","id"],"description":"Default sort order.","type":"string"},"has_archives":{"required":false,"description":"Enable\/Disable attribute archives.","type":"boolean"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/attributes\/batch"}},"\/wc\/v2\/products\/categories":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific ids.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"parent":{"required":false,"description":"Limit result set to resources assigned to a specific parent.","type":"integer"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"default":"default","enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/categories"}},"\/wc\/v2\/products\/categories\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/products\/categories\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Category name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"parent":{"required":false,"description":"The ID for the parent of the resource.","type":"integer"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"},"display":{"required":false,"enum":["default","products","subcategories","both"],"description":"Category archive display type.","type":"string"},"image":{"required":false,"description":"Image data.","type":"object"},"menu_order":{"required":false,"description":"Menu order, used to custom sort the resource.","type":"integer"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/categories\/batch"}},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"review":{"required":true,"description":"Review content.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":"date-time"},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":"date-time"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":true,"description":"Name of the reviewer.","type":"string"},"email":{"required":true,"description":"Email of the reviewer.","type":"string"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"review":{"required":false,"description":"The content of the review.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":"date-time"},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":"date-time"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":false,"description":"Reviewer name.","type":"string"},"email":{"required":false,"description":"Reviewer email.","type":"string"}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/reviews\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"review":{"required":false,"description":"The content of the review.","type":"string"},"date_created":{"required":false,"description":"The date the review was created, in the site's timezone.","type":"date-time"},"date_created_gmt":{"required":false,"description":"The date the review was created, as GMT.","type":"date-time"},"rating":{"required":false,"description":"Review rating (0 to 5).","type":"integer"},"name":{"required":false,"description":"Reviewer name.","type":"string"},"email":{"required":false,"description":"Reviewer email.","type":"string"}}}]},"\/wc\/v2\/products\/shipping_classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific ids.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/shipping_classes"}},"\/wc\/v2\/products\/shipping_classes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/products\/shipping_classes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Shipping class name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"}},"\/wc\/v2\/products\/tags":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific ids.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"name","enum":["id","include","name","slug","term_group","description","count"],"description":"Sort collection by resource attribute.","type":"string"},"hide_empty":{"required":false,"default":false,"description":"Whether to hide resources not assigned to any products.","type":"boolean"},"product":{"required":false,"description":"Limit result set to resources assigned to a specific product.","type":"integer"},"slug":{"required":false,"description":"Limit result set to resources with a specific slug.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Name for the resource.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/tags"}},"\/wc\/v2\/products\/tags\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/products\/tags\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Tag name.","type":"string"},"slug":{"required":false,"description":"An alphanumeric identifier for the resource unique to its type.","type":"string"},"description":{"required":false,"description":"HTML description of the resource.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/tags\/batch"}},"\/wc\/v2\/products":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (requires an assigned attribute).","type":"string"},"in_stock":{"required":false,"description":"Limit result set to products in stock or out of stock.","type":"boolean"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"default":"simple","enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"default":"publish","enum":["draft","pending","private","publish"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"default":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"default":"visible","enum":["visible","catalog","search","hidden"],"description":"Catalogue visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"virtual":{"required":false,"default":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"default":true,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"sold_individually":{"required":false,"default":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (g).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"default":true,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"gpf_data":{"required":false,"description":"Google product feed data","type":"object","items":{"description":{"description":"Google product feed: Product description","type":"string","context":["view","edit"]},"availability":{"description":"Google product feed: Availability","type":"string","context":["view","edit"]},"is_bundle":{"description":"Google product feed: Bundle indicator (is_bundle)","type":"string","context":["view","edit"]},"availability_date":{"description":"Google product feed: Availability date","type":"string","context":["view","edit"]},"condition":{"description":"Google product feed: Condition","type":"string","context":["view","edit"]},"brand":{"description":"Google product feed: Brand","type":"string","context":["view","edit"]},"mpn":{"description":"Google product feed: Manufacturer Part Number (MPN)","type":"string","context":["view","edit"]},"product_type":{"description":"Google product feed: Product Type","type":"string","context":["view","edit"]},"google_product_category":{"description":"Google product feed: Google Product Category","type":"string","context":["view","edit"]},"gtin":{"description":"Google product feed: Global Trade Item Number (GTIN)","type":"string","context":["view","edit"]},"gender":{"description":"Google product feed: Gender","type":"string","context":["view","edit"]},"age_group":{"description":"Google product feed: Age Group","type":"string","context":["view","edit"]},"color":{"description":"Google product feed: Colour","type":"string","context":["view","edit"]},"size":{"description":"Google product feed: Size","type":"string","context":["view","edit"]},"size_type":{"description":"Google product feed: Size type","type":"string","context":["view","edit"]},"size_system":{"description":"Google product feed: Size system","type":"string","context":["view","edit"]},"unit_pricing_measure":{"description":"Google product feed: Unit pricing measure","type":"string","context":["view","edit"]},"unit_pricing_base_measure":{"description":"Google product feed: Unit pricing base measure","type":"string","context":["view","edit"]},"multipack":{"description":"Google product feed: Multipack","type":"string","context":["view","edit"]},"installment":{"description":"Google product feed: Instalment","type":"string","context":["view","edit"]},"material":{"description":"Google product feed: Material","type":"string","context":["view","edit"]},"pattern":{"description":"Google product feed: Pattern","type":"string","context":["view","edit"]},"adult":{"description":"Google product feed: Adult content","type":"string","context":["view","edit"]},"identifier_exists":{"description":"Google product feed: Identifier exists flag","type":"string","context":["view","edit"]},"adwords_grouping":{"description":"Google product feed: Adwords grouping filter","type":"string","context":["view","edit"]},"adwords_labels":{"description":"Google product feed: Adwords labels","type":"string","context":["view","edit"]},"bing_category":{"description":"Google product feed: Bing Category","type":"string","context":["view","edit"]},"delivery_label":{"description":"Google product feed: Delivery label","type":"string","context":["view","edit"]},"min_handling_time":{"description":"Google product feed: Minimum handling time","type":"string","context":["view","edit"]},"max_handling_time":{"description":"Google product feed: Maximum handling time","type":"string","context":["view","edit"]},"energy_efficiency_class":{"description":"Google product feed: Energy efficiency class","type":"string","context":["view","edit"]},"min_energy_efficiency_class":{"description":"Google product feed: Minimum energy efficiency class","type":"string","context":["view","edit"]},"max_energy_efficiency_class":{"description":"Google product feed: Maximum energy efficiency class","type":"string","context":["view","edit"]},"cost_of_goods_sold":{"description":"Google product feed: Cost of goods sold","type":"string","context":["view","edit"]},"included_destination":{"description":"Google product feed: Included destination","type":"string","context":["view","edit"]},"excluded_destination":{"description":"Google product feed: Excluded destination","type":"string","context":["view","edit"]},"custom_label_0":{"description":"Google product feed: Custom label 0","type":"string","context":["view","edit"]},"custom_label_1":{"description":"Google product feed: Custom label 1","type":"string","context":["view","edit"]},"custom_label_2":{"description":"Google product feed: Custom label 2","type":"string","context":["view","edit"]},"custom_label_3":{"description":"Google product feed: Custom label 3","type":"string","context":["view","edit"]},"custom_label_4":{"description":"Google product feed: Custom label 4","type":"string","context":["view","edit"]},"promotion_id":{"description":"Google product feed: Promotion ID","type":"string","context":["view","edit"]},"shippingprice":{"description":"Google product feed: Bing shipping info (price only)","type":"string","context":["view","edit"]},"shippingcountryprice":{"description":"Google product feed: Bing shipping info (country and price)","type":"string","context":["view","edit"]},"shippingcountryserviceprice":{"description":"Google product feed: Bing shipping info (country, service and price)","type":"string","context":["view","edit"]},"exclude_product":{"description":"Google product feed: Hide product from feed (Y\/N)","type":"string","context":["view","edit"]}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products"}},"\/wc\/v2\/products\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalogue visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (g).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"gpf_data":{"required":false,"description":"Google product feed data","type":"object","items":{"description":{"description":"Google product feed: Product description","type":"string","context":["view","edit"]},"availability":{"description":"Google product feed: Availability","type":"string","context":["view","edit"]},"is_bundle":{"description":"Google product feed: Bundle indicator (is_bundle)","type":"string","context":["view","edit"]},"availability_date":{"description":"Google product feed: Availability date","type":"string","context":["view","edit"]},"condition":{"description":"Google product feed: Condition","type":"string","context":["view","edit"]},"brand":{"description":"Google product feed: Brand","type":"string","context":["view","edit"]},"mpn":{"description":"Google product feed: Manufacturer Part Number (MPN)","type":"string","context":["view","edit"]},"product_type":{"description":"Google product feed: Product Type","type":"string","context":["view","edit"]},"google_product_category":{"description":"Google product feed: Google Product Category","type":"string","context":["view","edit"]},"gtin":{"description":"Google product feed: Global Trade Item Number (GTIN)","type":"string","context":["view","edit"]},"gender":{"description":"Google product feed: Gender","type":"string","context":["view","edit"]},"age_group":{"description":"Google product feed: Age Group","type":"string","context":["view","edit"]},"color":{"description":"Google product feed: Colour","type":"string","context":["view","edit"]},"size":{"description":"Google product feed: Size","type":"string","context":["view","edit"]},"size_type":{"description":"Google product feed: Size type","type":"string","context":["view","edit"]},"size_system":{"description":"Google product feed: Size system","type":"string","context":["view","edit"]},"unit_pricing_measure":{"description":"Google product feed: Unit pricing measure","type":"string","context":["view","edit"]},"unit_pricing_base_measure":{"description":"Google product feed: Unit pricing base measure","type":"string","context":["view","edit"]},"multipack":{"description":"Google product feed: Multipack","type":"string","context":["view","edit"]},"installment":{"description":"Google product feed: Instalment","type":"string","context":["view","edit"]},"material":{"description":"Google product feed: Material","type":"string","context":["view","edit"]},"pattern":{"description":"Google product feed: Pattern","type":"string","context":["view","edit"]},"adult":{"description":"Google product feed: Adult content","type":"string","context":["view","edit"]},"identifier_exists":{"description":"Google product feed: Identifier exists flag","type":"string","context":["view","edit"]},"adwords_grouping":{"description":"Google product feed: Adwords grouping filter","type":"string","context":["view","edit"]},"adwords_labels":{"description":"Google product feed: Adwords labels","type":"string","context":["view","edit"]},"bing_category":{"description":"Google product feed: Bing Category","type":"string","context":["view","edit"]},"delivery_label":{"description":"Google product feed: Delivery label","type":"string","context":["view","edit"]},"min_handling_time":{"description":"Google product feed: Minimum handling time","type":"string","context":["view","edit"]},"max_handling_time":{"description":"Google product feed: Maximum handling time","type":"string","context":["view","edit"]},"energy_efficiency_class":{"description":"Google product feed: Energy efficiency class","type":"string","context":["view","edit"]},"min_energy_efficiency_class":{"description":"Google product feed: Minimum energy efficiency class","type":"string","context":["view","edit"]},"max_energy_efficiency_class":{"description":"Google product feed: Maximum energy efficiency class","type":"string","context":["view","edit"]},"cost_of_goods_sold":{"description":"Google product feed: Cost of goods sold","type":"string","context":["view","edit"]},"included_destination":{"description":"Google product feed: Included destination","type":"string","context":["view","edit"]},"excluded_destination":{"description":"Google product feed: Excluded destination","type":"string","context":["view","edit"]},"custom_label_0":{"description":"Google product feed: Custom label 0","type":"string","context":["view","edit"]},"custom_label_1":{"description":"Google product feed: Custom label 1","type":"string","context":["view","edit"]},"custom_label_2":{"description":"Google product feed: Custom label 2","type":"string","context":["view","edit"]},"custom_label_3":{"description":"Google product feed: Custom label 3","type":"string","context":["view","edit"]},"custom_label_4":{"description":"Google product feed: Custom label 4","type":"string","context":["view","edit"]},"promotion_id":{"description":"Google product feed: Promotion ID","type":"string","context":["view","edit"]},"shippingprice":{"description":"Google product feed: Bing shipping info (price only)","type":"string","context":["view","edit"]},"shippingcountryprice":{"description":"Google product feed: Bing shipping info (country and price)","type":"string","context":["view","edit"]},"shippingcountryserviceprice":{"description":"Google product feed: Bing shipping info (country, service and price)","type":"string","context":["view","edit"]},"exclude_product":{"description":"Google product feed: Hide product from feed (Y\/N)","type":"string","context":["view","edit"]}}}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"Product name.","type":"string"},"slug":{"required":false,"description":"Product slug.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Product type.","type":"string"},"status":{"required":false,"enum":["draft","pending","private","publish"],"description":"Product status (post status).","type":"string"},"featured":{"required":false,"description":"Featured product.","type":"boolean"},"catalog_visibility":{"required":false,"enum":["visible","catalog","search","hidden"],"description":"Catalogue visibility.","type":"string"},"description":{"required":false,"description":"Product description.","type":"string"},"short_description":{"required":false,"description":"Product short description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Product regular price.","type":"string"},"sale_price":{"required":false,"description":"Product sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"virtual":{"required":false,"description":"If the product is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the product is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"external_url":{"required":false,"description":"Product external URL. Only for external products.","type":"string"},"button_text":{"required":false,"description":"Product external button text. Only for external products.","type":"string"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at product level.","type":"boolean"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"sold_individually":{"required":false,"description":"Allow one item to be bought in a single order.","type":"boolean"},"weight":{"required":false,"description":"Product weight (g).","type":"string"},"dimensions":{"required":false,"description":"Product dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"reviews_allowed":{"required":false,"description":"Allow reviews.","type":"boolean"},"upsell_ids":{"required":false,"description":"List of up-sell products IDs.","type":"array","items":{"type":"integer"}},"cross_sell_ids":{"required":false,"description":"List of cross-sell products IDs.","type":"array","items":{"type":"integer"}},"parent_id":{"required":false,"description":"Product parent ID.","type":"integer"},"purchase_note":{"required":false,"description":"Optional note to send the customer after purchase.","type":"string"},"categories":{"required":false,"description":"List of categories.","type":"array","items":{"type":"object","properties":{"id":{"description":"Category ID.","type":"integer","context":["view","edit"]},"name":{"description":"Category name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Category slug.","type":"string","context":["view","edit"],"readonly":true}}}},"tags":{"required":false,"description":"List of tags.","type":"array","items":{"type":"object","properties":{"id":{"description":"Tag ID.","type":"integer","context":["view","edit"]},"name":{"description":"Tag name.","type":"string","context":["view","edit"],"readonly":true},"slug":{"description":"Tag slug.","type":"string","context":["view","edit"],"readonly":true}}}},"images":{"required":false,"description":"List of images.","type":"array","items":{"type":"object","properties":{"id":{"description":"Image ID.","type":"integer","context":["view","edit"]},"date_created":{"description":"The date the image was created, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_created_gmt":{"description":"The date the image was created, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified":{"description":"The date the image was last modified, in the site's timezone.","type":"date-time","context":["view","edit"],"readonly":true},"date_modified_gmt":{"description":"The date the image was last modified, as GMT.","type":"date-time","context":["view","edit"],"readonly":true},"src":{"description":"Image URL.","type":"string","format":"uri","context":["view","edit"]},"name":{"description":"Image name.","type":"string","context":["view","edit"]},"alt":{"description":"Image alternative text.","type":"string","context":["view","edit"]},"position":{"description":"Image position. 0 means that the image is featured.","type":"integer","context":["view","edit"]}}}},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"position":{"description":"Attribute position.","type":"integer","context":["view","edit"]},"visible":{"description":"Define if the attribute is visible on the \"Additional information\" tab in the product's page.","type":"boolean","default":false,"context":["view","edit"]},"variation":{"description":"Define if the attribute can be used as variation.","type":"boolean","default":false,"context":["view","edit"]},"options":{"description":"List of available term names of the attribute.","type":"array","context":["view","edit"],"items":{"type":"string"}}}}},"default_attributes":{"required":false,"description":"Defaults variation attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"grouped_products":{"required":false,"description":"List of grouped products ID.","type":"array","items":{"type":"integer"}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}},"gpf_data":{"required":false,"description":"Google product feed data","type":"object","items":{"description":{"description":"Google product feed: Product description","type":"string","context":["view","edit"]},"availability":{"description":"Google product feed: Availability","type":"string","context":["view","edit"]},"is_bundle":{"description":"Google product feed: Bundle indicator (is_bundle)","type":"string","context":["view","edit"]},"availability_date":{"description":"Google product feed: Availability date","type":"string","context":["view","edit"]},"condition":{"description":"Google product feed: Condition","type":"string","context":["view","edit"]},"brand":{"description":"Google product feed: Brand","type":"string","context":["view","edit"]},"mpn":{"description":"Google product feed: Manufacturer Part Number (MPN)","type":"string","context":["view","edit"]},"product_type":{"description":"Google product feed: Product Type","type":"string","context":["view","edit"]},"google_product_category":{"description":"Google product feed: Google Product Category","type":"string","context":["view","edit"]},"gtin":{"description":"Google product feed: Global Trade Item Number (GTIN)","type":"string","context":["view","edit"]},"gender":{"description":"Google product feed: Gender","type":"string","context":["view","edit"]},"age_group":{"description":"Google product feed: Age Group","type":"string","context":["view","edit"]},"color":{"description":"Google product feed: Colour","type":"string","context":["view","edit"]},"size":{"description":"Google product feed: Size","type":"string","context":["view","edit"]},"size_type":{"description":"Google product feed: Size type","type":"string","context":["view","edit"]},"size_system":{"description":"Google product feed: Size system","type":"string","context":["view","edit"]},"unit_pricing_measure":{"description":"Google product feed: Unit pricing measure","type":"string","context":["view","edit"]},"unit_pricing_base_measure":{"description":"Google product feed: Unit pricing base measure","type":"string","context":["view","edit"]},"multipack":{"description":"Google product feed: Multipack","type":"string","context":["view","edit"]},"installment":{"description":"Google product feed: Instalment","type":"string","context":["view","edit"]},"material":{"description":"Google product feed: Material","type":"string","context":["view","edit"]},"pattern":{"description":"Google product feed: Pattern","type":"string","context":["view","edit"]},"adult":{"description":"Google product feed: Adult content","type":"string","context":["view","edit"]},"identifier_exists":{"description":"Google product feed: Identifier exists flag","type":"string","context":["view","edit"]},"adwords_grouping":{"description":"Google product feed: Adwords grouping filter","type":"string","context":["view","edit"]},"adwords_labels":{"description":"Google product feed: Adwords labels","type":"string","context":["view","edit"]},"bing_category":{"description":"Google product feed: Bing Category","type":"string","context":["view","edit"]},"delivery_label":{"description":"Google product feed: Delivery label","type":"string","context":["view","edit"]},"min_handling_time":{"description":"Google product feed: Minimum handling time","type":"string","context":["view","edit"]},"max_handling_time":{"description":"Google product feed: Maximum handling time","type":"string","context":["view","edit"]},"energy_efficiency_class":{"description":"Google product feed: Energy efficiency class","type":"string","context":["view","edit"]},"min_energy_efficiency_class":{"description":"Google product feed: Minimum energy efficiency class","type":"string","context":["view","edit"]},"max_energy_efficiency_class":{"description":"Google product feed: Maximum energy efficiency class","type":"string","context":["view","edit"]},"cost_of_goods_sold":{"description":"Google product feed: Cost of goods sold","type":"string","context":["view","edit"]},"included_destination":{"description":"Google product feed: Included destination","type":"string","context":["view","edit"]},"excluded_destination":{"description":"Google product feed: Excluded destination","type":"string","context":["view","edit"]},"custom_label_0":{"description":"Google product feed: Custom label 0","type":"string","context":["view","edit"]},"custom_label_1":{"description":"Google product feed: Custom label 1","type":"string","context":["view","edit"]},"custom_label_2":{"description":"Google product feed: Custom label 2","type":"string","context":["view","edit"]},"custom_label_3":{"description":"Google product feed: Custom label 3","type":"string","context":["view","edit"]},"custom_label_4":{"description":"Google product feed: Custom label 4","type":"string","context":["view","edit"]},"promotion_id":{"description":"Google product feed: Promotion ID","type":"string","context":["view","edit"]},"shippingprice":{"description":"Google product feed: Bing shipping info (price only)","type":"string","context":["view","edit"]},"shippingcountryprice":{"description":"Google product feed: Bing shipping info (country and price)","type":"string","context":["view","edit"]},"shippingcountryserviceprice":{"description":"Google product feed: Bing shipping info (country, service and price)","type":"string","context":["view","edit"]},"exclude_product":{"description":"Google product feed: Hide product from feed (Y\/N)","type":"string","context":["view","edit"]}}}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/products\/batch"}},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","include","title","slug"],"description":"Sort collection by object attribute.","type":"string"},"parent":{"required":false,"default":[],"description":"Limit result set to those of particular parent IDs.","type":"array","items":{"type":"integer"}},"parent_exclude":{"required":false,"default":[],"description":"Limit result set to all items except those of a particular parent ID.","type":"array","items":{"type":"integer"}},"slug":{"required":false,"description":"Limit result set to products with a specific slug.","type":"string"},"status":{"required":false,"default":"any","enum":["any","draft","pending","private","publish"],"description":"Limit result set to products assigned a specific status.","type":"string"},"type":{"required":false,"enum":["simple","grouped","external","variable"],"description":"Limit result set to products assigned a specific type.","type":"string"},"sku":{"required":false,"description":"Limit result set to products with specific SKU(s). Use commas to separate.","type":"string"},"featured":{"required":false,"description":"Limit result set to featured products.","type":"boolean"},"category":{"required":false,"description":"Limit result set to products assigned a specific category ID.","type":"string"},"tag":{"required":false,"description":"Limit result set to products assigned a specific tag ID.","type":"string"},"shipping_class":{"required":false,"description":"Limit result set to products assigned a specific shipping class ID.","type":"string"},"attribute":{"required":false,"description":"Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.","type":"string"},"attribute_term":{"required":false,"description":"Limit result set to products with a specific attribute term ID (requires an assigned attribute).","type":"string"},"in_stock":{"required":false,"description":"Limit result set to products in stock or out of stock.","type":"boolean"},"on_sale":{"required":false,"description":"Limit result set to products on sale.","type":"boolean"},"min_price":{"required":false,"description":"Limit result set to products based on a minimum price.","type":"string"},"max_price":{"required":false,"description":"Limit result set to products based on a maximum price.","type":"string"}}},{"methods":["POST"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"visible":{"required":false,"default":true,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"default":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"default":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"default":-1,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"default":-1,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"default":"taxable","enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"default":false,"description":"Stock management at variation level.","type":"mixed"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"default":true,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the front-end.","type":"boolean"},"backorders":{"required":false,"default":"no","enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (g).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"visible":{"required":false,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"mixed"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the front-end.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (g).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}},{"methods":["DELETE"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the variation.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/products\/(?P<product_id>[\\d]+)\/variations\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"product_id":{"required":false,"description":"Unique identifier for the variable product.","type":"integer"},"description":{"required":false,"description":"Variation description.","type":"string"},"sku":{"required":false,"description":"Unique identifier.","type":"string"},"regular_price":{"required":false,"description":"Variation regular price.","type":"string"},"sale_price":{"required":false,"description":"Variation sale price.","type":"string"},"date_on_sale_from":{"required":false,"description":"Start date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_from_gmt":{"required":false,"description":"Start date of sale price, as GMT.","type":"date-time"},"date_on_sale_to":{"required":false,"description":"End date of sale price, in the site's timezone.","type":"date-time"},"date_on_sale_to_gmt":{"required":false,"description":"End date of sale price, as GMT.","type":"date-time"},"visible":{"required":false,"description":"Define if the variation is visible on the product's page.","type":"boolean"},"virtual":{"required":false,"description":"If the variation is virtual.","type":"boolean"},"downloadable":{"required":false,"description":"If the variation is downloadable.","type":"boolean"},"downloads":{"required":false,"description":"List of downloadable files.","type":"array","items":{"type":"object","properties":{"id":{"description":"File MD5 hash.","type":"string","context":["view","edit"],"readonly":true},"name":{"description":"File name.","type":"string","context":["view","edit"]},"file":{"description":"File URL.","type":"string","context":["view","edit"]}}}},"download_limit":{"required":false,"description":"Number of times downloadable files can be downloaded after purchase.","type":"integer"},"download_expiry":{"required":false,"description":"Number of days until access to downloadable files expires.","type":"integer"},"tax_status":{"required":false,"enum":["taxable","shipping","none"],"description":"Tax status.","type":"string"},"tax_class":{"required":false,"description":"Tax class.","type":"string"},"manage_stock":{"required":false,"description":"Stock management at variation level.","type":"mixed"},"stock_quantity":{"required":false,"description":"Stock quantity.","type":"integer"},"in_stock":{"required":false,"description":"Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the front-end.","type":"boolean"},"backorders":{"required":false,"enum":["no","notify","yes"],"description":"If managing stock, this controls if back-orders are allowed.","type":"string"},"weight":{"required":false,"description":"Variation weight (g).","type":"string"},"dimensions":{"required":false,"description":"Variation dimensions.","type":"object"},"shipping_class":{"required":false,"description":"Shipping class slug.","type":"string"},"image":{"required":false,"description":"Variation image data.","type":"object"},"attributes":{"required":false,"description":"List of attributes.","type":"array","items":{"type":"object","properties":{"id":{"description":"Attribute ID.","type":"integer","context":["view","edit"]},"name":{"description":"Attribute name.","type":"string","context":["view","edit"]},"option":{"description":"Selected attribute term name.","type":"string","context":["view","edit"]}}}},"menu_order":{"required":false,"description":"Menu order, used to custom sort products.","type":"integer"},"meta_data":{"required":false,"description":"Meta data.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"integer","context":["view","edit"],"readonly":true},"key":{"description":"Meta key.","type":"string","context":["view","edit"]},"value":{"description":"Meta value.","type":"mixed","context":["view","edit"]}}}}}}]},"\/wc\/v2\/reports\/sales":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date; the date needs to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date; the date needs to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/reports\/sales"}},"\/wc\/v2\/reports\/top_sellers":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"period":{"required":false,"enum":["week","month","last_month","year"],"description":"Report period.","type":"string"},"date_min":{"required":false,"description":"Return sales for a specific start date; the date needs to be in the YYYY-MM-DD format.","type":"string"},"date_max":{"required":false,"description":"Return sales for a specific end date; the date needs to be in the YYYY-MM-DD format.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/reports\/top_sellers"}},"\/wc\/v2\/reports":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/reports"}},"\/wc\/v2\/settings":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/settings"}},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"}}}]},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"value":{"required":false,"description":"Setting value.","type":"mixed"}}}]},"\/wc\/v2\/settings\/(?P<group_id>[\\w-]+)\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"group":{"required":false,"description":"Settings group ID.","type":"string"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"value":{"required":false,"description":"Setting value.","type":"mixed"}}}]},"\/wc\/v2\/shipping\/zones":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"required":true,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/shipping\/zones"}},"\/wc\/v2\/shipping\/zones\/(?P<id>[\\d-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"name":{"required":false,"description":"Shipping zone name.","type":"string"},"order":{"required":false,"description":"Shipping zone order.","type":"integer"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/shipping\/zones\/(?P<id>[\\d]+)\/locations":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique ID for the resource.","type":"integer"},"code":{"required":false,"description":"Shipping zone location code.","type":"string"},"type":{"required":false,"enum":["postcode","state","country","continent"],"description":"Shipping zone location type.","type":"string"}}}]},"\/wc\/v2\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"}}},{"methods":["POST"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"},"method_id":{"required":true,"description":"Shipping method ID."}}}]},"\/wc\/v2\/shipping\/zones\/(?P<zone_id>[\\d]+)\/methods\/(?P<instance_id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"}}},{"methods":["POST","PUT","PATCH"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"order":{"required":false,"description":"Shipping method sort order.","type":"integer"},"enabled":{"required":false,"description":"Shipping method enabled status.","type":"boolean"},"settings":{"required":false,"description":"Shipping method settings.","type":"object"}}},{"methods":["DELETE"],"args":{"zone_id":{"required":false,"description":"Unique ID for the zone.","type":"integer"},"instance_id":{"required":false,"description":"Unique ID for the instance.","type":"integer"},"force":{"required":false,"default":false,"description":"Whether to bypass bin and force deletion.","type":"boolean"}}}]},"\/wc\/v2\/taxes\/classes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":true,"description":"Tax class name.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/taxes\/classes"}},"\/wc\/v2\/taxes\/classes\/(?P<slug>\\w[\\w\\s\\-]*)":{"namespace":"wc\/v2","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":{"slug":{"required":false,"description":"Unique slug for the resource.","type":"string"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/taxes":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"asc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"order","enum":["id","order"],"description":"Sort collection by object attribute.","type":"string"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Sort by tax class.","type":"string"}}},{"methods":["POST"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"default":1,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"default":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"default":true,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"default":"standard","enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/taxes"}},"\/wc\/v2\/taxes\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/taxes\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"country":{"required":false,"description":"Country ISO 3166 code.","type":"string"},"state":{"required":false,"description":"State code.","type":"string"},"postcode":{"required":false,"description":"Postcode \/ ZIP.","type":"string"},"city":{"required":false,"description":"City name.","type":"string"},"rate":{"required":false,"description":"Tax rate.","type":"string"},"name":{"required":false,"description":"Tax rate name.","type":"string"},"priority":{"required":false,"description":"Tax priority.","type":"integer"},"compound":{"required":false,"description":"Whether or not this is a compound rate.","type":"boolean"},"shipping":{"required":false,"description":"Whether or not this tax rate also gets applied to shipping.","type":"boolean"},"order":{"required":false,"description":"Indicates the order that will appear in queries.","type":"integer"},"class":{"required":false,"enum":["standard","reduced-rate","zero-rate"],"description":"Tax class.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/taxes\/batch"}},"\/wc\/v2\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/webhooks\/(?P<webhook_id>[\\d]+)\/deliveries\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"webhook_id":{"required":false,"description":"Unique identifier for the webhook.","type":"integer"},"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/webhooks":{"namespace":"wc\/v2","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"},"page":{"required":false,"default":1,"description":"Current page of the collection.","type":"integer"},"per_page":{"required":false,"default":10,"description":"Maximum number of items to be returned in result set.","type":"integer"},"search":{"required":false,"description":"Limit results to those matching a string.","type":"string"},"after":{"required":false,"description":"Limit response to resources published after a given ISO8601 compliant date.","type":"string"},"before":{"required":false,"description":"Limit response to resources published before a given ISO8601 compliant date.","type":"string"},"exclude":{"required":false,"default":[],"description":"Ensure result set excludes specific IDs.","type":"array","items":{"type":"integer"}},"include":{"required":false,"default":[],"description":"Limit result set to specific ids.","type":"array","items":{"type":"integer"}},"offset":{"required":false,"description":"Offset the result set by a specific number of items.","type":"integer"},"order":{"required":false,"default":"desc","enum":["asc","desc"],"description":"Order sort attribute ascending or descending.","type":"string"},"orderby":{"required":false,"default":"date","enum":["date","id","title"],"description":"Sort collection by object attribute.","type":"string"},"status":{"required":false,"default":"all","enum":["all","active","paused","disabled"],"description":"Limit result set to webhooks assigned a specific status.","type":"string"}}},{"methods":["POST"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"default":"active","enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":true,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"},"delivery_url":{"required":true,"description":"Webhook delivery URL.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/webhooks"}},"\/wc\/v2\/webhooks\/(?P<id>[\\d]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}},{"methods":["DELETE"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"integer"},"force":{"required":false,"default":false,"description":"Required to be true, as resource does not support binning.","type":"boolean"}}}]},"\/wc\/v2\/webhooks\/batch":{"namespace":"wc\/v2","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"name":{"required":false,"description":"A friendly name for the webhook.","type":"string"},"status":{"required":false,"enum":["active","paused","disabled"],"description":"Webhook status.","type":"string"},"topic":{"required":false,"description":"Webhook topic.","type":"string"},"secret":{"required":false,"description":"Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/webhooks\/batch"}},"\/wc\/v2\/system_status":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/system_status"}},"\/wc\/v2\/system_status\/tools":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/system_status\/tools"}},"\/wc\/v2\/system_status\/tools\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"A unique identifier for the tool.","type":"string"},"name":{"required":false,"description":"Tool name.","type":"string"},"action":{"required":false,"description":"What running the tool will do.","type":"string"},"description":{"required":false,"description":"Tool description.","type":"string"},"success":{"required":false,"description":"Did the tool run successfully?","type":"boolean"},"message":{"required":false,"description":"Tool return message.","type":"string"}}}]},"\/wc\/v2\/shipping_methods":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/shipping_methods"}},"\/wc\/v2\/shipping_methods\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}]},"\/wc\/v2\/payment_gateways":{"namespace":"wc\/v2","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}}],"_links":{"self":"https:\/\/121shoes.co.uk\/wp-json\/wc\/v2\/payment_gateways"}},"\/wc\/v2\/payment_gateways\/(?P<id>[\\w-]+)":{"namespace":"wc\/v2","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"context":{"required":false,"default":"view","enum":["view","edit"],"description":"Scope under which the request is made; determines fields present in response.","type":"string"}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"required":false,"description":"Unique identifier for the resource.","type":"string"},"title":{"required":false,"description":"Payment gateway title on checkout.","type":"string"},"description":{"required":false,"description":"Payment gateway description on checkout.","type":"string"},"order":{"required":false,"description":"Payment gateway sort order.","type":"integer"},"enabled":{"required":false,"description":"Payment gateway enabled status.","type":"boolean"},"settings":{"required":false,"description":"Payment gateway settings.","type":"object"}}}]}},"_links":{"up":[{"href":"https:\/\/121shoes.co.uk\/wp-json\/"}]}})Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksHi @stuartduff @kaushiksomaiya
linnworks still can’t get the data.Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksI created an API and bound it to linnworks according to the documentation, but I still can’t get the data.
Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksHi @stuartduff
How should I change the authentication of the API endpoint content?- This reply was modified 3 years, 11 months ago by haorryu.
Forum: Plugins
In reply to: [WooCommerce] I can’t get woocommerce data on linnworksI’ve looked through the documentation and compared my setup and I haven’t found where the problem is.