{ "name": "Camino de Santiago Tours", "description": "Camino de Santiago pilgrimage walking tours", "url": "https:\/\/caminodesantiagotours.com", "home": "https:\/\/caminodesantiagotours.com\/es\/", "gmt_offset": "0", "timezone_string": "", "namespaces": [ "wc\/v3", "wordfence\/v1", "jetpack\/v4", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-rocket\/v1", "wc-ppcp\/v1\/admin", "wc-ppcp\/v1", "wc\/v1", "wc\/v2", "wc-telemetry", "wccom-site\/v3", "wp\/v2", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": [], "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/" } ] } }, "\/batch\/v1": { "namespace": "", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/batch\/v1" } ] } }, "\/wc\/v3": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/subscriptions" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/connect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/subscriptions\/disconnect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/install-url": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/subscriptions\/install-url" } ] } }, "\/wc\/v3\/marketplace\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/wordfence\/v1": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wordfence\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1" } ] } }, "\/wordfence\/v1\/authenticate": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/authenticate" } ] } }, "\/wordfence\/v1\/authenticate-premium": { "namespace": "wordfence\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/authenticate-premium" } ] } }, "\/wordfence\/v1\/config": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/config" } ] } }, "\/wordfence\/v1\/disconnect": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/disconnect" } ] } }, "\/wordfence\/v1\/premium-connect": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/premium-connect" } ] } }, "\/wordfence\/v1\/scan\/issues": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/scan\/issues" } ] } }, "\/wordfence\/v1\/scan": { "namespace": "wordfence\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/scan" } ] } }, "\/wordfence\/v1\/scan\/issue": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wordfence\/v1\/scan\/issue" } ] } }, "\/jetpack\/v4": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/verify_xmlrpc_error": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nonce": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/verify_registration" } ] } }, "\/jetpack\/v4\/remote_authorize": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/remote_provision": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/remote_provision" } ] } }, "\/jetpack\/v4\/remote_register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/remote_register" } ] } }, "\/jetpack\/v4\/remote_connect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/remote_connect" } ] } }, "\/jetpack\/v4\/connection\/check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/check" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "isActive": { "description": "Set to false will trigger the site to disconnect.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/plugins" } ] } }, "\/jetpack\/v4\/connection\/reconnect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/reconnect" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "from": { "description": "Indicates where the registration action was triggered for tracking\/segmentation purposes", "type": "string", "required": false }, "registration_nonce": { "description": "The registration nonce", "type": "string", "required": true }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "plugin_slug": { "description": "Indicates from what plugin the request is coming from", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/register" } ] } }, "\/jetpack\/v4\/connection\/authorize_url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/authorize_url" } ] } }, "\/jetpack\/v4\/user-token": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "user_token": { "description": "New user token", "type": "string", "required": true }, "is_connection_owner": { "description": "Is connection owner", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/user-token" } ] } }, "\/jetpack\/v4\/connection\/owner": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "owner": { "description": "New owner", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/jetpack\/v4\/heartbeat\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "prefix": { "description": "Prefix to add before the stats identifiers.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/jetpack\/v4\/heartbeat\/data" } ] } }, "\/wc-admin": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/features" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/recommended" } ] } }, "\/wc-admin\/marketing\/knowledge-base": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/knowledge-base" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin" } ] } }, "\/wc-admin\/marketing\/overview\/installed-plugins": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins" } ] } }, "\/wc-admin\/marketing\/recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "enum": [ "channels", "extensions" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/marketing\/campaign-types" } ] } }, "\/wc-admin\/options": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/options" } ] } }, "\/wc-admin\/payment-gateway-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Muestra las sugerencias de pago cuando las opciones woocommerce_show_marketplace_suggestions y woocommerce_setting_payments_recommendations_hidden est\u00e9n establecidas en \u00abno\u00bb", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/payment-gateway-suggestions" } ] } }, "\/wc-admin\/payment-gateway-suggestions\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/payment-gateway-suggestions\/dismiss" } ] } }, "\/wc-admin\/themes": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "Un archivo zip del tema a subir.", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/themes" } ] } }, "\/wc-admin\/plugins\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/install\/status" } ] } }, "\/wc-admin\/plugins\/install\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/active": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/installed" } ] } }, "\/wc-admin\/plugins\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/activate\/status" } ] } }, "\/wc-admin\/plugins\/activate\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/connect-jetpack": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/connect-jetpack" } ] } }, "\/wc-admin\/plugins\/request-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/request-wccom-connect" } ] } }, "\/wc-admin\/plugins\/finish-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/finish-wccom-connect" } ] } }, "\/wc-admin\/plugins\/connect-wcpay": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/connect-wcpay" } ] } }, "\/wc-admin\/plugins\/connect-square": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/plugins\/connect-square" } ] } }, "\/wc-admin\/onboarding\/free-extensions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/free-extensions" } ] } }, "\/wc-admin\/onboarding\/product-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/product-types" } ] } }, "\/wc-admin\/onboarding\/profile": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "completed": { "type": "boolean", "description": "Si se complet\u00f3 o no el perfil.", "required": false }, "skipped": { "type": "boolean", "description": "Si se omiti\u00f3 o no el perfil.", "required": false }, "industry": { "type": "array", "description": "Sector.", "items": { "type": "object" }, "required": false }, "product_types": { "type": "array", "description": "Tipos de productos vendidos.", "items": { "enum": [ "physical", "downloads", "subscriptions", "memberships", "bookings", "product-bundles", "product-add-ons" ], "type": "string" }, "required": false }, "product_count": { "type": "string", "description": "N\u00famero de productos a a\u00f1adir.", "enum": [ "0", "1-10", "11-100", "101-1000", "1000+" ], "required": false }, "selling_venues": { "type": "string", "description": "Otros sitios en los que la tienda est\u00e1 vendiendo productos.", "enum": [ "no", "other", "brick-mortar", "brick-mortar-other", "other-woocommerce" ], "required": false }, "number_employees": { "type": "string", "description": "N\u00famero de empleados de la tienda.", "enum": [ "1", "<10", "10-50", "50-250", "+250", "not specified" ], "required": false }, "revenue": { "type": "string", "description": "Actuales ingresos anuales de la tienda.", "enum": [ "none", "up-to-2500", "2500-10000", "10000-50000", "50000-250000", "more-than-250000", "rather-not-say" ], "required": false }, "other_platform": { "type": "string", "description": "Nombre de otra plataforma utilizada para vender.", "enum": [ "shopify", "bigcommerce", "magento", "wix", "amazon", "ebay", "etsy", "squarespace", "other" ], "required": false }, "other_platform_name": { "type": "string", "description": "Nombre de otra plataforma usada para la venta (no figura en la lista).", "required": false }, "business_extensions": { "type": "array", "description": "Extensiones de negocio adicionales a instalar.", "items": { "type": "string" }, "required": false }, "theme": { "type": "string", "description": "Tema de tienda seleccionado.", "required": false }, "setup_client": { "type": "boolean", "description": "Si esta tienda se configura para un cliente o no.", "required": false }, "wccom_connected": { "type": "boolean", "description": "Si la tienda estaba o no conectada a WooCommerce.com durante el flujo de extensi\u00f3n.", "required": false }, "is_agree_marketing": { "type": "boolean", "description": "Si esta tienda acept\u00f3 o no recibir contenidos de marketing de WooCommerce.com.", "required": false }, "store_email": { "type": "string", "description": "Direcci\u00f3n de correo electr\u00f3nico de la tienda.", "required": false }, "is_store_country_set": { "type": "boolean", "description": "Si el pa\u00eds de la tienda est\u00e1 configurado en el perfil de la puesta en marcha.", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "Si se ha omitido o no el paso de plugins en el perfilador del n\u00facleo.", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/profile" } ] } }, "\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill" } ] } }, "\/wc-admin\/onboarding\/tasks\/import_sample_products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_homepage": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_product_from_template": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "template_name": { "type": "string", "description": "Nombre de plantilla de producto.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template" } ] } }, "\/wc-admin\/onboarding\/tasks": { "namespace": "wc-admin", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "ids": { "description": "Par\u00e1metro opcional para obtener solamente listas de tareas espec\u00edficas por ID.", "type": "array", "items": { "enum": [ "setup", "extended", "secret_tasklist" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "Par\u00e1metro opcional para obtener solamente listas de tareas espec\u00edficas por ID.", "type": "array", "items": { "enum": [ "setup", "extended", "secret_tasklist" ], "type": "string" }, "required": false }, "extended_tasks": { "description": "Lista de tareas obsoletas ampliada en el filtro del cliente.", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/tasks" } ] } }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/unhide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "duration": { "description": "Periodo de tiempo en el que silenciar la tarea.", "type": "string", "required": false }, "task_list_id": { "description": "Par\u00e1metro opcional para consultar una lista espec\u00edfica de tareas.", "type": "string", "required": false } } } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/themes\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/themes\/install" } ] } }, "\/wc-admin\/onboarding\/themes\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/themes\/activate" } ] } }, "\/wc-admin\/onboarding\/themes\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "industry": { "type": "string", "description": "Limits the results to themes relevant for this industry (optional)", "required": false }, "currency": { "type": "string", "enum": [ "USD", "AUD", "CAD", "EUR", "GBP" ], "default": "USD", "description": "Returns pricing in this currency (optional, default: USD)", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/themes\/recommended" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate-async": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "plugins": { "description": "A list of plugins to install", "type": "array", "items": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate-async" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/scheduled-installs\/(?P\\w+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_url": { "description": "The URL to redirect to after authorization", "type": "string", "required": true }, "from": { "description": "from value for the jetpack authorization page", "type": "string", "default": "woocommerce-onboarding", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url" } ] } }, "\/wc-admin\/onboarding\/products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/onboarding\/products" } ] } }, "\/wc-admin\/navigation\/favorites\/me": { "namespace": "wc-admin", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "item_id": { "required": true } } }, { "methods": [ "DELETE" ], "args": { "item_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/navigation\/favorites\/me" } ] } }, "\/wc-admin\/mobile-app\/send-magic-link": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/mobile-app\/send-magic-link" } ] } }, "\/wc-admin\/mobile-app": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/mobile-app" } ] } }, "\/wc-admin\/shipping-partner-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Devuelve las sugerencias del socio de env\u00edos por defecto cuando la opci\u00f3n woocommerce_show_marketplace_suggestions est\u00e1 configurada en \"No\".", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/shipping-partner-suggestions" } ] } }, "\/wc-admin\/ai\/store-title": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "La descripci\u00f3n del negocio de una tienda concreta.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/store-title" } ] } }, "\/wc-admin\/ai\/business-description": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "La descripci\u00f3n del negocio de una tienda concreta.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/business-description" } ] } }, "\/wc-admin\/ai\/store-info": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/store-info" } ] } }, "\/wc-admin\/ai\/images": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "La descripci\u00f3n del negocio de una tienda concreta.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/images" } ] } }, "\/wc-admin\/ai\/patterns": { "namespace": "wc-admin", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "La descripci\u00f3n del negocio de una tienda concreta.", "type": "string", "required": false }, "images": { "description": "Las im\u00e1genes de una tienda dada.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/patterns" } ] } }, "\/wc-admin\/ai\/product": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "products_information": { "description": "Datos generados por la IA para actualizar los productos falsos.", "type": "object", "required": false }, "last_product": { "description": "Si el producto que se est\u00e1 actualizando es el \u00faltimo en el cat\u00e1logo", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/ai\/product" } ] } }, "\/wc-admin\/launch-your-store\/initialize-coming-soon": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/launch-your-store\/initialize-coming-soon" } ] } }, "\/wc-admin\/launch-your-store\/update-survey-status": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "type": "string", "enum": [ "yes", "no" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/launch-your-store\/update-survey-status" } ] } }, "\/wc-admin\/launch-your-store\/survey-completed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/launch-your-store\/survey-completed" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders": { "namespace": "wc-admin", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders" } ] } }, "\/wc-analytics": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-analytics", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "registered_before": { "description": "Limita la respuesta a los objetos registrados antes (o en) una determinada fecha y hora que cumpla con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limita la respuesta a los objetos registrados despu\u00e9s de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limitar la respuesta a objetos con un campo de cliente que contenga el concepto de b\u00fasqueda. Busca en el campo proporcionado por \u00absearchby\u00bb.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limitar la respuesta a los objetos con nombres espec\u00edficos.", "type": "string", "required": false }, "name_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo nombres espec\u00edficos.", "type": "string", "required": false }, "username_includes": { "description": "Limitar la respuesta a los objetos con nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "username_excludes": { "description": "Limita la respuesta a los objetos excluyendo nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "email_includes": { "description": "Limitar la respuesta a los objetos, incluidos los correos electr\u00f3nicos.", "type": "string", "required": false }, "email_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo los correos electr\u00f3nicos.", "type": "string", "required": false }, "country_includes": { "description": "Limita la respuesta a objetos con pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "country_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "last_active_before": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez antes de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez despu\u00e9s de (o en) una fecha\/hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos mayor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos menor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limita la respuesta a objetos con una cuenta de pedidos entre dos n\u00fameros enteros dados.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido mayor o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_max": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_between": { "description": "Limita la respuesta a objetos con un total de gasto de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido superior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido antes (o en) una determinada fecha y hora conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido despu\u00e9s de (o en) una fecha y hora determinada conforme a ISO8601.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limitar el resultado a art\u00edculos con los id de usuario especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtrar los resultados en los que alguno de los campos introducidos est\u00e9 vac\u00edo", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limita el resultado a art\u00edculos con los IDs de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "registered_before": { "description": "Limita la respuesta a los objetos registrados antes (o en) una determinada fecha y hora que cumpla con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limita la respuesta a los objetos registrados despu\u00e9s de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limitar la respuesta a objetos con un campo de cliente que contenga el concepto de b\u00fasqueda. Busca en el campo proporcionado por \u00absearchby\u00bb.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limitar la respuesta a los objetos con nombres espec\u00edficos.", "type": "string", "required": false }, "name_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo nombres espec\u00edficos.", "type": "string", "required": false }, "username_includes": { "description": "Limitar la respuesta a los objetos con nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "username_excludes": { "description": "Limita la respuesta a los objetos excluyendo nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "email_includes": { "description": "Limitar la respuesta a los objetos, incluidos los correos electr\u00f3nicos.", "type": "string", "required": false }, "email_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo los correos electr\u00f3nicos.", "type": "string", "required": false }, "country_includes": { "description": "Limita la respuesta a objetos con pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "country_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "last_active_before": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez antes de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez despu\u00e9s de (o en) una fecha\/hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos mayor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos menor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limita la respuesta a objetos con una cuenta de pedidos entre dos n\u00fameros enteros dados.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido mayor o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_max": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_between": { "description": "Limita la respuesta a objetos con un total de gasto de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido superior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido antes (o en) una determinada fecha y hora conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido despu\u00e9s de (o en) una fecha y hora determinada conforme a ISO8601.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limitar el resultado a art\u00edculos con los id de usuario especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtrar los resultados en los que alguno de los campos introducidos est\u00e9 vac\u00edo", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limita el resultado a art\u00edculos con los IDs de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "Consulta de URL para persistir en los enlaces.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/leaderboards\/allowed" } ] } }, "\/wc-analytics\/leaderboards\/(?P\\w+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "leaderboard": { "type": "string", "enum": [ "customers", "coupons", "categories", "products" ], "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "Consulta de URL para persistir en los enlaces.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "N\u00famero de d\u00edas a importar.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "No importar datos de pedidos existentes.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/import" } ] } }, "\/wc-analytics\/reports\/import\/cancel": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/import\/cancel" } ] } }, "\/wc-analytics\/reports\/import\/delete": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/import\/delete" } ] } }, "\/wc-analytics\/reports\/import\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "N\u00famero de d\u00edas a importar.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "No importar datos de pedidos existentes.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/import\/totals" } ] } }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "report_args": { "description": "Par\u00e1metros para pasar al informe exportado.", "type": "object", "required": false }, "email": { "description": "Cuando se configura en true, env\u00eda por correo electr\u00f3nico un enlace para descargar la exportaci\u00f3n al usuario que lo ha solicitado.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/reports\/products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "categories": { "description": "Limita el resultado a los art\u00edculos de las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "products": { "description": "Limita el resultado a art\u00edculos con IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "A\u00f1ade una pieza adicional de informaci\u00f3n sobre cada producto al informe.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limitar el resultado establecido a art\u00edculos que tengan los productos superiores especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limitar el resultado establecido a art\u00edculos que no tengan los productos superiores especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limita el resultado a art\u00edculos con IDs de variaci\u00f3n espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "A\u00f1ade una pieza adicional de informaci\u00f3n sobre cada variaci\u00f3n al informe.", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "Limitar el conjunto de resultados a las variaciones que incluyan los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limitar el conjunto de resultados a las variaciones que no incluyan los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "Limitar el resultado a las variaciones de las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limitar el resultado establecido a variaciones que no est\u00e9n en las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Limita el resultado a art\u00edculos con IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "Limita el resultado a los art\u00edculos de las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Limita el resultado a art\u00edculos con IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "Limita el resultado a art\u00edculos con IDs de variaci\u00f3n espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "category_includes": { "description": "Limita el resultado a los art\u00edculos de las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limitar el resultado establecido a variaciones que no est\u00e9n en las categor\u00edas especificadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "Limitar el resultado establecido a art\u00edculos que tengan los productos superiores especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limitar el resultado establecido a art\u00edculos que no tengan los productos superiores especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limita el resultado a art\u00edculos con IDs de variaci\u00f3n espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "attribute_is": { "description": "Limita el conjunto de resultados a los pedidos que incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limita el conjunto de resultados a los pedidos que no incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "total_sales", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold", "gross_sales" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "date_type": { "description": "Anula la opci\u00f3n \"woocommerce_date_type\" que se utiliza para el campo de fecha de la base de datos a fines de informes de ingresos.", "type": "string", "enum": [ "date_paid", "date_created", "date_completed" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "product_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan el\/los producto(s) espec\u00edfico(s) asignado(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limita el resultado establecido a art\u00edculo(s) que no tenga(n) el\/los producto(s) especificado(s) asignado(s)", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limitar el resultado establecido a art\u00edculos en los que hayas especificado la(s) variaci\u00f3n(es) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limitar el resultado establecido a art\u00edculos en los que no hayas especificado la(s) variaci\u00f3n(es) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limita el resultado a los art\u00edculos que tienen asignado el cup\u00f3n o los cupones especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limita el resultado a los art\u00edculos que no tienen asignado el cup\u00f3n o los cupones especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limitar el resultado establecido a art\u00edculos en los que hayas especificado la(s) tasa(s) de impuesto(s) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limitar el resultado establecido a art\u00edculos en los que no hayas especificado la(s) tasa(s) de impuesto(s) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "Limita el resultado fijado a art\u00edculos que tienen el estado de pedido especificado.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limita el resultado establecido a los art\u00edculos que no tienen el estado de pedido especificado.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "Limitar el resultado establecido a clientes habituales o nuevos.", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "Limitar el resultado a tipos espec\u00edficos de reembolsos.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "A\u00f1ade informaci\u00f3n adicional sobre cada cup\u00f3n al informe.", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limita el resultado establecido a art\u00edculos que no tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "Limita el conjunto de resultados a los pedidos que incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limita el conjunto de resultados a los pedidos que no incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "status_is": { "description": "Limita el resultado fijado a art\u00edculos que tienen el estado de pedido especificado.", "type": "array", "default": null, "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limita el resultado establecido a los art\u00edculos que no tienen el estado de pedido especificado.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan el\/los producto(s) espec\u00edfico(s) asignado(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limita el resultado establecido a art\u00edculo(s) que no tenga(n) el\/los producto(s) especificado(s) asignado(s)", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limitar el resultado establecido a art\u00edculos en los que hayas especificado la(s) variaci\u00f3n(es) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limitar el resultado establecido a art\u00edculos en los que no hayas especificado la(s) variaci\u00f3n(es) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limita el resultado a los art\u00edculos que tienen asignado el cup\u00f3n o los cupones especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limita el resultado a los art\u00edculos que no tienen asignado el cup\u00f3n o los cupones especificados.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limitar el resultado establecido a art\u00edculos en los que hayas especificado la(s) tasa(s) de impuesto(s) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limitar el resultado establecido a art\u00edculos en los que no hayas especificado la(s) tasa(s) de impuesto(s) asignada(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "Alias del tipo de cliente (obsoleto).", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "Limita el conjunto de resultados a los pedidos que tengan el tipo de cliente especificado", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "Limitar el resultado a tipos espec\u00edficos de reembolsos.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "Limita el conjunto de resultados a los pedidos que incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limita el conjunto de resultados a los pedidos que no incluyan productos con los atributos especificados.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "Limita el resultado fijado a art\u00edculos que tienen el estado de pedido especificado.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limita el resultado establecido a los art\u00edculos que no tienen el estado de pedido especificado.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "Limita el resultado a todos los art\u00edculos que tienen el t\u00e9rmino especificado asignado en la taxonom\u00eda de las categor\u00edas.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "A\u00f1ade informaci\u00f3n adicional sobre cada categor\u00eda al informe.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "tax_rate_id", "enum": [ "name", "tax_rate_id", "tax_code", "rate", "order_tax", "total_tax", "shipping_tax", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "taxes": { "description": "L\u00edmite de resultado establecido para los art\u00edculos asignados a una o m\u00e1s tasas de impuestos.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "Limitar el resultado a todos los art\u00edculos que tengan asignado un t\u00e9rmino espec\u00edfico en la taxonom\u00eda de impuestos.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "tax_rate_id" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "coupons": { "description": "Limita el resultado a los cupones a los que se les han asignado IDs de cup\u00f3n espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "A\u00f1ade informaci\u00f3n adicional sobre cada cup\u00f3n al informe.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "Limita el resultado a los cupones a los que se les han asignado IDs de cup\u00f3n espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmentar la respuesta por restricciones adicionales.", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limita el resultado establecido a art\u00edculos asignados a un tipo de informe de inventario.", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: productos, pedidos, nombre de usuario, direcci\u00f3n IP.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan el\/los producto(s) espec\u00edfico(s) asignado(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limita el resultado establecido a art\u00edculo(s) que no tenga(n) el\/los producto(s) especificado(s) asignado(s)", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limita el resultado establecido a art\u00edculos que no tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limita la respuesta a objetos que tengan los IDs de usuario especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limita la respuesta a objetos que no tengan los IDs de usuario especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limita la respuesta a objetos que tengan una direcci\u00f3n ip especificada.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limita la respuesta a objetos que no tengan una direcci\u00f3n ip especificada.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Intervalo de tiempo para utilizar para los contenedores en los datos devueltos.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan el\/los producto(s) espec\u00edfico(s) asignado(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limita el resultado establecido a art\u00edculo(s) que no tenga(n) el\/los producto(s) especificado(s) asignado(s)", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limita el resultado establecido a art\u00edculos que tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limita el resultado establecido a art\u00edculos que no tengan los IDs de pedido especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limita la respuesta a los objetos que tienen los identificadores de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limita la respuesta a los objetos que no tienen los identificadores de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limita la respuesta a objetos que tengan una direcci\u00f3n ip especificada.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limita la respuesta a objetos que no tengan una direcci\u00f3n ip especificada.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false }, "registered_before": { "description": "Limita la respuesta a los objetos registrados antes (o en) una determinada fecha y hora que cumpla con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limita la respuesta a los objetos registrados despu\u00e9s de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limitar la respuesta a objetos con un campo de cliente que contenga el concepto de b\u00fasqueda. Busca en el campo proporcionado por \u00absearchby\u00bb.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limitar la respuesta a los objetos con nombres espec\u00edficos.", "type": "string", "required": false }, "name_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo nombres espec\u00edficos.", "type": "string", "required": false }, "username_includes": { "description": "Limitar la respuesta a los objetos con nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "username_excludes": { "description": "Limita la respuesta a los objetos excluyendo nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "email_includes": { "description": "Limitar la respuesta a los objetos, incluidos los correos electr\u00f3nicos.", "type": "string", "required": false }, "email_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo los correos electr\u00f3nicos.", "type": "string", "required": false }, "country_includes": { "description": "Limita la respuesta a objetos con pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "country_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "last_active_before": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez antes de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez despu\u00e9s de (o en) una fecha\/hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos mayor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos menor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limita la respuesta a objetos con una cuenta de pedidos entre dos n\u00fameros enteros dados.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido mayor o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_max": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_between": { "description": "Limita la respuesta a objetos con un total de gasto de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido superior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido antes (o en) una determinada fecha y hora conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido despu\u00e9s de (o en) una fecha y hora determinada conforme a ISO8601.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limita el resultado a art\u00edculos con los IDs de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "Limitar el resultado a art\u00edculos con los id de usuario especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtrar los resultados en los que alguno de los campos introducidos est\u00e9 vac\u00edo", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "Limita la respuesta a los objetos registrados antes (o en) una determinada fecha y hora que cumpla con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limita la respuesta a los objetos registrados despu\u00e9s de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indica si todas las condiciones deben ser ciertas para el conjunto resultante, o si alguna de ellas es suficiente. La coincidencia afecta a los siguientes par\u00e1metros: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limitar la respuesta a objetos con un campo de cliente que contenga el concepto de b\u00fasqueda. Busca en el campo proporcionado por \u00absearchby\u00bb.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limitar la respuesta a los objetos con nombres espec\u00edficos.", "type": "string", "required": false }, "name_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo nombres espec\u00edficos.", "type": "string", "required": false }, "username_includes": { "description": "Limitar la respuesta a los objetos con nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "username_excludes": { "description": "Limita la respuesta a los objetos excluyendo nombres de usuario espec\u00edficos.", "type": "string", "required": false }, "email_includes": { "description": "Limitar la respuesta a los objetos, incluidos los correos electr\u00f3nicos.", "type": "string", "required": false }, "email_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo los correos electr\u00f3nicos.", "type": "string", "required": false }, "country_includes": { "description": "Limita la respuesta a objetos con pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "country_excludes": { "description": "Limitar la respuesta a los objetos, excluyendo pa\u00edses espec\u00edficos.", "type": "string", "required": false }, "last_active_before": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez antes de (o en) una fecha y hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez despu\u00e9s de (o en) una fecha\/hora determinada conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limita la respuesta a los objetos activos por \u00faltima vez entre dos fechas conforme a la norma ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos mayor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limita la respuesta a objetos con un n\u00famero de pedidos menor o igual al n\u00famero entero dado.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limita la respuesta a objetos con una cuenta de pedidos entre dos n\u00fameros enteros dados.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido mayor o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_max": { "description": "Limita la respuesta a los objetos con un total de gasto de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "total_spend_between": { "description": "Limita la respuesta a objetos con un total de gasto de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido superior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido inferior o igual a un n\u00famero determinado.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limita la respuesta a los objetos con un gasto medio de pedido entre dos n\u00fameros determinados.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido antes (o en) una determinada fecha y hora conforme a la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limita la respuesta a los objetos con el \u00faltimo pedido despu\u00e9s de (o en) una fecha y hora determinada conforme a ISO8601.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limita el resultado a art\u00edculos con los IDs de cliente especificados.", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "Limita los campos de estad\u00edstica a los art\u00edculos especificados.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Forzar la recuperaci\u00f3n de datos nuevos en vez que desde la cach\u00e9.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limitar la respuesta a las estad\u00edsticas de informes espec\u00edficos. Valores permitidos: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limitar la respuesta a las estad\u00edsticas de informes espec\u00edficos. Valores permitidos: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Tipo de nota.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey", "email" ], "type": "string" }, "required": false }, "status": { "description": "Estado de la nota.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "Origen de la nota.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Tipo de nota.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey", "email" ], "type": "string" }, "required": false }, "status": { "description": "Estado de la nota.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "Origen de la nota.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/admin\/notes" } ] } }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "DELETE", "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/delete\/all": { "namespace": "wc-analytics", "methods": [ "DELETE", "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "status": { "description": "Estado de la nota.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "status": { "description": "Estado de la nota.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/admin\/notes\/delete\/all" } ] } }, "\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/update": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/admin\/notes\/update" } ] } }, "\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "ID \u00fanico de la nota.", "type": "integer", "required": false }, "action_id": { "description": "ID \u00fanico de la acci\u00f3n de la nota.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "ID \u00fanico de la nota.", "type": "integer", "required": false }, "action_id": { "description": "ID \u00fanico de la acci\u00f3n de la nota.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limitar los resultados a los cupones con c\u00f3digos que coincidan con una cadena concreta.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limitar los resultados a recursos con un c\u00f3digo espec\u00edfico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": true }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limitar los resultados a los cupones con c\u00f3digos que coincidan con una cadena concreta.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limitar los resultados a recursos con un c\u00f3digo espec\u00edfico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": true }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/coupons" } ] } }, "\/wc-analytics\/coupons\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/coupons\/batch" } ] } }, "\/wc-analytics\/data": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/data" } ] } }, "\/wc-analytics\/data\/countries\/locales": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/data\/countries\/locales" } ] } }, "\/wc-analytics\/data\/countries": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "C\u00f3digo de pa\u00eds ISO3166 alpha-2.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "location": { "description": "C\u00f3digo de pa\u00eds ISO3166 alpha-2.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Limitar el resultado a los pedidos que tenga estados espec\u00edficos.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Limita el resultado a los pedidos que coincidan con parte de un n\u00famero de pedido.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Limitar el resultado a los pedidos que tenga estados espec\u00edficos.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Limita el resultado a los pedidos que coincidan con parte de un n\u00famero de pedido.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/orders" } ] } }, "\/wc-analytics\/orders\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Buscar por nombre de producto similar o sku.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limita los resultados a los que tienen un SKU que coincide parcialmente con una cadena.", "type": "string", "required": false }, "low_in_stock": { "description": "Limita el conjunto de resultados a productos que tengan pocas existencias o est\u00e9n agotados. (Obsoleto)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Buscar por nombre de producto similar o sku.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limita los resultados a los que tienen un SKU que coincide parcialmente con una cadena.", "type": "string", "required": false }, "low_in_stock": { "description": "Limita el conjunto de resultados a productos que tengan pocas existencias o est\u00e9n agotados. (Obsoleto)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "description": "Si se ignora la papelera y se fuerza el borrado.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "description": "Si se ignora la papelera y se fuerza el borrado.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/products\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "in_stock": { "description": "Limitar el resultado a productos con existencias o sin existencias.", "type": "boolean", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Limita el resultado establecido a ID de categor\u00edas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Limita el resultado establecido a ID de etiquetas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Limita el resultado establecido a una cantidad espec\u00edfica de productos recomendados.", "type": "integer", "default": 5, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "in_stock": { "description": "Limitar el resultado a productos con existencias o sin existencias.", "type": "boolean", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Limita el resultado establecido a ID de categor\u00edas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Limita el resultado establecido a ID de etiquetas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Limita el resultado establecido a una cantidad espec\u00edfica de productos recomendados.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/suggested-products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc-analytics", "methods": [ "POST", "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc-analytics\/products\/attributes": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Buscar por nombre de atributo similar.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del recurso.", "type": "string", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Buscar por nombre de atributo similar.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del recurso.", "type": "string", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/attributes" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/attributes\/batch" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Identificador del slug del recurso.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Identificador del slug del recurso.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/categories" } ] } }, "\/wc-analytics\/products\/categories\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc-analytics\/products\/categories\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/categories\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST", "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH", "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc-analytics", "methods": [ "POST", "POST", "POST", "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "delete": { "description": "Borra las variaciones sin utilizar.", "type": "boolean", "required": false }, "default_values": { "description": "Valores por defecto para las variaciones generadas.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unidad de mantenimiento de existencias.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN o ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio normal de la variaci\u00f3n.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio rebajado de la variaci\u00f3n.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es descargable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Clase de impuesto.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de inventario.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Peso de la variaci\u00f3n (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Slug de la clase de env\u00edo.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nombre del producto padre.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID del producto padre.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "delete": { "description": "Borra las variaciones sin utilizar.", "type": "boolean", "required": false }, "default_values": { "description": "Valores por defecto para las variaciones generadas.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unidad de mantenimiento de existencias.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN o ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio normal de la variaci\u00f3n.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio rebajado de la variaci\u00f3n.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es descargable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Clase de impuesto.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de inventario.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Peso de la variaci\u00f3n (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Slug de la clase de env\u00edo.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nombre del producto padre.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID del producto padre.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "delete": { "description": "Borra las variaciones sin utilizar.", "type": "boolean", "required": false }, "default_values": { "description": "Valores por defecto para las variaciones generadas.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unidad de mantenimiento de existencias.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN o ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio normal de la variaci\u00f3n.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio rebajado de la variaci\u00f3n.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es descargable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Clase de impuesto.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de inventario.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Peso de la variaci\u00f3n (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Slug de la clase de env\u00edo.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nombre del producto padre.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID del producto padre.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "delete": { "description": "Borra las variaciones sin utilizar.", "type": "boolean", "required": false }, "default_values": { "description": "Valores por defecto para las variaciones generadas.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unidad de mantenimiento de existencias.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN o ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio normal de la variaci\u00f3n.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio rebajado de la variaci\u00f3n.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es descargable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Clase de impuesto.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de inventario.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Peso de la variaci\u00f3n (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Slug de la clase de env\u00edo.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nombre del producto padre.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID del producto padre.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Tipo de producto.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nombre del producto padre.", "type": "string", "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "GET", "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Busca un nombre de producto, SKU o valor de atributo similar.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a valoraciones publicadas antes de una fecha dada compatible con ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limitar el resultado a las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Asegura que el resultado establecido excluye las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limita el resultado a los del correo electr\u00f3nico de un autor espec\u00edfico.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limita el resultado a valoraciones asignadas a IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limita el resultado a las valoraciones asignadas a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto.", "type": "integer", "required": true }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nombre de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "reviewer_email": { "type": "string", "description": "Correo electr\u00f3nico de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "review": { "type": "string", "description": "Contenido de la valoraci\u00f3n.", "required": true }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a valoraciones publicadas antes de una fecha dada compatible con ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limitar el resultado a las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Asegura que el resultado establecido excluye las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limita el resultado a los del correo electr\u00f3nico de un autor espec\u00edfico.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limita el resultado a valoraciones asignadas a IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limita el resultado a las valoraciones asignadas a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto.", "type": "integer", "required": true }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nombre de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "reviewer_email": { "type": "string", "description": "Correo electr\u00f3nico de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "review": { "type": "string", "description": "Contenido de la valoraci\u00f3n.", "required": true }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/reviews" } ] } }, "\/wc-analytics\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc-analytics\/products\/reviews\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/reviews\/batch" } ] } }, "\/wc-analytics\/products\/low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/low-in-stock" } ] } }, "\/wc-analytics\/products\/count-low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/products\/count-low-in-stock" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/taxes": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Ordenar por clase de impuesto.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "Buscar por c\u00f3digo de impuestos similar.", "type": "string", "required": false }, "include": { "description": "Limita el resultado a los art\u00edculos que tienen asignados ID(s) de impuesto especificos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Ordenar por clase de impuesto.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "Buscar por c\u00f3digo de impuestos similar.", "type": "string", "required": false }, "include": { "description": "Limita el resultado a los art\u00edculos que tienen asignados ID(s) de impuesto especificos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/taxes" } ] } }, "\/wc-analytics\/taxes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-analytics\/taxes\/batch" } ] } }, "\/wc\/store": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store" } ] } }, "\/wc\/store\/batch": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart" } ] } }, "\/wc\/store\/cart\/add-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "El ID del producto o la variaci\u00f3n en el carrito.", "type": "integer", "required": false }, "quantity": { "description": "Cantidad de este art\u00edculo para a\u00f1adir en el carrito.", "type": "integer", "required": false }, "variation": { "description": "Atributos elegidos (para variaciones).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor del atributo de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/add-item" } ] } }, "\/wc\/store\/cart\/apply-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/apply-coupon" } ] } }, "\/wc\/store\/cart\/coupons": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "El c\u00f3digo \u00fanico del cup\u00f3n.", "type": "string", "required": false }, "discount_type": { "description": "El tipo de descuento del cup\u00f3n (p.ej.: porcentaje o cantidad fija)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/coupons" } ] } }, "\/wc\/store\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Nombre de la extensi\u00f3n - ser\u00e1 usado para garantizar que los datos de la solicitud se dirijan adecuadamente.", "type": "string", "required": false }, "data": { "description": "Datos adicionales para pasar a la extensi\u00f3n", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/extensions" } ] } }, "\/wc\/store\/cart\/items": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/items" } ] } }, "\/wc\/store\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/remove-coupon" } ] } }, "\/wc\/store\/cart\/remove-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico (clave) del producto del carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/remove-item" } ] } }, "\/wc\/store\/cart\/select-shipping-rate": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "El ID del paquete a enviar. D\u00e9jalo en blanco para aplicarlo a todos los paquetes.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "El ID de la tarifa elegida para el paquete.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/cart\/update-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico (clave) del producto del carrito a actualizar.", "type": "string", "required": false }, "quantity": { "description": "Nueva cantidad del producto en el carrito.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/update-item" } ] } }, "\/wc\/store\/cart\/update-customer": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/cart\/update-customer" } ] } }, "\/wc\/store\/checkout": { "namespace": "wc\/store", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Datos a pasar con el m\u00e9todo de pago al procesar el pago.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Contrase\u00f1a del cliente para cuentas nuevas, si procede.", "type": "string", "required": false }, "customer_note": { "description": "Nota a\u00f1adida al pedido por el cliente durante el pago.", "type": "string", "required": false }, "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "El ID del m\u00e9todo de pago que se est\u00e1 usando para procesar el pago.", "type": "string", "enum": [ "bacs", "cheque", "cod", "ppcp", "stripe_cc", "stripe_applepay", "stripe_googlepay", "stripe_payment_request", "stripe_afterpay", "stripe_affirm", "stripe_ach", "stripe_ideal", "stripe_p24", "stripe_klarna", "stripe_bancontact", "stripe_giropay", "stripe_eps", "stripe_multibanco", "stripe_sepa", "stripe_sofort", "stripe_wechat", "stripe_fpx", "stripe_becs", "stripe_alipay", "stripe_grabpay", "stripe_boleto", "stripe_oxxo", "stripe_blik", "stripe_konbini", "stripe_paynow", "stripe_promptpay", "stripe_swish", "stripe_amazonpay", "stripe_cashapp", "stripe_revolut", "stripe_zip", "stripe_mobilepay", "stripe_twint", "stripe_upm" ], "required": false }, "create_account": { "description": "Crear una nueva cuenta de usuario como parte del proceso del pedido.", "type": "boolean", "required": false }, "additional_fields": { "description": "Campos adicionales que deben permanecer en el pedido.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Datos de extensi\u00f3n registrados por woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Campo de atribuci\u00f3n del pedido: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Campo de atribuci\u00f3n del pedido: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Campo de atribuci\u00f3n del pedido: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Campo de atribuci\u00f3n del pedido: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Campo de atribuci\u00f3n del pedido: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Campo de atribuci\u00f3n del pedido: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Campo de atribuci\u00f3n del pedido: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Campo de atribuci\u00f3n del pedido: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Campo de atribuci\u00f3n del pedido: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Campo de atribuci\u00f3n del pedido: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Campo de atribuci\u00f3n del pedido: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Campo de atribuci\u00f3n del pedido: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Campo de atribuci\u00f3n del pedido: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Campo de atribuci\u00f3n del pedido: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Campo de atribuci\u00f3n del pedido: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Campo de atribuci\u00f3n del pedido: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/checkout" } ] } }, "\/wc\/store\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Datos a pasar con el m\u00e9todo de pago al procesar el pago.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Nota a\u00f1adida al pedido por el cliente durante el pago.", "type": "string", "required": false }, "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "El ID del m\u00e9todo de pago que se est\u00e1 usando para procesar el pago.", "type": "string", "enum": [ "bacs", "cheque", "cod", "ppcp", "stripe_cc", "stripe_applepay", "stripe_googlepay", "stripe_payment_request", "stripe_afterpay", "stripe_affirm", "stripe_ach", "stripe_ideal", "stripe_p24", "stripe_klarna", "stripe_bancontact", "stripe_giropay", "stripe_eps", "stripe_multibanco", "stripe_sepa", "stripe_sofort", "stripe_wechat", "stripe_fpx", "stripe_becs", "stripe_alipay", "stripe_grabpay", "stripe_boleto", "stripe_oxxo", "stripe_blik", "stripe_konbini", "stripe_paynow", "stripe_promptpay", "stripe_swish", "stripe_amazonpay", "stripe_cashapp", "stripe_revolut", "stripe_zip", "stripe_mobilepay", "stripe_twint", "stripe_upm" ], "required": false }, "additional_fields": { "description": "Campos adicionales que deben permanecer en el pedido.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Datos de extensi\u00f3n registrados por woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Campo de atribuci\u00f3n del pedido: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Campo de atribuci\u00f3n del pedido: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Campo de atribuci\u00f3n del pedido: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Campo de atribuci\u00f3n del pedido: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Campo de atribuci\u00f3n del pedido: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Campo de atribuci\u00f3n del pedido: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Campo de atribuci\u00f3n del pedido: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Campo de atribuci\u00f3n del pedido: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Campo de atribuci\u00f3n del pedido: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Campo de atribuci\u00f3n del pedido: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Campo de atribuci\u00f3n del pedido: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Campo de atribuci\u00f3n del pedido: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Campo de atribuci\u00f3n del pedido: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Campo de atribuci\u00f3n del pedido: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Campo de atribuci\u00f3n del pedido: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Campo de atribuci\u00f3n del pedido: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/order\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/products\/categories": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products\/categories" } ] } }, "\/wc\/store\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "slug": { "description": "Limita el resultado a productos con slug(s) espec\u00edfico(s). Usa comas para separarlos.", "type": "string", "required": false }, "after": { "description": "Limitar la respuesta a recursos creados despu\u00e9s de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a recursos creados antes de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Al limitar la respuesta usando antes\/despu\u00e9s, contra qu\u00e9 columnas de fecha comparar.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "category_operator": { "description": "Operador para comparar los t\u00e9rminos de categor\u00edas de producto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "tag_operator": { "description": "Operador para comparar etiquetas de productos.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00ednimo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "max_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00e1ximo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limitar el resultado a productos con los atributos globales seleccionados.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la taxonom\u00eda.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista de IDs del t\u00e9rmino del atributo.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista de slug(s) del\/los atributo(s). Si se facilita un ID del t\u00e9rmino esto se ignorar\u00e1.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operador para comparar los t\u00e9rminos de los atributos del producto.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "La relaci\u00f3n l\u00f3gica entre atributos al filtrar entre varios a la vez.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determina si se muestran o no los productos del cat\u00e1logo ocultos o visibles.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limitar el resultado establecido a productos con una cierta valoraci\u00f3n media.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Si es true, calcula los precios m\u00ednimo y m\u00e1ximo de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Si es true, calcula el contador de inventario de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Si se solicita, calcula la cantidad del t\u00e9rmino del atributo de los productos de la colecci\u00f3n.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Nombre de la taxonom\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Condici\u00f3n de filtro \t en marcha que podr\u00eda afectar al contador. Los valores v\u00e1lidos incluyen \u00aband\u00bb y \u00abor\u00bb.", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Si es true, calcula el contador de valoraciones de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/reviews": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limita el conjunto de resultados a las valoraciones de IDs de categor\u00edas espec\u00edficas.", "type": "string", "required": false }, "product_id": { "description": "Limita el conjunto de resultados a las valoraciones de IDs de productos espec\u00edficos.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products\/reviews" } ] } }, "\/wc\/store\/products\/tags": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "slug": { "description": "Limita el resultado a productos con slug(s) espec\u00edfico(s). Usa comas para separarlos.", "type": "string", "required": false }, "after": { "description": "Limitar la respuesta a recursos creados despu\u00e9s de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a recursos creados antes de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Al limitar la respuesta usando antes\/despu\u00e9s, contra qu\u00e9 columnas de fecha comparar.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "category_operator": { "description": "Operador para comparar los t\u00e9rminos de categor\u00edas de producto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "tag_operator": { "description": "Operador para comparar etiquetas de productos.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00ednimo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "max_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00e1ximo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limitar el resultado a productos con los atributos globales seleccionados.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la taxonom\u00eda.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista de IDs del t\u00e9rmino del atributo.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista de slug(s) del\/los atributo(s). Si se facilita un ID del t\u00e9rmino esto se ignorar\u00e1.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operador para comparar los t\u00e9rminos de los atributos del producto.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "La relaci\u00f3n l\u00f3gica entre atributos al filtrar entre varios a la vez.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determina si se muestran o no los productos del cat\u00e1logo ocultos o visibles.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limitar el resultado establecido a productos con una cierta valoraci\u00f3n media.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/(?P[\\S]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug del recurso.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1" } ] } }, "\/wc\/store\/v1\/batch": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/batch" } ] } }, "\/wc\/store\/v1\/cart": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart" } ] } }, "\/wc\/store\/v1\/cart\/add-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "El ID del producto o la variaci\u00f3n en el carrito.", "type": "integer", "required": false }, "quantity": { "description": "Cantidad de este art\u00edculo para a\u00f1adir en el carrito.", "type": "integer", "required": false }, "variation": { "description": "Atributos elegidos (para variaciones).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor del atributo de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/add-item" } ] } }, "\/wc\/store\/v1\/cart\/apply-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/apply-coupon" } ] } }, "\/wc\/store\/v1\/cart\/coupons": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "El c\u00f3digo \u00fanico del cup\u00f3n.", "type": "string", "required": false }, "discount_type": { "description": "El tipo de descuento del cup\u00f3n (p.ej.: porcentaje o cantidad fija)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/coupons" } ] } }, "\/wc\/store\/v1\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/extensions": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Nombre de la extensi\u00f3n - ser\u00e1 usado para garantizar que los datos de la solicitud se dirijan adecuadamente.", "type": "string", "required": false }, "data": { "description": "Datos adicionales para pasar a la extensi\u00f3n", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/extensions" } ] } }, "\/wc\/store\/v1\/cart\/items": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/items" } ] } }, "\/wc\/store\/v1\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico para el art\u00edculo en el carrito.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/remove-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Identificador \u00fanico para el cup\u00f3n en el carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/remove-coupon" } ] } }, "\/wc\/store\/v1\/cart\/remove-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico (clave) del producto del carrito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/remove-item" } ] } }, "\/wc\/store\/v1\/cart\/select-shipping-rate": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "El ID del paquete a enviar. D\u00e9jalo en blanco para aplicarlo a todos los paquetes.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "El ID de la tarifa elegida para el paquete.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/v1\/cart\/update-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Identificador \u00fanico (clave) del producto del carrito a actualizar.", "type": "string", "required": false }, "quantity": { "description": "Nueva cantidad del producto en el carrito.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/update-item" } ] } }, "\/wc\/store\/v1\/cart\/update-customer": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/cart\/update-customer" } ] } }, "\/wc\/store\/v1\/checkout": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Datos a pasar con el m\u00e9todo de pago al procesar el pago.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Contrase\u00f1a del cliente para cuentas nuevas, si procede.", "type": "string", "required": false }, "customer_note": { "description": "Nota a\u00f1adida al pedido por el cliente durante el pago.", "type": "string", "required": false }, "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "El ID del m\u00e9todo de pago que se est\u00e1 usando para procesar el pago.", "type": "string", "enum": [ "bacs", "cheque", "cod", "ppcp", "stripe_cc", "stripe_applepay", "stripe_googlepay", "stripe_payment_request", "stripe_afterpay", "stripe_affirm", "stripe_ach", "stripe_ideal", "stripe_p24", "stripe_klarna", "stripe_bancontact", "stripe_giropay", "stripe_eps", "stripe_multibanco", "stripe_sepa", "stripe_sofort", "stripe_wechat", "stripe_fpx", "stripe_becs", "stripe_alipay", "stripe_grabpay", "stripe_boleto", "stripe_oxxo", "stripe_blik", "stripe_konbini", "stripe_paynow", "stripe_promptpay", "stripe_swish", "stripe_amazonpay", "stripe_cashapp", "stripe_revolut", "stripe_zip", "stripe_mobilepay", "stripe_twint", "stripe_upm" ], "required": false }, "create_account": { "description": "Crear una nueva cuenta de usuario como parte del proceso del pedido.", "type": "boolean", "required": false }, "additional_fields": { "description": "Campos adicionales que deben permanecer en el pedido.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Datos de extensi\u00f3n registrados por woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Campo de atribuci\u00f3n del pedido: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Campo de atribuci\u00f3n del pedido: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Campo de atribuci\u00f3n del pedido: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Campo de atribuci\u00f3n del pedido: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Campo de atribuci\u00f3n del pedido: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Campo de atribuci\u00f3n del pedido: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Campo de atribuci\u00f3n del pedido: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Campo de atribuci\u00f3n del pedido: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Campo de atribuci\u00f3n del pedido: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Campo de atribuci\u00f3n del pedido: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Campo de atribuci\u00f3n del pedido: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Campo de atribuci\u00f3n del pedido: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Campo de atribuci\u00f3n del pedido: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Campo de atribuci\u00f3n del pedido: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Campo de atribuci\u00f3n del pedido: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Campo de atribuci\u00f3n del pedido: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/checkout" } ] } }, "\/wc\/store\/v1\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Datos a pasar con el m\u00e9todo de pago al procesar el pago.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Nota a\u00f1adida al pedido por el cliente durante el pago.", "type": "string", "required": false }, "billing_address": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Correo electr\u00f3nico", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Apellidos", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Empresa", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Direcci\u00f3n", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartamento, habitaci\u00f3n, escalera, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Ciudad", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "C\u00f3digo de provincia\/condado, o nombre de la provincia, condado, o distrito.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "C\u00f3digo postal", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "C\u00f3digo de pa\u00eds\/regi\u00f3n en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Tel\u00e9fono", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "El ID del m\u00e9todo de pago que se est\u00e1 usando para procesar el pago.", "type": "string", "enum": [ "bacs", "cheque", "cod", "ppcp", "stripe_cc", "stripe_applepay", "stripe_googlepay", "stripe_payment_request", "stripe_afterpay", "stripe_affirm", "stripe_ach", "stripe_ideal", "stripe_p24", "stripe_klarna", "stripe_bancontact", "stripe_giropay", "stripe_eps", "stripe_multibanco", "stripe_sepa", "stripe_sofort", "stripe_wechat", "stripe_fpx", "stripe_becs", "stripe_alipay", "stripe_grabpay", "stripe_boleto", "stripe_oxxo", "stripe_blik", "stripe_konbini", "stripe_paynow", "stripe_promptpay", "stripe_swish", "stripe_amazonpay", "stripe_cashapp", "stripe_revolut", "stripe_zip", "stripe_mobilepay", "stripe_twint", "stripe_upm" ], "required": false }, "additional_fields": { "description": "Campos adicionales que deben permanecer en el pedido.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Datos de extensi\u00f3n registrados por woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Campo de atribuci\u00f3n del pedido: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Campo de atribuci\u00f3n del pedido: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Campo de atribuci\u00f3n del pedido: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Campo de atribuci\u00f3n del pedido: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Campo de atribuci\u00f3n del pedido: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Campo de atribuci\u00f3n del pedido: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Campo de atribuci\u00f3n del pedido: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Campo de atribuci\u00f3n del pedido: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Campo de atribuci\u00f3n del pedido: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Campo de atribuci\u00f3n del pedido: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Campo de atribuci\u00f3n del pedido: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Campo de atribuci\u00f3n del pedido: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Campo de atribuci\u00f3n del pedido: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Campo de atribuci\u00f3n del pedido: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Campo de atribuci\u00f3n del pedido: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Campo de atribuci\u00f3n del pedido: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/v1\/order\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products\/attributes" } ] } }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/v1\/products\/categories": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products\/categories" } ] } }, "\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/collection-data": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "slug": { "description": "Limita el resultado a productos con slug(s) espec\u00edfico(s). Usa comas para separarlos.", "type": "string", "required": false }, "after": { "description": "Limitar la respuesta a recursos creados despu\u00e9s de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a recursos creados antes de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Al limitar la respuesta usando antes\/despu\u00e9s, contra qu\u00e9 columnas de fecha comparar.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "category_operator": { "description": "Operador para comparar los t\u00e9rminos de categor\u00edas de producto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "tag_operator": { "description": "Operador para comparar etiquetas de productos.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00ednimo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "max_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00e1ximo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limitar el resultado a productos con los atributos globales seleccionados.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la taxonom\u00eda.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista de IDs del t\u00e9rmino del atributo.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista de slug(s) del\/los atributo(s). Si se facilita un ID del t\u00e9rmino esto se ignorar\u00e1.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operador para comparar los t\u00e9rminos de los atributos del producto.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "La relaci\u00f3n l\u00f3gica entre atributos al filtrar entre varios a la vez.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determina si se muestran o no los productos del cat\u00e1logo ocultos o visibles.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limitar el resultado establecido a productos con una cierta valoraci\u00f3n media.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Si es true, calcula los precios m\u00ednimo y m\u00e1ximo de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Si es true, calcula el contador de inventario de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Si se solicita, calcula la cantidad del t\u00e9rmino del atributo de los productos de la colecci\u00f3n.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Nombre de la taxonom\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Condici\u00f3n de filtro \t en marcha que podr\u00eda afectar al contador. Los valores v\u00e1lidos incluyen \u00aband\u00bb y \u00abor\u00bb.", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Si es true, calcula el contador de valoraciones de los productos de la colecci\u00f3n.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products\/collection-data" } ] } }, "\/wc\/store\/v1\/products\/reviews": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limita el conjunto de resultados a las valoraciones de IDs de categor\u00edas espec\u00edficas.", "type": "string", "required": false }, "product_id": { "description": "Limita el conjunto de resultados a las valoraciones de IDs de productos espec\u00edficos.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products\/reviews" } ] } }, "\/wc\/store\/v1\/products\/tags": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordenar en ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar por propiedad del t\u00e9rmino.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Si es true, no se mostrar\u00e1n los t\u00e9rminos vac\u00edos.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products\/tags" } ] } }, "\/wc\/store\/v1\/products": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de productos a mostrar en el conjunto de resultados. Por defecto no hay l\u00edmite si se deja en blanco.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "slug": { "description": "Limita el resultado a productos con slug(s) espec\u00edfico(s). Usa comas para separarlos.", "type": "string", "required": false }, "after": { "description": "Limitar la respuesta a recursos creados despu\u00e9s de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a recursos creados antes de una fecha compatible con ISO8601 dada.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Al limitar la respuesta usando antes\/despu\u00e9s, contra qu\u00e9 columnas de fecha comparar.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "category_operator": { "description": "Operador para comparar los t\u00e9rminos de categor\u00edas de producto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "tag_operator": { "description": "Operador para comparar etiquetas de productos.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00ednimo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "max_price": { "description": "Limita el conjunto de resultados a productos basados en un precio m\u00e1ximo, facilitado usando la unidad m\u00e1s peque\u00f1a de la moneda.", "type": "string", "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limitar el resultado a productos con los atributos globales seleccionados.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nombre del atributo de la taxonom\u00eda.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista de IDs del t\u00e9rmino del atributo.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista de slug(s) del\/los atributo(s). Si se facilita un ID del t\u00e9rmino esto se ignorar\u00e1.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operador para comparar los t\u00e9rminos de los atributos del producto.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "La relaci\u00f3n l\u00f3gica entre atributos al filtrar entre varios a la vez.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determina si se muestran o no los productos del cat\u00e1logo ocultos o visibles.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limitar el resultado establecido a productos con una cierta valoraci\u00f3n media.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/store\/v1\/products" } ] } }, "\/wc\/store\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/(?P[\\S]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug del recurso.", "type": "string", "required": false }, "context": { "description": "\u00c1mbito bajo la cual se realiza la solicitud; determina los campos presentes en la respuesta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/private": { "namespace": "wc\/private", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/private", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/ai\/products": { "namespace": "wc\/private", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "La descripci\u00f3n del negocio de una tienda concreta.", "type": "string", "required": false }, "images": { "description": "Las im\u00e1genes de una tienda dada.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/private\/ai\/products" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/private\/patterns" } ] } }, "\/wp-rocket\/v1": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-rocket\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/enable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true }, "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1\/rocketcdn\/enable" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/disable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1\/rocketcdn\/disable" } ] } }, "\/wp-rocket\/v1\/cpcss\/post\/(?P[\\d]+)": { "namespace": "wp-rocket\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp-rocket\/v1\/support": { "namespace": "wp-rocket\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1\/support" } ] } }, "\/wp-rocket\/v1\/dynamic_lists\/update": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1\/dynamic_lists\/update" } ] } }, "\/wp-rocket\/v1\/options\/export": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-rocket\/v1\/options\/export" } ] } }, "\/wc-ppcp\/v1\/admin": { "namespace": "wc-ppcp\/v1\/admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-ppcp\/v1\/admin", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/admin" } ] } }, "\/wc-ppcp\/v1\/admin\/account\/connect": { "namespace": "wc-ppcp\/v1\/admin", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "environment": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/admin\/account\/connect" } ] } }, "\/wc-ppcp\/v1": { "namespace": "wc-ppcp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-ppcp\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1" } ] } }, "\/wc-ppcp\/v1\/cart\/item": { "namespace": "wc-ppcp\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "payment_method": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/cart\/item" } ] } }, "\/wc-ppcp\/v1\/cart\/shipping": { "namespace": "wc-ppcp\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "payment_method": { "required": true }, "order_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/cart\/shipping" } ] } }, "\/wc-ppcp\/v1\/cart\/checkout": { "namespace": "wc-ppcp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "payment_method": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/cart\/checkout" } ] } }, "\/wc-ppcp\/v1\/cart\/refresh": { "namespace": "wc-ppcp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/cart\/refresh" } ] } }, "\/wc-ppcp\/v1\/cart\/order": { "namespace": "wc-ppcp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "payment_method": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/cart\/order" } ] } }, "\/wc-ppcp\/v1\/order\/pay": { "namespace": "wc-ppcp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "payment_method": { "required": true }, "order_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/order\/pay" } ] } }, "\/wc-ppcp\/v1\/billing-agreement\/token\/?(?P[\\w-]+)?": { "namespace": "wc-ppcp\/v1", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ] }, "\/wc-ppcp\/v1\/billing-agreements\/(?P[\\w-]+)": { "namespace": "wc-ppcp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-ppcp\/v1\/webhook\/(?P[\\w]+)": { "namespace": "wc-ppcp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/wc-ppcp\/v1\/admin\/order\/(?P[\\w]+)": { "namespace": "wc-ppcp\/v1\/admin", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "amount": { "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc-ppcp\/v1\/admin\/order\/(?P[\\w]+)\/tracking": { "namespace": "wc-ppcp\/v1\/admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "tracking": { "required": true }, "shipping_status": { "required": true }, "carrier": { "required": true }, "carrier_other": { "required": false } } } ] }, "\/wc-ppcp\/v1\/admin\/webhook": { "namespace": "wc-ppcp\/v1\/admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "environment": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-ppcp\/v1\/admin\/webhook" } ] } }, "\/wc\/v1": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Usar par\u00e1metros de WP Query para modificar la respuesta. Las variables de consulta privadas necesitan la autorizaci\u00f3n correspondiente.", "required": false }, "code": { "description": "Limitar los resultados a recursos con un c\u00f3digo espec\u00edfico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": true }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "expiry_date": { "description": "Fecha y hora UTC de caducidad del cup\u00f3n.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/coupons" } ] } }, "\/wc\/v1\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "expiry_date": { "description": "Fecha y hora UTC de caducidad del cup\u00f3n.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "expiry_date": { "description": "Fecha y hora UTC de caducidad del cup\u00f3n.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limitar resultados a recursos con un correo electr\u00f3nico determinado.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limitar el conjunto de resultados a recursos con un perfil espec\u00edfico.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "custom_permalinks_manager", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nueva direcci\u00f3n de correo electr\u00f3nico del usuario.", "required": true }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nuevo nombre de usuario del usuario.", "type": "string", "required": false }, "password": { "description": "Nueva contrase\u00f1a de usuario.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/customers" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID al que reasignar las publicaciones.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/customers\/batch" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenido de la nota del pedido.", "required": true }, "customer_note": { "default": false, "description": "Muestra\/define si la nota es solo para referencia o para el cliente (se avisar\u00e1 al usuario).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Usar par\u00e1metros de WP Query para modificar la respuesta. Las variables de consulta privadas necesitan la autorizaci\u00f3n correspondiente.", "required": false }, "status": { "default": "any", "description": "Limitar resultados a pedidos con un estado determinado.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "amount": { "description": "Cantidad del reembolso.", "type": "string", "required": false }, "reason": { "description": "Raz\u00f3n del reembolso.", "type": "string", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Usar par\u00e1metros de WP Query para modificar la respuesta. Las variables de consulta privadas necesitan la autorizaci\u00f3n correspondiente.", "required": false }, "status": { "default": "any", "description": "Limitar resultados a pedidos con un estado determinado.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Estado del pedido.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Metadatos del art\u00edculo del pedido.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etiqueta meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/orders" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Metadatos del art\u00edculo del pedido.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etiqueta meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Metadatos del art\u00edculo del pedido.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etiqueta meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/orders\/batch" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del recurso.", "type": "string", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/attributes" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/categories" } ] } }, "\/wc\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/categories\/batch" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Contenido de la valoraci\u00f3n.", "required": true }, "date_created": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "email": { "type": "string", "description": "Correo electr\u00f3nico de quien dej\u00f3 la valoraci\u00f3n.", "required": true } } } ] }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "date_created": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/shipping_classes" } ] } }, "\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/tags" } ] } }, "\/wc\/v1\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Usar par\u00e1metros de WP Query para modificar la respuesta. Las variables de consulta privadas necesitan la autorizaci\u00f3n correspondiente.", "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limitar resultados a productos con un atributo espec\u00edfico.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "sku": { "description": "Limitar los resultados a productos con un SKU determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "required": false }, "virtual": { "default": false, "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Tipo de descarga, esto controla el esquema en la tienda.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista de variaciones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la variaci\u00f3n.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La fecha en la que la variaci\u00f3n fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la variaci\u00f3n fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL de la variaci\u00f3n.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Precio actual de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Muestra si la variaci\u00f3n est\u00e1 rebajada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Muestra si la variaci\u00f3n puede ser comprada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Si es visible la variaci\u00f3n.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Muestra si se permiten reservas.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Muestra si la variaci\u00f3n est\u00e1 reservada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID de la clase de env\u00edo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista de atributos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "download_type": { "description": "Tipo de descarga, esto controla el esquema en la tienda.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista de variaciones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la variaci\u00f3n.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La fecha en la que la variaci\u00f3n fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la variaci\u00f3n fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL de la variaci\u00f3n.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Precio actual de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Muestra si la variaci\u00f3n est\u00e1 rebajada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Muestra si la variaci\u00f3n puede ser comprada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Si es visible la variaci\u00f3n.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Muestra si se permiten reservas.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Muestra si la variaci\u00f3n est\u00e1 reservada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID de la clase de env\u00edo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista de atributos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "description": "Si se ignora la papelera y se fuerza el borrado.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "download_type": { "description": "Tipo de descarga, esto controla el esquema en la tienda.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista de variaciones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la variaci\u00f3n.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La fecha en la que la variaci\u00f3n fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la variaci\u00f3n fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL de la variaci\u00f3n.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Precio actual de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Fecha de inicio del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Fecha final del precio de oferta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Muestra si la variaci\u00f3n est\u00e1 rebajada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Muestra si la variaci\u00f3n puede ser comprada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Si es visible la variaci\u00f3n.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Muestra si se permiten reservas.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Muestra si la variaci\u00f3n est\u00e1 reservada.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID de la clase de env\u00edo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista de atributos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre de la clase de impuesto.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/taxes\/classes" } ] } }, "\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "description": "Slug \u00fanico del recurso.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Ordenar por clase de impuesto.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/taxes" } ] } }, "\/wc\/v1\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limitar el conjunto de resultados a webhooks asignados a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Tema del webhook.", "required": true }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL de entrega del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/webhooks" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificador \u00fanico del webhook.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificador \u00fanico del webhook.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limitar los resultados a recursos con un c\u00f3digo espec\u00edfico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": true }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/coupons" } ] } }, "\/wc\/v2\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limitar resultados a recursos con un correo electr\u00f3nico determinado.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limitar el conjunto de resultados a recursos con un perfil espec\u00edfico.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "custom_permalinks_manager", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nueva direcci\u00f3n de correo electr\u00f3nico del usuario.", "required": true }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nuevo nombre de usuario del usuario.", "type": "string", "required": false }, "password": { "description": "Nueva contrase\u00f1a de usuario.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/customers" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID al que reasignar las publicaciones.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/customers\/batch" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Limitar el resultado a notas de clientes o internas.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenido de la nota del pedido.", "required": true }, "customer_note": { "default": false, "description": "Si es true<\/em>, la nota se mostrar\u00e1 a los clientes y se les avisar\u00e1. Si es false<\/em>, la nota solo ser\u00e1 de referencia para el administrador.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "amount": { "description": "Cantidad del reembolso.", "type": "string", "required": false }, "reason": { "description": "Raz\u00f3n del reembolso.", "type": "string", "required": false }, "refunded_by": { "description": "ID del usuario que cre\u00f3 el reembolso.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Cuando sea true<\/em>, la API de la pasarela de pago se utiliza para generar el reembolso.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limitar resultados a pedidos con un estado determinado.", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/orders" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/orders\/batch" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del recurso.", "type": "string", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/attributes" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/categories" } ] } }, "\/wc\/v2\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/categories\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Contenido de la valoraci\u00f3n.", "required": true }, "date_created": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, como GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "email": { "type": "string", "description": "Correo electr\u00f3nico de quien dej\u00f3 la valoraci\u00f3n.", "required": true } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "date_created": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, como GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "date_created": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la valoraci\u00f3n, como GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/shipping_classes" } ] } }, "\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/tags" } ] } }, "\/wc\/v2\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "in_stock": { "description": "Limitar el resultado a productos con existencias o sin existencias.", "type": "boolean", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista de IDs de productos agrupados.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista de IDs de productos agrupados.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "description": "Si se ignora la papelera y se fuerza el borrado.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si el producto se muestra (o no) como \u00abhay existencias\u00bb o \u00abagotado\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista de IDs de productos agrupados.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/products\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "in_stock": { "description": "Limitar el resultado a productos con existencias o sin existencias.", "type": "boolean", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "Define si la variaci\u00f3n es visible en la p\u00e1gina del producto.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Define si la variaci\u00f3n es visible en la p\u00e1gina del producto.", "type": "boolean", "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Identificador \u00fanico.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha de finalizaci\u00f3n del precio rebajado, en GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Define si la variaci\u00f3n es visible en la p\u00e1gina del producto.", "type": "boolean", "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "in_stock": { "description": "Controla si la variaci\u00f3n se muestra como \u00abhay existencias\u00bb o como \u00abagotada\u00bb en la tienda.", "type": "boolean", "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n de la imagen. 0 significa que la imagen est\u00e1 destacada.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre de zona de env\u00edo.", "required": true }, "order": { "description": "Orden de zona de env\u00edo.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/shipping\/zones" } ] } }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de zona de env\u00edo.", "type": "string", "required": false }, "order": { "description": "Orden de zona de env\u00edo.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo de ubicaci\u00f3n de la zona de env\u00edo.", "type": "string", "required": false }, "type": { "description": "Tipo de ubicaci\u00f3n de la zona de env\u00edo.", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "order": { "description": "Orden de pedidos del m\u00e9todo de env\u00edo.", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n del m\u00e9todo de env\u00edo.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes del m\u00e9todo de env\u00edo.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "required": true } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false }, "order": { "description": "Orden de pedidos del m\u00e9todo de env\u00edo.", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n del m\u00e9todo de env\u00edo.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes del m\u00e9todo de env\u00edo.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre de la clase de impuesto.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Slug \u00fanico del recurso.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Ordenar por clase de impuesto.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/taxes" } ] } }, "\/wc\/v2\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "required": false }, "city": { "description": "Nombre de la ciudad.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limitar el conjunto de resultados a webhooks asignados a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Tema del webhook.", "required": true }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL de entrega del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/webhooks" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificador \u00fanico del webhook.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificador \u00fanico del webhook.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/system_status\/tools" } ] } }, "\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Un identificador \u00fanico para la herramienta.", "type": "string", "required": false }, "name": { "description": "Nombre de la herramienta.", "type": "string", "required": false }, "action": { "description": "Lo que har\u00e1 la herramienta en funcionamiento.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n de la herramienta.", "type": "string", "required": false }, "success": { "description": "\u00bfSe ejecut\u00f3 correctamente la herramienta?", "type": "boolean", "required": false }, "message": { "description": "Mensaje mostrado por la herramienta.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v2\/payment_gateways" } ] } }, "\/wc\/v2\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "title": { "description": "T\u00edtulo de la pasarela de pago en la p\u00e1gina de finalizar compra.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n de la pasarela de pago en la p\u00e1gina de finalizar compra.", "type": "string", "required": false }, "order": { "description": "Orden de visualizaci\u00f3n de la pasarela de pago", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n de la pasarela de pago.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes de la pasarela de pago.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limitar los resultados a recursos con un c\u00f3digo espec\u00edfico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": true }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/coupons" } ] } }, "\/wc\/v3\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": "string", "required": false }, "amount": { "description": "La cantidad de descuento. Siempre debe ser num\u00e9rico, aunque se defina un porcentaje.", "type": "string", "required": false }, "status": { "description": "El estado del cup\u00f3n. Siempre debe ser borrador, publicado o pendiente de revisi\u00f3n", "type": "string", "required": false }, "discount_type": { "description": "Determina el tipo de descuento que ser\u00e1 aplicado.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descripci\u00f3n del cup\u00f3n.", "type": "string", "required": false }, "date_expires": { "description": "La fecha de caducidad del cup\u00f3n, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "La fecha de caducidad del cup\u00f3n, en GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Si es true<\/em> el cup\u00f3n solo se puede usar individualmente. El resto de cupones que se a\u00f1adan se borrar\u00e1n del carrito.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista de IDs de productos en los que se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista de IDs de productos en los que no se puede utilizar el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cu\u00e1ntas veces puede usarse en total el cup\u00f3n.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cu\u00e1ntas veces puede usar el cup\u00f3n cada cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "N\u00famero m\u00e1ximo de art\u00edculos en el carrito en los que se puede aplicar el cup\u00f3n.", "type": "integer", "required": false }, "free_shipping": { "description": "Si es true<\/em> y el m\u00e9todo de env\u00edo gratuito requiere un cup\u00f3n este cup\u00f3n activar\u00e1 el env\u00edo gratuito.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista de IDs de categor\u00edas a los que se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista de IDs de categor\u00edas a las que no se aplica el cup\u00f3n.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Si es true<\/em> este cup\u00f3n no se aplicar\u00e1 a los art\u00edculos que tengan precios rebajados.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Cantidad m\u00ednima de pedido que necesita estar en el carrito antes de que se aplique el cup\u00f3n.", "type": "string", "required": false }, "maximum_amount": { "description": "Cantidad m\u00e1xima de pedido permitida cuando se utilice el cup\u00f3n.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista de direcciones de correo electr\u00f3nico que pueden utilizar este cup\u00f3n.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limitar resultados a recursos con un correo electr\u00f3nico determinado.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limitar el conjunto de resultados a recursos con un perfil espec\u00edfico.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "custom_permalinks_manager", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nueva direcci\u00f3n de correo electr\u00f3nico del usuario.", "required": true }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nuevo nombre de usuario del usuario.", "type": "string", "required": false }, "password": { "description": "Nueva contrase\u00f1a de usuario.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/customers" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID al que reasignar las publicaciones.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "La direcci\u00f3n de correo electr\u00f3nico para el cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nombre del cliente.", "type": "string", "required": false }, "last_name": { "description": "Apellidos del cliente.", "type": "string", "required": false }, "username": { "description": "Nombre de acceso del cliente.", "type": "string", "required": false }, "password": { "description": "Contrase\u00f1a del cliente.", "type": "string", "required": false }, "billing": { "description": "Lista de los datos de la direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista de datos de direcciones de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo ISO del pa\u00eds.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/layout-templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "area": { "description": "\u00c1rea para obtener plantillas:", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/layout-templates" } ] } }, "\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Limitar el resultado a notas de clientes o internas.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenido de la nota del pedido.", "required": true }, "customer_note": { "default": false, "description": "Si es true<\/em>, la nota se mostrar\u00e1 a los clientes y se les avisar\u00e1. Si es false<\/em>, la nota solo ser\u00e1 de referencia para el administrador.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "Si el valor es true esta nota se atribuir\u00e1 al usuario actual. -Si el valor es false la nota se atribuir\u00e1 al sistema.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "amount": { "description": "Cantidad del reembolso.", "type": "string", "required": false }, "reason": { "description": "Raz\u00f3n del reembolso.", "type": "string", "required": false }, "refunded_by": { "description": "ID del usuario que cre\u00f3 el reembolso.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Cuando sea true<\/em>, la API de la pasarela de pago se utiliza para generar el reembolso.", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "Si el valor es verdadero, se reponen los art\u00edculos reembolsados.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "El ID del pedido.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limitar el resultado a los pedidos que tenga estados espec\u00edficos.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Limitar resultados a pedidos de un cliente determinado.", "type": "integer", "required": false }, "product": { "description": "Limitar resultados a pedidos asignados con un producto determinado.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/orders" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID del padre del pedido.", "type": "integer", "required": false }, "status": { "description": "Estado del pedido.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Moneda en la que el pedido fue creado, en formato ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID del usuario que ha hecho el pedido. 0 para invitados.", "type": "integer", "required": false }, "customer_note": { "description": "Nota dejada por el cliente durante el pago.", "type": "string", "required": false }, "billing": { "description": "Direcci\u00f3n de facturaci\u00f3n.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Correo electr\u00f3nico.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "N\u00famero de tel\u00e9fono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Direcci\u00f3n de env\u00edo.", "type": "object", "properties": { "first_name": { "description": "Nombre.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Apellidos.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nombre de la empresa.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Direcci\u00f3n, l\u00ednea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Direcci\u00f3n, l\u00ednea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Nombre de la ciudad.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "C\u00f3digo ISO o nombre del estado, provincia o distrito.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C\u00f3digo postal.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "C\u00f3digo del pa\u00eds en formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID del m\u00e9todo de pago.", "type": "string", "required": false }, "payment_method_title": { "description": "T\u00edtulo del m\u00e9todo de pago.", "type": "string", "required": false }, "transaction_id": { "description": "ID \u00fanico de la transacci\u00f3n.", "type": "string", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Datos de los art\u00edculos de la l\u00ednea.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nombre del producto principal, si el producto es una variaci\u00f3n.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID del producto.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID de la variaci\u00f3n, si es aplicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Cantidad pedida.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto del producto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotal de impuestos de la l\u00ednea (antes de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Clave meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Valvor meta para la visualizaci\u00f3n de la interfaz.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU del producto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Precio del producto.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Propiedades de la imagen principal del producto.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Datos de las l\u00edneas de env\u00edo.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nombre del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID de la instancia de env\u00edo.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Datos de las l\u00edneas de cuota.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nombre de la cuota.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Clase de impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Estado del impuesto de la cuota.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Total de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Total de impuestos de la l\u00ednea (despu\u00e9s de descuentos).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Impuestos de la l\u00ednea.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID de la tasa de impuestos.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Total de impuesto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotal de impuestos.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Datos de las l\u00edneas de cupones.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del art\u00edculo.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "C\u00f3digo del cup\u00f3n.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Descuento total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Impuesto total del descuento.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Tipo de descuento.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Importe del descuento que aparece en el cup\u00f3n (valor absoluto o un porcentaje, seg\u00fan el tipo de descuento).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Si el cup\u00f3n ofrece o no env\u00edo gratis.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadatos.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definir si el pedido est\u00e1 pagado. Establecer\u00e1 el estado a procesando y reducir\u00e1 el inventario de los art\u00edculos.", "type": "boolean", "required": false }, "manual_update": { "description": "Establezca la acci\u00f3n como manual para que la nota de pedido se registre como \"a\u00f1adida por el usuario\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/orders\/batch" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Identificador \u00fanico del atributo de los t\u00e9rminos.", "type": "integer", "required": false }, "name": { "description": "Nombre del t\u00e9rmino.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del recurso.", "type": "string", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/attributes" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del atributo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "type": { "description": "Tipo de atributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Orden por defecto.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Activar\/Desactivar los archivos de atributo.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/categories" } ] } }, "\/wc\/v3\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "parent": { "description": "El ID para el padre del recurso.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false }, "display": { "description": "Tipo de visualizaci\u00f3n del archivo de categor\u00eda.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Datos de la imagen.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para aplicar un orden personalizado al recurso.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/custom-fields\/names": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "order": { "description": "Ordena los elementos de forma ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/custom-fields\/names" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limitar la respuesta a valoraciones publicadas antes de una fecha dada compatible con ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitar el resultado a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limitar el resultado a las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Asegura que el resultado establecido excluye las valoraciones asignadas a IDs de usuario espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limita el resultado a los del correo electr\u00f3nico de un autor espec\u00edfico.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limita el resultado a valoraciones asignadas a IDs de producto espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limita el resultado a las valoraciones asignadas a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto.", "type": "integer", "required": true }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nombre de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "reviewer_email": { "type": "string", "description": "Correo electr\u00f3nico de quien dej\u00f3 la valoraci\u00f3n.", "required": true }, "review": { "type": "string", "description": "Contenido de la valoraci\u00f3n.", "required": true }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/reviews" } ] } }, "\/wc\/v3\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto al que pertenece la valoraci\u00f3n.", "type": "integer", "required": false }, "product_name": { "description": "Nombre del producto.", "type": "string", "required": false }, "status": { "description": "Estado de la valoraci\u00f3n.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nombre de quien valora.", "type": "string", "required": false }, "reviewer_email": { "description": "Correo electr\u00f3nico de quien valora.", "type": "string", "format": "email", "required": false }, "review": { "description": "El contenido de la valoraci\u00f3n.", "type": "string", "required": false }, "rating": { "description": "Puntuaci\u00f3n de la valoraci\u00f3n (de 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/shipping_classes" } ] } }, "\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes\/slug-suggestion": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Nombre de la clase de env\u00edo.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/shipping_classes\/slug-suggestion" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Desplazar el conjunto de resultados en un n\u00famero espec\u00edfico de elementos. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por atributo del recurso.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Ocultar o no los recursos que no est\u00e9n asignados a ning\u00fan producto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limitar el resultado a los recursos asignados a un superior espec\u00edfico. Se aplica solo a taxonom\u00edas jer\u00e1rquicas.", "type": "integer", "required": false }, "product": { "description": "Limitar los resultados a los recursos asignados a un producto espec\u00edfico.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limitar resultados a recursos con un slug determinado.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre del recurso.", "required": true }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/tags" } ] } }, "\/wc\/v3\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre de la etiqueta.", "type": "string", "required": false }, "slug": { "description": "Un identificador alfanum\u00e9rico para el recurso \u00fanico de su tipo.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n HTML del recurso.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limita los resultados a los que tienen un SKU que coincide parcialmente con una cadena.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "description": "Si se ignora la papelera y se fuerza el borrado.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limitar resultados a productos de un tipo determinado.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "featured": { "description": "Limitar el resultado a productos destacados.", "type": "boolean", "required": false }, "category": { "description": "Limitar resultados a productos asignados al ID de una categor\u00eda espec\u00edfica.", "type": "string", "required": false }, "tag": { "description": "Limitar resultados a productos asignados al ID de una etiqueta espec\u00edfica.", "type": "string", "required": false }, "shipping_class": { "description": "Limitar resultados a productos asignados al ID de una clase de env\u00edo espec\u00edfica.", "type": "string", "required": false }, "attribute": { "description": "Limita el resultado a productos con un atributo espec\u00edfico. Usa el slug del nombre\/atributo de la taxonom\u00eda.", "type": "string", "required": false }, "attribute_term": { "description": "Limitar los resultados a productos con un ID de t\u00e9rmino de atributo espec\u00edfico (requiere un atributo asignado).", "type": "string", "required": false }, "in_stock": { "description": "Limitar el resultado a productos con existencias o sin existencias.", "type": "boolean", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Limita el resultado establecido a ID de categor\u00edas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Limita el resultado establecido a ID de etiquetas de productos espec\u00edficas.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Limita el resultado establecido a una cantidad espec\u00edfica de productos recomendados.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre del producto.", "type": "string", "required": false }, "slug": { "description": "Slug del producto.", "type": "string", "required": false }, "date_created": { "description": "La fecha en la que el producto fue creado, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n del producto, en GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Tipo de producto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Estado del producto (estado de la entrada).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Producto destacado.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilidad del cat\u00e1logo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descripci\u00f3n del producto.", "type": "string", "required": false }, "short_description": { "description": "Descripci\u00f3n corta del producto.", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal del producto.", "type": "string", "required": false }, "sale_price": { "description": "Precio de oferta del producto.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Si el producto es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si el producto es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "external_url": { "description": "URL externa del producto. Solo para productos externos.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Texto del bot\u00f3n externo del producto. Solo para productos externos.", "type": "string", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de producto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias del producto.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Permitir que un art\u00edculo sea comprado en un \u00fanico pedido.", "type": "boolean", "required": false }, "weight": { "description": "Peso del producto (kg)", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones del producto.", "type": "object", "properties": { "length": { "description": "Longitud del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura del producto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura del producto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permitir valoraciones.", "type": "boolean", "required": false }, "post_password": { "description": "Contrase\u00f1a de la entrada.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista de IDs de productos de ventas dirigidas.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista de IDs de productos de ventas cruzadas.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del producto padre.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opcional a enviar al cliente despu\u00e9s de la compra.", "type": "string", "required": false }, "categories": { "description": "Lista de categor\u00edas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la categor\u00eda.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de categor\u00eda.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista de etiquetas.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de etiqueta.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug de etiqueta.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista de im\u00e1genes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posici\u00f3n del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definir si el atributo es visible en la pesta\u00f1a de \u00abInformaci\u00f3n adicional\u00bb en la p\u00e1gina del producto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definir si el atributo puede ser usado como variaci\u00f3n.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista de nombres de t\u00e9rmino del atributo disponibles.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Atributos de la variaci\u00f3n por defecto.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limitar resultados a productos con un slug determinado.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limitar resultados a productos asignados con un estado determinado.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limita el resultado a productos con SKU(s) espec\u00edfico(s). Utiliza comas para separarlos.", "type": "string", "required": false }, "on_sale": { "description": "Limitar el resultado a productos en oferta.", "type": "boolean", "required": false }, "min_price": { "description": "Limitar el resultado a productos basados en un precio m\u00ednimo.", "type": "string", "required": false }, "max_price": { "description": "Limitar el resultado a productos basados en un precio m\u00e1ximo.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limitar el resultado a productos con un estado de inventario espec\u00edfico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limita el conjunto de resultados a productos con o sin precio.", "type": "boolean", "required": false }, "attributes": { "description": "Limitar resultados a productos con atributos espec\u00edficos.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Slug del atributo." }, "term": { "type": "string", "description": "T\u00e9rmino del atributo." }, "terms": { "type": "array", "description": "T\u00e9rminos del atributo." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "id": { "description": "Identificador \u00fanico de la variaci\u00f3n.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificador \u00fanico del producto variable.", "type": "integer", "required": false }, "delete": { "description": "Borra las variaciones sin utilizar.", "type": "boolean", "required": false }, "default_values": { "description": "Valores por defecto para las variaciones generadas.", "type": "object", "properties": { "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unidad de mantenimiento de existencias.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN o ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio normal de la variaci\u00f3n.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Precio rebajado de la variaci\u00f3n.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si la variaci\u00f3n es descargable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Clase de impuesto.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de inventario.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Peso de la variaci\u00f3n (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Slug de la clase de env\u00edo.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } }, "required": false }, "description": { "description": "Descripci\u00f3n de la variaci\u00f3n", "type": "string", "required": false }, "sku": { "description": "Unidad de mantenimiento de existencias.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN o ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Precio normal de la variaci\u00f3n.", "type": "string", "required": false }, "sale_price": { "description": "Precio rebajado de la variaci\u00f3n.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Fecha del inicio del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Fecha del inicio del descuento en el precio, en GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Fecha del fin del descuento en el precio, en la zona horaria del sitio.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Estado de la variaci\u00f3n.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Si la variaci\u00f3n es virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Si la variaci\u00f3n es descargable.", "type": "boolean", "required": false }, "downloads": { "description": "Lista de archivos descargables.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID de archivo.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del archivo.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL del archivo.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "N\u00famero de veces que se pueden descargar los archivos descargables despu\u00e9s de la compra.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "N\u00famero de d\u00edas hasta que caduca el acceso a los archivos descargables.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Estado del impuesto.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Clase de impuesto.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gesti\u00f3n del inventario a nivel de las variaciones.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Cantidad de inventario.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controla el estado del inventario del producto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Si se gestiona el inventario, esto controla si se permiten reservas.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Cantidad de pocas existencias de la variaci\u00f3n.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Peso de la variaci\u00f3n (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensiones de la variaci\u00f3n.", "type": "object", "properties": { "length": { "description": "Largo de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Anchura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altura de la variaci\u00f3n (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug de la clase de env\u00edo.", "type": "string", "required": false }, "image": { "description": "Datos de la imagen de la variaci\u00f3n.", "type": "object", "properties": { "id": { "description": "ID de la imagen.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La fecha en la que la imagen fue creada, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La fecha de creaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La fecha en la que la imagen fue modificada por \u00faltima vez, en la zona horaria del sitio.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La fecha de la \u00faltima modificaci\u00f3n de la imagen, en GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL de la imagen.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nombre de la imagen.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Texto alternativo de la imagen.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista de atributos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del atributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nombre del atributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nombre del t\u00e9rmino del atributo seleccionado.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Orden en el men\u00fa, utilizado para ordenar los productos de manera personalizada.", "type": "integer", "required": false }, "meta_data": { "description": "Metadatos.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Clave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valor meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita los resultados a lo indicado en la cadena.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita la respuesta a recursos modificados despu\u00e9s de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita la respuesta a los recursos modificados antes de una fecha dada conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Si se deben considerar las fechas GMT de las entradas al limitar la respuesta por la fecha de publicaci\u00f3n o modificaci\u00f3n.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limita el resultado establecido a los que tengan IDs superiores particulares.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita el resultado establecido a todos los art\u00edculos excepto a los que tengan un ID superior particular.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "N\u00famero de puntos decimales a usar en cada recurso.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Mostrar solo los metadatos que deben aparecer en un pedido.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limita meta_data a claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Asegura que meta_data excluye claves espec\u00edficas.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del informe.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Devuelve las ventas para una fecha de inicio espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Devuelve las ventas para una fecha de fin espec\u00edfica, la fecha tiene que estar en formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/settings" } ] } }, "\/wc\/v3\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID de ajustes del grupo.", "type": "string", "required": false }, "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "value": { "description": "Valor del ajuste.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nombre de zona de env\u00edo.", "required": true }, "order": { "description": "Orden de zona de env\u00edo.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/shipping\/zones" } ] } }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Nombre de zona de env\u00edo.", "type": "string", "required": false }, "order": { "description": "Orden de zona de env\u00edo.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID \u00fanico del recurso.", "type": "integer", "required": false }, "code": { "description": "C\u00f3digo de ubicaci\u00f3n de la zona de env\u00edo.", "type": "string", "required": false }, "type": { "description": "Tipo de ubicaci\u00f3n de la zona de env\u00edo.", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "order": { "description": "Orden de pedidos del m\u00e9todo de env\u00edo.", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n del m\u00e9todo de env\u00edo.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes del m\u00e9todo de env\u00edo.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID del m\u00e9todo de env\u00edo.", "required": true } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false }, "order": { "description": "Orden de pedidos del m\u00e9todo de env\u00edo.", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n del m\u00e9todo de env\u00edo.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes del m\u00e9todo de env\u00edo.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "ID \u00fanico de la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID \u00fanico de la instancia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Si se ignora la papelera y se fuerza el borrado.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nombre de la clase de impuesto.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Slug \u00fanico del recurso.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "P\u00e1gina actual de la colecci\u00f3n.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "N\u00famero m\u00e1ximo de art\u00edculos a devolver en el conjunto de resultados.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Ordenar por clase de impuesto.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/taxes" } ] } }, "\/wc\/v3\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "C\u00f3digo ISO 3166 del pa\u00eds.", "type": "string", "required": false }, "state": { "description": "C\u00f3digo del estado.", "type": "string", "required": false }, "postcode": { "description": "\u00abC\u00f3digo postal\/ZIP\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abc\u00f3digopostal\u00bb.", "type": "string", "required": false }, "city": { "description": "\u00abNombre de la ciudad\u00bb no es compatible con valores multiples. Quedar\u00e1 obsoleto a partir de la versi\u00f3n 5.3 de WooCommerce, en su lugar debe usarse \u00abciudades\u00bb.", "type": "string", "required": false }, "rate": { "description": "Tasa de impuestos.", "type": "string", "required": false }, "name": { "description": "Nombre de la tasa de impuestos.", "type": "string", "required": false }, "priority": { "description": "Prioridad de impuestos.", "type": "integer", "required": false }, "compound": { "description": "Si se trata o no de una tarifa compuesta.", "type": "boolean", "required": false }, "shipping": { "description": "Si esta tasa de impuesto se aplica tambi\u00e9n al env\u00edo o no.", "type": "boolean", "required": false }, "order": { "description": "Indica el orden que aparecer\u00e1 en las peticiones.", "type": "integer", "required": false }, "class": { "description": "Clase de impuesto.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista de c\u00f3digos postales. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista de nombres de ciudades. Presentado en la versi\u00f3n 5.3 de WooCommerce.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limita la respuesta a los recursos publicados despu\u00e9s de una determinada fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la respuesta a los recursos publicados antes de una fecha conforme con la norma ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Aseg\u00farate de que el conjunto de resultados excluya IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita el resultado establecido a IDs espec\u00edficos.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Anular el resultado establecido por un n\u00famero espec\u00edfico de elementos.", "type": "integer", "required": false }, "order": { "description": "Orden de la clasificaci\u00f3n de atributos ascendente o descendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordenar la colecci\u00f3n por el atributo del objeto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limitar el conjunto de resultados a webhooks asignados a un estado espec\u00edfico.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Tema del webhook.", "required": true }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL de entrega del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/webhooks" } ] } }, "\/wc\/v3\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Tiene que ser verdadero, ya que el recurso no soporta ser movido a la papelera.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nombre amigable para el webhook.", "type": "string", "required": false }, "status": { "description": "Estado del webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Tema del webhook.", "type": "string", "required": false }, "secret": { "description": "Clave secreta utilizada para crear un hash del webhook emitido y ofrecido en las cabeceras de respuesta. Por defecto es un hash MD5 del ID del usuario actual | nombre de usuario si no lo tuviese.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/system_status\/tools" } ] } }, "\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Un identificador \u00fanico para la herramienta.", "type": "string", "required": false }, "name": { "description": "Nombre de la herramienta.", "type": "string", "required": false }, "action": { "description": "Lo que har\u00e1 la herramienta en funcionamiento.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n de la herramienta.", "type": "string", "required": false }, "success": { "description": "\u00bfSe ejecut\u00f3 correctamente la herramienta?", "type": "boolean", "required": false }, "message": { "description": "Mensaje mostrado por la herramienta.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/payment_gateways" } ] } }, "\/wc\/v3\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificador \u00fanico del recurso.", "type": "string", "required": false }, "title": { "description": "T\u00edtulo de la pasarela de pago en la p\u00e1gina de finalizar compra.", "type": "string", "required": false }, "description": { "description": "Descripci\u00f3n de la pasarela de pago en la p\u00e1gina de finalizar compra.", "type": "string", "required": false }, "order": { "description": "Orden de visualizaci\u00f3n de la pasarela de pago", "type": "integer", "required": false }, "enabled": { "description": "Estado de activaci\u00f3n de la pasarela de pago.", "type": "boolean", "required": false }, "settings": { "description": "Ajustes de la pasarela de pago.", "type": "object", "properties": { "id": { "description": "Un identificador \u00fanico para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Una etiqueta legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descripci\u00f3n legible del ajuste utilizado en las interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo de ajuste.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Valor del ajuste.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valor por defecto para el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Texto de ayuda adicional mostrado al usuario sobre el ajuste.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Texto de muestra que se ver\u00e1 en los campos de introducci\u00f3n de texto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/data": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "C\u00f3digo de 2 caracteres del continente.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "C\u00f3digo de pa\u00eds ISO3166 alpha-2.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc\/v3\/data\/currencies\/current" } ] } }, "\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "C\u00f3digo de moneda ISO4217.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Identificador \u00fanico del pedido.", "type": "integer", "required": false }, "expiration_date": { "description": "Fecha de caducidad con formato aaaa-mm-dd.", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "N\u00famero de d\u00edas que hay que a\u00f1adir a la fecha actual para obtener la fecha de caducidad.", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "Verdadero para forzar la creaci\u00f3n de un nuevo recibo aunque ya exista uno y a\u00fan no haya caducado.", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Identificador \u00fanico del pedido.", "type": "integer", "required": false } } } ] }, "\/wc-telemetry": { "namespace": "wc-telemetry", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-telemetry", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "Plataforma a realizar seguimiento.", "type": "string", "required": true }, "version": { "description": "Versi\u00f3n de plataforma a realizar seguimiento.", "type": "string", "required": true }, "installation_date": { "description": "Fecha de instalaci\u00f3n de la aplicaci\u00f3n m\u00f3vil WooCommerce.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wc-telemetry\/tracker" } ] } }, "\/wccom-site\/v3": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wccom-site\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wccom-site\/v3" } ] } }, "\/wccom-site\/v3\/installer": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "run-until-step": { "type": "string", "enum": [ "get_product_info", "download_product", "unpack_product", "move_product", "activate_product" ], "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wccom-site\/v3\/installer" } ] } }, "\/wccom-site\/v3\/installer\/reset": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wccom-site\/v3\/installer\/reset" } ] } }, "\/wccom-site\/v3\/ssr": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wccom-site\/v3\/status" } ] } }, "\/wp\/v2": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limit result set to posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Ensure result set excludes posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit result set based on relationship between multiple taxonomies.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Limit result set to items with specific terms assigned in the categories taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Whether to include child terms in the terms limiting the result set.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Limit result set to items except those with specific terms assigned in the categories taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Whether to include child terms in the terms limiting the result set.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Limit result set to items with specific terms assigned in the tags taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Limit result set to items except those with specific terms assigned in the tags taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Limit result set to items that are sticky.", "type": "boolean", "required": false }, "format": { "description": "Limit result set to items assigned one or more given formats.", "type": "array", "uniqueItems": true, "items": { "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Override the default excerpt length.", "type": "integer", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limit result set to posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Ensure result set excludes posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Limit result set to posts with a specific menu_order value.", "type": "integer", "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to items with particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Override the default excerpt length.", "type": "integer", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/media": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limit result set to posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Ensure result set excludes posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Limit result set to items with particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "Limit result set to attachments of a particular media type.", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "Limit result set to attachments of a particular MIME type.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "alt_text": { "description": "Alternative text to display when attachment is not displayed.", "type": "string", "required": false }, "caption": { "description": "The attachment caption.", "type": "object", "properties": { "raw": { "description": "Caption for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML caption for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "The attachment description.", "type": "object", "properties": { "raw": { "description": "Description for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML description for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "The ID for the associated post of the attachment.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/media" } ] } }, "\/wp\/v2\/media\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "alt_text": { "description": "Alternative text to display when attachment is not displayed.", "type": "string", "required": false }, "caption": { "description": "The attachment caption.", "type": "object", "properties": { "raw": { "description": "Caption for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML caption for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "The attachment description.", "type": "object", "properties": { "raw": { "description": "Description for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML description for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "The ID for the associated post of the attachment.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the attachment.", "type": "integer", "required": false }, "action": { "type": "string", "enum": [ "create-image-subsizes" ], "required": true } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/edit": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "src": { "description": "URL to the edited image file.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Array of image edits.", "type": "array", "minItems": 1, "items": { "description": "Image edit.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "Rotation", "properties": { "type": { "description": "Rotation type.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "Rotation arguments.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "Angle to rotate clockwise in degrees.", "type": "number" } } } } }, { "title": "Crop", "properties": { "type": { "description": "Crop type.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "Crop arguments.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "Horizontal position from the left to begin the crop as a percentage of the image width.", "type": "number" }, "top": { "description": "Vertical position from the top to begin the crop as a percentage of the image height.", "type": "number" }, "width": { "description": "Width of the crop as a percentage of the image width.", "type": "number" }, "height": { "description": "Height of the crop as a percentage of the image height.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.", "type": "number", "minimum": 0, "maximum": 100, "required": false } } } ] }, "\/wp\/v2\/menu-items": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "menu_order", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit result set based on relationship between multiple taxonomies.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "Limit result set to items with specific terms assigned in the menus taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "Limit result set to items except those with specific terms assigned in the menus taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "Limit result set to posts with a specific menu_order value.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "The title for the object.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "parent": { "default": 0, "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "default": 0, "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/menu-items" } ] } }, "\/wp\/v2\/menu-items\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "title": { "description": "The title for the object.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "parent": { "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "The title for the object.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit result set based on relationship between multiple taxonomies.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Override the default excerpt length.", "type": "integer", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Limit to the specified post id.", "type": "integer", "required": false }, "area": { "description": "Limit to the specified template part area.", "type": "string", "required": false }, "post_type": { "description": "Post type to get the templates for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "default": "", "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Description of template.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "The slug of the template to get the fallback for", "type": "string", "required": true }, "is_custom": { "description": "Indicates if a template is custom or part of the template hierarchy", "type": "boolean", "required": false }, "template_prefix": { "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/templates\/lookup" } ] } }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/template-parts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Limit to the specified post id.", "type": "integer", "required": false }, "area": { "description": "Limit to the specified template part area.", "type": "string", "required": false }, "post_type": { "description": "Post type to get the templates for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "default": "", "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Description of template.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "The slug of the template to get the fallback for", "type": "string", "required": true }, "is_custom": { "description": "Indicates if a template is custom or part of the template hierarchy", "type": "boolean", "required": false }, "template_prefix": { "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/template-parts\/lookup" } ] } }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the global styles revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the global styles revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "The theme identifier", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "The theme identifier", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "id": { "description": "The id of a template", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": false }, "args": { "styles": { "description": "Global styles.", "type": [ "object" ], "required": false }, "settings": { "description": "Global settings.", "type": [ "object" ], "required": false }, "title": { "description": "Title of the global styles variation.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the global styles variation, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false } } } ] }, "\/wp\/v2\/navigation": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/navigation" } ] } }, "\/wp\/v2\/navigation\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as revisions do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/font-families": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/font-families" } ] } }, "\/wp\/v2\/font-families\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_face_settings": { "description": "font-face declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "id": { "description": "Unique identifier for the font face.", "type": "integer", "required": true }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "id": { "description": "Unique identifier for the font face.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "popularity", "rating", "popularity", "rating" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit result set based on relationship between multiple taxonomies.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_cat": { "description": "Limit result set to items with specific terms assigned in the product_cat taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Whether to include child terms in the terms limiting the result set.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "Limit result set to items except those with specific terms assigned in the product_cat taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Whether to include child terms in the terms limiting the result set.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "Limit result set to items with specific terms assigned in the product_tag taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "Limit result set to items except those with specific terms assigned in the product_tag taxonomy.", "type": [ "object", "array" ], "oneOf": [ { "title": "Term ID List", "description": "Match terms with the listed IDs.", "type": "array", "items": { "type": "integer" } }, { "title": "Term ID Taxonomy Query", "description": "Perform an advanced term query.", "type": "object", "properties": { "terms": { "description": "Term IDs.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Override the default excerpt length.", "type": "integer", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/tours": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/tours" } ] } }, "\/wp\/v2\/tours\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/tours\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/tours\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/testimonials": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/testimonials" } ] } }, "\/wp\/v2\/testimonials\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/testimonials\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/testimonials\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "An alphanumeric identifier for the post type.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "An alphanumeric identifier for the status.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Limit results to taxonomies associated with a specific post type.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "An alphanumeric identifier for the taxonomy.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to terms assigned to a specific parent.", "type": "integer", "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "parent": { "description": "The parent term ID.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "parent": { "description": "The parent term ID.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false }, "locations": { "description": "The locations assigned to the menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Whether to automatically add top level pages to this menu.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/menus" } ] } }, "\/wp\/v2\/menus\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false }, "locations": { "description": "The locations assigned to the menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Whether to automatically add top level pages to this menu.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/wp_pattern_category" } ] } }, "\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to terms assigned to a specific parent.", "type": "integer", "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "parent": { "description": "The parent term ID.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/product_cat" } ] } }, "\/wp\/v2\/product_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "parent": { "description": "The parent term ID.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by term attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide terms not assigned to any posts.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limit result set to terms assigned to a specific post.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to terms with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/product_tag" } ] } }, "\/wp\/v2\/product_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "description": { "description": "HTML description of the term.", "type": "string", "required": false }, "name": { "description": "HTML title for the term.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the term unique to its type.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the term.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as terms do not support trashing.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by user attribute.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Limit result set to users with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Limit result set to users matching at least one specific role provided. Accepts csv list or single role.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Limit result set to users who are considered authors.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Limit result set to users who have published posts.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_global_styles": "wp_global_styles", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "product": "product", "tours": "tours", "testimonials": "testimonials" } }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "username": { "description": "Login name for the user.", "type": "string", "required": true }, "name": { "description": "Display name for the user.", "type": "string", "required": false }, "first_name": { "description": "First name for the user.", "type": "string", "required": false }, "last_name": { "description": "Last name for the user.", "type": "string", "required": false }, "email": { "description": "The email address for the user.", "type": "string", "format": "email", "required": true }, "url": { "description": "URL of the user.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Description of the user.", "type": "string", "required": false }, "locale": { "description": "Locale for the user.", "type": "string", "enum": [ "", "en_US" ], "required": false }, "nickname": { "description": "The nickname for the user.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the user.", "type": "string", "required": false }, "roles": { "description": "Roles assigned to the user.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password for the user (never included).", "type": "string", "required": true }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the user.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the user.", "type": "integer", "required": false }, "username": { "description": "Login name for the user.", "type": "string", "required": false }, "name": { "description": "Display name for the user.", "type": "string", "required": false }, "first_name": { "description": "First name for the user.", "type": "string", "required": false }, "last_name": { "description": "Last name for the user.", "type": "string", "required": false }, "email": { "description": "The email address for the user.", "type": "string", "format": "email", "required": false }, "url": { "description": "URL of the user.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Description of the user.", "type": "string", "required": false }, "locale": { "description": "Locale for the user.", "type": "string", "enum": [ "", "en_US" ], "required": false }, "nickname": { "description": "The nickname for the user.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the user.", "type": "string", "required": false }, "roles": { "description": "Roles assigned to the user.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password for the user (never included).", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the user.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Required to be true, as users do not support trashing.", "required": false }, "reassign": { "type": "integer", "description": "Reassign the deleted user's posts and links to this user ID.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Login name for the user.", "type": "string", "required": false }, "name": { "description": "Display name for the user.", "type": "string", "required": false }, "first_name": { "description": "First name for the user.", "type": "string", "required": false }, "last_name": { "description": "Last name for the user.", "type": "string", "required": false }, "email": { "description": "The email address for the user.", "type": "string", "format": "email", "required": false }, "url": { "description": "URL of the user.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Description of the user.", "type": "string", "required": false }, "locale": { "description": "Locale for the user.", "type": "string", "enum": [ "", "en_US" ], "required": false }, "nickname": { "description": "The nickname for the user.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the user.", "type": "string", "required": false }, "roles": { "description": "Roles assigned to the user.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password for the user (never included).", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Required to be true, as users do not support trashing.", "required": false }, "reassign": { "type": "integer", "description": "Reassign the deleted user's posts and links to this user ID.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/users\/me" } ] } }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "The name of the application password.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "The name of the application password.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/comments": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to comments published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limit result set to comments assigned to specific user IDs. Requires authorization.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "Ensure result set excludes comments assigned to specific user IDs. Requires authorization.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Limit result set to that from a specific author email. Requires authorization.", "format": "email", "type": "string", "required": false }, "before": { "description": "Limit response to comments published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by comment attribute.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "Limit result set to comments of specific parent IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "Ensure result set excludes specific parent IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Limit result set to comments assigned to specific post IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Limit result set to comments assigned a specific status. Requires authorization.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Limit result set to comments assigned a specific type. Requires authorization.", "type": "string", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "The ID of the user object, if author was a user.", "type": "integer", "required": false }, "author_email": { "description": "Email address for the comment author.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP address for the comment author.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Display name for the comment author.", "type": "string", "required": false }, "author_url": { "description": "URL for the comment author.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent for the comment author.", "type": "string", "required": false }, "content": { "description": "The content for the comment.", "type": "object", "properties": { "raw": { "description": "Content for the comment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the comment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "The date the comment was published, in the site's timezone.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "The date the comment was published, as GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "The ID for the parent of the comment.", "type": "integer", "required": false }, "post": { "default": 0, "description": "The ID of the associated post object.", "type": "integer", "required": false }, "status": { "description": "State of the comment.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/comments" } ] } }, "\/wp\/v2\/comments\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the parent post of the comment (if the post is password protected).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "author": { "description": "The ID of the user object, if author was a user.", "type": "integer", "required": false }, "author_email": { "description": "Email address for the comment author.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP address for the comment author.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Display name for the comment author.", "type": "string", "required": false }, "author_url": { "description": "URL for the comment author.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent for the comment author.", "type": "string", "required": false }, "content": { "description": "The content for the comment.", "type": "object", "properties": { "raw": { "description": "Content for the comment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the comment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "The date the comment was published, in the site's timezone.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "The date the comment was published, as GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "The ID for the parent of the comment.", "type": "integer", "required": false }, "post": { "description": "The ID of the associated post object.", "type": "integer", "required": false }, "status": { "description": "State of the comment.", "type": "string", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass Trash and force deletion.", "required": false }, "password": { "description": "The password for the parent post of the comment (if the post is password protected).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "type": { "default": "post", "description": "Limit results to items of an object type.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Limit results to items of one or more object subtypes.", "type": "array", "items": { "enum": [ "post", "page", "product", "tours", "testimonials", "category", "post_tag", "product_cat", "product_tag", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/search" } ] } }, "\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET", "POST" ], "args": { "name": { "description": "Unique registered name for the block.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Attributes for the block.", "type": "object", "default": [], "required": false }, "post_id": { "description": "ID of the post context.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Block namespace.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/block-types" } ] } }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Block namespace.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Block name.", "type": "string", "required": false }, "namespace": { "description": "Block namespace.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/settings": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "themeisle_sdk_promotions": { "title": "", "description": "", "type": "string", "required": false }, "themeisle_sdk_promotions_otter_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_optimole_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_rop_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_neve_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_redirection_cf7_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_hyve_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "themeisle_sdk_promotions_wp_full_pay_installed": { "title": "", "description": "", "type": "boolean", "required": false }, "title": { "title": "Title", "description": "Site title.", "type": "string", "required": false }, "description": { "title": "Tagline", "description": "Site tagline.", "type": "string", "required": false }, "url": { "title": "", "description": "Site URL.", "type": "string", "format": "uri", "required": false }, "email": { "title": "", "description": "This address is used for admin purposes, like new user notification.", "type": "string", "format": "email", "required": false }, "timezone": { "title": "", "description": "A city in the same timezone as you.", "type": "string", "required": false }, "date_format": { "title": "", "description": "A date format for all date strings.", "type": "string", "required": false }, "time_format": { "title": "", "description": "A time format for all time strings.", "type": "string", "required": false }, "start_of_week": { "title": "", "description": "A day number of the week that the week should start on.", "type": "integer", "required": false }, "language": { "title": "", "description": "WordPress locale code.", "type": "string", "required": false }, "use_smilies": { "title": "", "description": "Convert emoticons like :-) and :-P to graphics on display.", "type": "boolean", "required": false }, "default_category": { "title": "", "description": "Default post category.", "type": "integer", "required": false }, "default_post_format": { "title": "", "description": "Default post format.", "type": "string", "required": false }, "posts_per_page": { "title": "Maximum posts per page", "description": "Blog pages show at most.", "type": "integer", "required": false }, "show_on_front": { "title": "Show on front", "description": "What to show on the front page", "type": "string", "required": false }, "page_on_front": { "title": "Page on front", "description": "The ID of the page that should be displayed on the front page", "type": "integer", "required": false }, "page_for_posts": { "title": "", "description": "The ID of the page that should display the latest posts", "type": "integer", "required": false }, "default_ping_status": { "title": "", "description": "Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "title": "Allow comments on new posts", "description": "Allow people to submit comments on new posts.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "title": "Logo", "description": "Site logo.", "type": "integer", "required": false }, "site_icon": { "title": "Icon", "description": "Site icon.", "type": "integer", "required": false }, "pickup_location_settings": { "title": "", "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "Si est\u00e1 activo, este m\u00e9todo aparecer\u00e1 en el pago basado en bloques.", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "Esto controla el t\u00edtulo que el usuario ve durante el proceso de pago.", "type": "string" }, "tax_status": { "description": "Si se define un coste, esto controla si se aplican las tarifas a ese coste.", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "Coste opcional a cargar para la recogida local.", "type": "string" } }, "additionalProperties": false, "required": false }, "pickup_locations": { "title": "", "description": "WooCommerce Local Pickup Locations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "address_1": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postcode": { "type": "string" }, "country": { "type": "string" } }, "additionalProperties": false }, "details": { "type": "string" }, "enabled": { "type": "boolean" } }, "additionalProperties": false }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Limit result set to themes assigned one or more statuses.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "The theme's stylesheet. This uniquely identifies the theme.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "status": { "description": "Limits results to plugins with the given status.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "The plugin activation status.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "The plugin activation status.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } } ] }, "\/wp\/v2\/sidebars": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a registered sidebar", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Nested widgets.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/widget-types" } ] } }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": true }, "instance": { "description": "Current instance settings of the widget.", "type": "object", "required": false }, "form_data": { "description": "Serialized widget form data to encode into instance settings.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": true }, "instance": { "description": "Current instance settings of the widget.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "The sidebar to return widgets for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the widget.", "type": "string", "required": false }, "id_base": { "description": "The type of the widget. Corresponds to ID in widget-types endpoint.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "The sidebar the widget belongs to.", "type": "string", "required": true }, "instance": { "description": "Instance settings of the widget, if supported.", "type": "object", "properties": { "encoded": { "description": "Base64 encoded representation of the instance settings.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Cryptographic hash of the instance settings.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Unencoded instance settings, if supported.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the widget.", "type": "string", "required": false }, "id_base": { "description": "The type of the widget. Corresponds to ID in widget-types endpoint.", "type": "string", "required": false }, "sidebar": { "description": "The sidebar the widget belongs to.", "type": "string", "required": false }, "instance": { "description": "Instance settings of the widget, if supported.", "type": "object", "properties": { "encoded": { "description": "Base64 encoded representation of the instance settings.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Cryptographic hash of the instance settings.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Unencoded instance settings, if supported.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "Whether to force removal of the widget, or move it to the inactive sidebar.", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Limit result set to blocks matching the search term.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Limit results to those matching a category ID.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Limit results to those matching a keyword ID.", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "Limit results to those matching a pattern (slug).", "type": "array", "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/block-patterns\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/block-patterns\/categories" } ] } }, "\/wp-site-health\/v1": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-site-health\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1" } ] } }, "\/wp-site-health\/v1\/tests\/background-updates": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/background-updates" } ] } }, "\/wp-site-health\/v1\/tests\/loopback-requests": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests" } ] } }, "\/wp-site-health\/v1\/tests\/https-status": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/https-status" } ] } }, "\/wp-site-health\/v1\/tests\/dotorg-communication": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication" } ] } }, "\/wp-site-health\/v1\/tests\/authorization-header": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/authorization-header" } ] } }, "\/wp-site-health\/v1\/directory-sizes": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } }, "\/wp-site-health\/v1\/tests\/page-cache": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-site-health\/v1\/tests\/page-cache" } ] } }, "\/wp-block-editor\/v1": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-block-editor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-block-editor\/v1" } ] } }, "\/wp-block-editor\/v1\/url-details": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "The URL to process.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "An alphanumeric identifier for the menu location.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp-block-editor\/v1\/export": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-block-editor\/v1\/export" } ] } }, "\/wp-block-editor\/v1\/navigation-fallback": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] } }, "site_logo": 0, "site_icon": 645, "site_icon_url": "https:\/\/caminodesantiagotours.com\/wp-content\/uploads\/cdst-symbol-color-scaled.webp", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_icon", "href": "https:\/\/caminodesantiagotours.com\/es\/wp-json\/wp\/v2\/media\/645" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }