{ "name": "Villa Aina", "description": "Slovenia \u2013 La\u0161ko city", "url": "https:\/\/shop.villaaina.com", "home": "https:\/\/shop.villaaina.com\/it", "gmt_offset": "0", "timezone_string": "", "namespaces": [ "oembed\/1.0", "contact-form-7\/v1", "jetpack\/v4", "wpcom\/v2", "mc4wp\/v1", "wc\/blocks", "wc\/v1", "wc\/v2", "wc\/v3", "wccom-site\/v1", "mailchimp-for-woocommerce\/v1", "elementor\/v1", "wp\/v2", "wp-site-health\/v1" ], "authentication": { "application-passwords": { "endpoints": { "authorization": "https:\/\/shop.villaaina.com\/wp-admin\/authorize-application.php" } } }, "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/wp-json\/batch\/v1" } ] } }, "\/oembed\/1.0": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "oembed\/1.0", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/embed": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "L'URL della risorsa da cui recuperare i dati oEmbed.", "type": "string", "format": "uri", "required": true }, "format": { "default": "json", "required": false }, "maxwidth": { "default": 600, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/oembed\/1.0\/embed" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "L'URL della risorsa da cui recuperare i dati oEmbed.", "type": "string", "format": "uri", "required": true }, "format": { "description": "Il formato oEmbed da utilizzare.", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "La larghezza massima in pixel del frame incorporato.", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "L'altezza massima in pixel del frame incorporato.", "type": "integer", "required": false }, "discover": { "description": "Se eseguire una richiesta esplorativa di oEmbed per provider non autorizzati.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/contact-form-7\/v1": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "contact-form-7\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/contact-form-7\/v1" } ] } }, "\/contact-form-7\/v1\/contact-forms": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/contact-form-7\/v1\/contact-forms" } ] } }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback": { "namespace": "contact-form-7\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/refill": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/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:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/plans": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/plans" } ] } }, "\/jetpack\/v4\/products": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/products" } ] } }, "\/jetpack\/v4\/marketing\/survey": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/marketing\/survey" } ] } }, "\/jetpack\/v4\/jitm": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/jitm" } ] } }, "\/jetpack\/v4\/remote_authorize": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/test": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/test" } ] } }, "\/jetpack\/v4\/connection\/test-wpcom": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/test-wpcom" } ] } }, "\/jetpack\/v4\/rewind": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/rewind" } ] } }, "\/jetpack\/v4\/connection\/url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/url" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "registration_nonce": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/register" } ] } }, "\/jetpack\/v4\/connection\/owner": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/jetpack\/v4\/tracking\/settings": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "tracks_opt_out": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/tracking\/settings" } ] } }, "\/jetpack\/v4\/connection\/user": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/connection\/user" } ] } }, "\/jetpack\/v4\/site": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/site" } ] } }, "\/jetpack\/v4\/site\/features": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/site\/features" } ] } }, "\/jetpack\/v4\/site\/purchases": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/site\/purchases" } ] } }, "\/jetpack\/v4\/site\/benefits": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/site\/benefits" } ] } }, "\/jetpack\/v4\/site\/activity": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/site\/activity" } ] } }, "\/jetpack\/v4\/identity-crisis\/confirm-safe-mode": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/identity-crisis\/confirm-safe-mode" } ] } }, "\/jetpack\/v4\/identity-crisis\/start-fresh": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/identity-crisis\/start-fresh" } ] } }, "\/jetpack\/v4\/identity-crisis\/migrate": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/identity-crisis\/migrate" } ] } }, "\/jetpack\/v4\/module\/all": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/module\/all" } ] } }, "\/jetpack\/v4\/module\/all\/active": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "modules": { "default": "", "type": "array", "items": { "type": "string" }, "required": true }, "active": { "default": true, "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/module\/all\/active" } ] } }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false }, "carousel_background_color": { "description": "Schema colori.", "type": "string", "default": "black", "enum": [ "black", "white" ], "required": false }, "carousel_display_exif": { "description": "Mostra i metadati delle foto (Exif<\/a>) nel carosello, quando disponibile.", "type": "boolean", "default": 0, "required": false }, "highlander_comment_form_prompt": { "description": "Scrivi un Saluto", "type": "string", "default": "Rispondi", "required": false }, "jetpack_comment_form_color_scheme": { "description": "Schema di colori", "type": "string", "default": "light", "enum": [ "light", "dark", "transparent" ], "required": false }, "jetpack_portfolio": { "description": "Abilita o disabilita il tipo di contenuto "portfolio" di Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_portfolio_posts_per_page": { "description": "Numero di entrate da mostrare nelle pagine del Portfolio.", "type": "integer", "default": 10, "required": false }, "jetpack_testimonial": { "description": "Abilita o disabilita il post type testimonial di Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_testimonial_posts_per_page": { "description": "Numero di entrate da mostrare nelle pagine Testimonianze.", "type": "integer", "default": 10, "required": false }, "tiled_galleries": { "description": "Mostra tutte le immagini della galleria in un fantastico mosaico.", "type": "boolean", "default": 0, "required": false }, "gravatar_disable_hovercards": { "description": "Visualizza i profili quando il cursore passa sui loro Gravatar", "type": "string", "default": "enabled", "enum": [ "enabled", "disabled" ], "required": false }, "infinite_scroll": { "description": "Verso l'infinito e oltre", "type": "boolean", "default": 1, "required": false }, "infinite_scroll_google_analytics": { "description": "Utilizza Google Analytics con lo Scorrimento Infinito", "type": "boolean", "default": 0, "required": false }, "wpl_default": { "description": "I Mi piace su WordPress.com sono", "type": "string", "default": "on", "enum": [ "on", "off" ], "required": false }, "social_notifications_like": { "description": "Invia una notifica email quando qualcuno fa like a un post", "type": "boolean", "default": 1, "required": false }, "wpcom_publish_comments_with_markdown": { "description": "Usa Markdown per i commenti.", "type": "boolean", "default": 0, "required": false }, "wpcom_publish_posts_with_markdown": { "description": "Usa il Markdown per i post", "type": "boolean", "default": 0, "required": false }, "wp_mobile_excerpt": { "description": "Stralci", "type": "boolean", "default": 0, "required": false }, "wp_mobile_featured_images": { "description": "Immagini in primo piano", "type": "boolean", "default": 0, "required": false }, "wp_mobile_app_promos": { "description": "Mostra una promozione delle applicazioni WordPress per dispositivi mobili nel pi\u00e8 di pagina del tema mobile.", "type": "boolean", "default": 0, "required": false }, "monitor_receive_notifications": { "description": "Ricevi le notifiche via email dal modulo Monitor", "type": "boolean", "default": 0, "required": false }, "post_by_email_address": { "description": "Indirizzo e-mail", "type": "string", "default": "noop", "enum": [ "noop", "create", "regenerate", "delete" ], "required": false }, "jetpack_protect_key": { "description": "Proteggi la chiave API", "type": "string", "default": "", "required": false }, "jetpack_protect_global_whitelist": { "description": "Protezione whitelist globale", "type": "string", "default": "", "required": false }, "sharing_services": { "description": "Servizi attivi e quelli nascosti dietro un pulsante", "type": "object", "default": { "visible": [ "twitter", "facebook", "google-plus-1" ], "hidden": [] }, "required": false }, "button_style": { "description": "Stile del pulsante", "type": "string", "default": "icon", "enum": [ "icon-text", "icon", "text", "official" ], "required": false }, "sharing_label": { "description": "Etichetta di condivisione", "type": "string", "default": "", "required": false }, "show": { "description": "Mostra dove i bottoni sono visualizzati", "type": "array", "items": { "type": "string" }, "default": [ "post" ], "required": false }, "jetpack-twitter-cards-site-tag": { "description": "Il nome utente su Twitter del proprietario del dominio di questo sito.", "type": "string", "default": "", "required": false }, "sharedaddy_disable_resources": { "description": "Disabilita CSS e JS", "type": "boolean", "default": 0, "required": false }, "custom": { "description": "Servizi di condivisione personalizzati sono stati aggiunti dall'utente.", "type": "object", "default": { "sharing_name": "", "sharing_url": "", "sharing_icon": "" }, "required": false }, "sharing_delete_service": { "description": "Elimina il servizio personalizzato di condivisione.", "type": "string", "default": "", "required": false }, "jetpack_sso_require_two_step": { "description": "Richiede Autenticazione a 2 fattori (Two-Step)", "type": "boolean", "default": 0, "required": false }, "jetpack_sso_match_by_email": { "description": "Confronto con Mail", "type": "boolean", "default": 0, "required": false }, "stb_enabled": { "description": "Mostra un'opzione 'segui il blog'<\/em> nel modulo per i commenti", "type": "boolean", "default": 1, "required": false }, "stc_enabled": { "description": "Mostra un'opzione 'segui i commenti'<\/em> nel modulo per i commenti", "type": "boolean", "default": 1, "required": false }, "show_headline": { "description": "Evidenzia il contenuto correlato con un'intestazione", "type": "boolean", "default": 1, "required": false }, "show_thumbnails": { "description": "Visualizza un'immagine in miniatura se disponibile", "type": "boolean", "default": 0, "required": false }, "google": { "description": "Google Search Console", "type": "string", "default": "", "required": false }, "bing": { "description": "Centro Webmaster Bing", "type": "string", "default": "", "required": false }, "pinterest": { "description": "Verifica del sito da Pinterest", "type": "string", "default": "", "required": false }, "yandex": { "description": "Verifica sito con Yandex ", "type": "string", "default": "", "required": false }, "enable_header_ad": { "description": "Mostra una pubblicit\u00e0 all'inizio di ogni pagina. ", "type": "boolean", "default": 1, "required": false }, "wordads_approved": { "description": "Questo sito \u00e8 stato approvato per WordAds?", "type": "boolean", "default": 0, "required": false }, "wordads_second_belowpost": { "description": "Visualizzare una seconda pubblicit\u00e0 sotto gli articoli?", "type": "boolean", "default": 1, "required": false }, "wordads_display_front_page": { "description": "Visualizzare pubblicit\u00e0 sulla pagina principale?", "type": "boolean", "default": 1, "required": false }, "wordads_display_post": { "description": "Visualizzare pubblicit\u00e0 sugli articoli?", "type": "boolean", "default": 1, "required": false }, "wordads_display_page": { "description": "Visualizzare pubblicit\u00e0 sulle pagine?", "type": "boolean", "default": 1, "required": false }, "wordads_display_archive": { "description": "Visualizzare pubblicit\u00e0 o pagine di archivio?", "type": "boolean", "default": 1, "required": false }, "wordads_custom_adstxt": { "description": "Personalizza le voci di ads.txt", "type": "string", "default": "", "required": false }, "google_analytics_tracking_id": { "description": "Google Analytics", "type": "string", "default": "", "required": false }, "admin_bar": { "description": "Includi un piccolo grafico nella barra di amministrazione con istantanee di 48 ore di traffico.", "type": "boolean", "default": 1, "required": false }, "roles": { "description": "Seleziona i ruoli che potranno visualizzare i prospetti statistici.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "count_roles": { "description": "Conta le visualizzazioni di pagina degli utenti registrati collegati.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "blog_id": { "description": "ID del Blog.", "type": "boolean", "default": 0, "required": false }, "do_not_track": { "description": "Non tracciare.", "type": "boolean", "default": 1, "required": false }, "hide_smile": { "description": "Nascondi le immagini smile nelle statistiche.", "type": "boolean", "default": 1, "required": false }, "version": { "description": "Versione.", "type": "integer", "default": 9, "required": false }, "akismet_show_user_comments_approved": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordpress_api_key": { "description": "", "type": "string", "default": "", "required": false }, "dismiss_dash_app_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_empty_stats_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "lang_id": { "description": "Lingua primaria per il sito.", "type": "string", "default": "en_US", "required": false }, "onboarding": { "description": "", "type": "object", "default": { "siteTitle": "", "siteDescription": "", "siteType": "personal", "homepageFormat": "posts", "addContactForm": 0, "businessAddress": { "name": "", "street": "", "city": "", "state": "", "zip": "" }, "installWooCommerce": false }, "required": false }, "carousel": { "description": "", "type": "boolean", "default": 0, "required": false }, "comment-likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "comments": { "description": "", "type": "boolean", "default": 0, "required": false }, "contact-form": { "description": "", "type": "boolean", "default": 0, "required": false }, "copy-post": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-content-types": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-css": { "description": "", "type": "boolean", "default": 0, "required": false }, "enhanced-distribution": { "description": "", "type": "boolean", "default": 0, "required": false }, "google-analytics": { "description": "", "type": "boolean", "default": 0, "required": false }, "gravatar-hovercards": { "description": "", "type": "boolean", "default": 0, "required": false }, "infinite-scroll": { "description": "", "type": "boolean", "default": 0, "required": false }, "json-api": { "description": "", "type": "boolean", "default": 0, "required": false }, "latex": { "description": "", "type": "boolean", "default": 0, "required": false }, "lazy-images": { "description": "", "type": "boolean", "default": 0, "required": false }, "likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "markdown": { "description": "", "type": "boolean", "default": 0, "required": false }, "masterbar": { "description": "", "type": "boolean", "default": 0, "required": false }, "minileven": { "description": "", "type": "boolean", "default": 0, "required": false }, "monitor": { "description": "", "type": "boolean", "default": 0, "required": false }, "notes": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon-cdn": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-by-email": { "description": "", "type": "boolean", "default": 0, "required": false }, "protect": { "description": "", "type": "boolean", "default": 0, "required": false }, "publicize": { "description": "", "type": "boolean", "default": 0, "required": false }, "related-posts": { "description": "", "type": "boolean", "default": 0, "required": false }, "search": { "description": "", "type": "boolean", "default": 0, "required": false }, "seo-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "sharedaddy": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortcodes": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortlinks": { "description": "", "type": "boolean", "default": 0, "required": false }, "sso": { "description": "", "type": "boolean", "default": 0, "required": false }, "stats": { "description": "", "type": "boolean", "default": 0, "required": false }, "subscriptions": { "description": "", "type": "boolean", "default": 0, "required": false }, "tiled-gallery": { "description": "", "type": "boolean", "default": 0, "required": false }, "vaultpress": { "description": "", "type": "boolean", "default": 0, "required": false }, "verification-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "videopress": { "description": "", "type": "boolean", "default": 0, "required": false }, "widget-visibility": { "description": "", "type": "boolean", "default": 0, "required": false }, "widgets": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordads": { "description": "", "type": "boolean", "default": 0, "required": false } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/active": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "active": { "default": true, "type": "boolean", "required": true } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "range": { "default": "day", "type": "string", "required": false } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/key\/check": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "api_key": { "default": "", "type": "string", "required": false } } } ] }, "\/jetpack\/v4\/settings": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false }, "carousel_background_color": { "description": "Schema colori.", "type": "string", "default": "black", "enum": [ "black", "white" ], "required": false }, "carousel_display_exif": { "description": "Mostra i metadati delle foto (Exif<\/a>) nel carosello, quando disponibile.", "type": "boolean", "default": 0, "required": false }, "highlander_comment_form_prompt": { "description": "Scrivi un Saluto", "type": "string", "default": "Rispondi", "required": false }, "jetpack_comment_form_color_scheme": { "description": "Schema di colori", "type": "string", "default": "light", "enum": [ "light", "dark", "transparent" ], "required": false }, "jetpack_portfolio": { "description": "Abilita o disabilita il tipo di contenuto "portfolio" di Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_portfolio_posts_per_page": { "description": "Numero di entrate da mostrare nelle pagine del Portfolio.", "type": "integer", "default": 10, "required": false }, "jetpack_testimonial": { "description": "Abilita o disabilita il post type testimonial di Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_testimonial_posts_per_page": { "description": "Numero di entrate da mostrare nelle pagine Testimonianze.", "type": "integer", "default": 10, "required": false }, "tiled_galleries": { "description": "Mostra tutte le immagini della galleria in un fantastico mosaico.", "type": "boolean", "default": 0, "required": false }, "gravatar_disable_hovercards": { "description": "Visualizza i profili quando il cursore passa sui loro Gravatar", "type": "string", "default": "enabled", "enum": [ "enabled", "disabled" ], "required": false }, "infinite_scroll": { "description": "Verso l'infinito e oltre", "type": "boolean", "default": 1, "required": false }, "infinite_scroll_google_analytics": { "description": "Utilizza Google Analytics con lo Scorrimento Infinito", "type": "boolean", "default": 0, "required": false }, "wpl_default": { "description": "I Mi piace su WordPress.com sono", "type": "string", "default": "on", "enum": [ "on", "off" ], "required": false }, "social_notifications_like": { "description": "Invia una notifica email quando qualcuno fa like a un post", "type": "boolean", "default": 1, "required": false }, "wpcom_publish_comments_with_markdown": { "description": "Usa Markdown per i commenti.", "type": "boolean", "default": 0, "required": false }, "wpcom_publish_posts_with_markdown": { "description": "Usa il Markdown per i post", "type": "boolean", "default": 0, "required": false }, "wp_mobile_excerpt": { "description": "Stralci", "type": "boolean", "default": 0, "required": false }, "wp_mobile_featured_images": { "description": "Immagini in primo piano", "type": "boolean", "default": 0, "required": false }, "wp_mobile_app_promos": { "description": "Mostra una promozione delle applicazioni WordPress per dispositivi mobili nel pi\u00e8 di pagina del tema mobile.", "type": "boolean", "default": 0, "required": false }, "monitor_receive_notifications": { "description": "Ricevi le notifiche via email dal modulo Monitor", "type": "boolean", "default": 0, "required": false }, "post_by_email_address": { "description": "Indirizzo e-mail", "type": "string", "default": "noop", "enum": [ "noop", "create", "regenerate", "delete" ], "required": false }, "jetpack_protect_key": { "description": "Proteggi la chiave API", "type": "string", "default": "", "required": false }, "jetpack_protect_global_whitelist": { "description": "Protezione whitelist globale", "type": "string", "default": "", "required": false }, "sharing_services": { "description": "Servizi attivi e quelli nascosti dietro un pulsante", "type": "object", "default": { "visible": [ "twitter", "facebook", "google-plus-1" ], "hidden": [] }, "required": false }, "button_style": { "description": "Stile del pulsante", "type": "string", "default": "icon", "enum": [ "icon-text", "icon", "text", "official" ], "required": false }, "sharing_label": { "description": "Etichetta di condivisione", "type": "string", "default": "", "required": false }, "show": { "description": "Mostra dove i bottoni sono visualizzati", "type": "array", "items": { "type": "string" }, "default": [ "post" ], "required": false }, "jetpack-twitter-cards-site-tag": { "description": "Il nome utente su Twitter del proprietario del dominio di questo sito.", "type": "string", "default": "", "required": false }, "sharedaddy_disable_resources": { "description": "Disabilita CSS e JS", "type": "boolean", "default": 0, "required": false }, "custom": { "description": "Servizi di condivisione personalizzati sono stati aggiunti dall'utente.", "type": "object", "default": { "sharing_name": "", "sharing_url": "", "sharing_icon": "" }, "required": false }, "sharing_delete_service": { "description": "Elimina il servizio personalizzato di condivisione.", "type": "string", "default": "", "required": false }, "jetpack_sso_require_two_step": { "description": "Richiede Autenticazione a 2 fattori (Two-Step)", "type": "boolean", "default": 0, "required": false }, "jetpack_sso_match_by_email": { "description": "Confronto con Mail", "type": "boolean", "default": 0, "required": false }, "stb_enabled": { "description": "Mostra un'opzione 'segui il blog'<\/em> nel modulo per i commenti", "type": "boolean", "default": 1, "required": false }, "stc_enabled": { "description": "Mostra un'opzione 'segui i commenti'<\/em> nel modulo per i commenti", "type": "boolean", "default": 1, "required": false }, "show_headline": { "description": "Evidenzia il contenuto correlato con un'intestazione", "type": "boolean", "default": 1, "required": false }, "show_thumbnails": { "description": "Visualizza un'immagine in miniatura se disponibile", "type": "boolean", "default": 0, "required": false }, "google": { "description": "Google Search Console", "type": "string", "default": "", "required": false }, "bing": { "description": "Centro Webmaster Bing", "type": "string", "default": "", "required": false }, "pinterest": { "description": "Verifica del sito da Pinterest", "type": "string", "default": "", "required": false }, "yandex": { "description": "Verifica sito con Yandex ", "type": "string", "default": "", "required": false }, "enable_header_ad": { "description": "Mostra una pubblicit\u00e0 all'inizio di ogni pagina. ", "type": "boolean", "default": 1, "required": false }, "wordads_approved": { "description": "Questo sito \u00e8 stato approvato per WordAds?", "type": "boolean", "default": 0, "required": false }, "wordads_second_belowpost": { "description": "Visualizzare una seconda pubblicit\u00e0 sotto gli articoli?", "type": "boolean", "default": 1, "required": false }, "wordads_display_front_page": { "description": "Visualizzare pubblicit\u00e0 sulla pagina principale?", "type": "boolean", "default": 1, "required": false }, "wordads_display_post": { "description": "Visualizzare pubblicit\u00e0 sugli articoli?", "type": "boolean", "default": 1, "required": false }, "wordads_display_page": { "description": "Visualizzare pubblicit\u00e0 sulle pagine?", "type": "boolean", "default": 1, "required": false }, "wordads_display_archive": { "description": "Visualizzare pubblicit\u00e0 o pagine di archivio?", "type": "boolean", "default": 1, "required": false }, "wordads_custom_adstxt": { "description": "Personalizza le voci di ads.txt", "type": "string", "default": "", "required": false }, "google_analytics_tracking_id": { "description": "Google Analytics", "type": "string", "default": "", "required": false }, "admin_bar": { "description": "Includi un piccolo grafico nella barra di amministrazione con istantanee di 48 ore di traffico.", "type": "boolean", "default": 1, "required": false }, "roles": { "description": "Seleziona i ruoli che potranno visualizzare i prospetti statistici.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "count_roles": { "description": "Conta le visualizzazioni di pagina degli utenti registrati collegati.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "blog_id": { "description": "ID del Blog.", "type": "boolean", "default": 0, "required": false }, "do_not_track": { "description": "Non tracciare.", "type": "boolean", "default": 1, "required": false }, "hide_smile": { "description": "Nascondi le immagini smile nelle statistiche.", "type": "boolean", "default": 1, "required": false }, "version": { "description": "Versione.", "type": "integer", "default": 9, "required": false }, "akismet_show_user_comments_approved": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordpress_api_key": { "description": "", "type": "string", "default": "", "required": false }, "dismiss_dash_app_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_empty_stats_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "lang_id": { "description": "Lingua primaria per il sito.", "type": "string", "default": "en_US", "required": false }, "onboarding": { "description": "", "type": "object", "default": { "siteTitle": "", "siteDescription": "", "siteType": "personal", "homepageFormat": "posts", "addContactForm": 0, "businessAddress": { "name": "", "street": "", "city": "", "state": "", "zip": "" }, "installWooCommerce": false }, "required": false }, "carousel": { "description": "", "type": "boolean", "default": 0, "required": false }, "comment-likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "comments": { "description": "", "type": "boolean", "default": 0, "required": false }, "contact-form": { "description": "", "type": "boolean", "default": 0, "required": false }, "copy-post": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-content-types": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-css": { "description": "", "type": "boolean", "default": 0, "required": false }, "enhanced-distribution": { "description": "", "type": "boolean", "default": 0, "required": false }, "google-analytics": { "description": "", "type": "boolean", "default": 0, "required": false }, "gravatar-hovercards": { "description": "", "type": "boolean", "default": 0, "required": false }, "infinite-scroll": { "description": "", "type": "boolean", "default": 0, "required": false }, "json-api": { "description": "", "type": "boolean", "default": 0, "required": false }, "latex": { "description": "", "type": "boolean", "default": 0, "required": false }, "lazy-images": { "description": "", "type": "boolean", "default": 0, "required": false }, "likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "markdown": { "description": "", "type": "boolean", "default": 0, "required": false }, "masterbar": { "description": "", "type": "boolean", "default": 0, "required": false }, "minileven": { "description": "", "type": "boolean", "default": 0, "required": false }, "monitor": { "description": "", "type": "boolean", "default": 0, "required": false }, "notes": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon-cdn": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-by-email": { "description": "", "type": "boolean", "default": 0, "required": false }, "protect": { "description": "", "type": "boolean", "default": 0, "required": false }, "publicize": { "description": "", "type": "boolean", "default": 0, "required": false }, "related-posts": { "description": "", "type": "boolean", "default": 0, "required": false }, "search": { "description": "", "type": "boolean", "default": 0, "required": false }, "seo-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "sharedaddy": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortcodes": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortlinks": { "description": "", "type": "boolean", "default": 0, "required": false }, "sso": { "description": "", "type": "boolean", "default": 0, "required": false }, "stats": { "description": "", "type": "boolean", "default": 0, "required": false }, "subscriptions": { "description": "", "type": "boolean", "default": 0, "required": false }, "tiled-gallery": { "description": "", "type": "boolean", "default": 0, "required": false }, "vaultpress": { "description": "", "type": "boolean", "default": 0, "required": false }, "verification-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "videopress": { "description": "", "type": "boolean", "default": 0, "required": false }, "widget-visibility": { "description": "", "type": "boolean", "default": 0, "required": false }, "widgets": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordads": { "description": "", "type": "boolean", "default": 0, "required": false } } }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/settings" } ] } }, "\/jetpack\/v4\/settings\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false } } } ] }, "\/jetpack\/v4\/options\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/updates\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/updates\/plugins" } ] } }, "\/jetpack\/v4\/notice\/(?P[a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/plugins" } ] } }, "\/jetpack\/v4\/plugins\/akismet\/activate": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/plugins\/akismet\/activate" } ] } }, "\/jetpack\/v4\/plugin\/(?P[a-z\\\/\\.\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/widgets\/(?P[0-9a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "keyring_id": { "type": "integer", "required": true } } } ] }, "\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)\/(?[0-9]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/service-api-keys\/(?P[a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "service_api_key": { "type": "text", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/jetpack\/v4\/mobile\/send-login-email": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/mobile\/send-login-email" } ] } }, "\/wpcom\/v2": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpcom\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2" } ] } }, "\/wpcom\/v2\/business-hours\/localized-week": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/business-hours\/localized-week" } ] } }, "\/wpcom\/v2\/mailchimp": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/mailchimp" } ] } }, "\/wpcom\/v2\/mailchimp\/groups": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/mailchimp\/groups" } ] } }, "\/wpcom\/v2\/resolve-redirect\/(?P.+)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "L'URL da verificare per la presenza di reindirizzamenti.", "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/gutenberg\/available-extensions": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/gutenberg\/available-extensions" } ] } }, "\/wpcom\/v2\/hello": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/hello" } ] } }, "\/wpcom\/v2\/publicize\/connections": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/publicize\/connections" } ] } }, "\/wpcom\/v2\/publicize\/connection-test-results": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/publicize\/connection-test-results" } ] } }, "\/wpcom\/v2\/publicize\/services": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wpcom\/v2\/publicize\/services" } ] } }, "\/wpcom\/v2\/service-api-keys\/(?P[a-z\\-_]+)": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "service_api_key": { "type": "text", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/jetpack\/v4\/verify_registration" } ] } }, "\/mc4wp\/v1": { "namespace": "mc4wp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mc4wp\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/mc4wp\/v1" } ] } }, "\/mc4wp\/v1\/form": { "namespace": "mc4wp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/mc4wp\/v1\/form" } ] } }, "\/wc\/blocks": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/blocks", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks" } ] } }, "\/wc\/blocks\/products\/attributes": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks\/products\/attributes" } ] } }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } } ] }, "\/wc\/blocks\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/blocks\/products\/categories": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks\/products\/categories" } ] } }, "\/wc\/blocks\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/blocks\/products\/tags": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks\/products\/tags" } ] } }, "\/wc\/blocks\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/blocks\/products": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limita i risultati ai prodotti di un tipo specifico.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "featured": { "description": "Restringi il risultato ai prodotti in evidenza.", "type": "boolean", "required": false }, "category": { "description": "Limita i risultati ai prodotti assegnati ad una specifica categoria.", "type": "string", "required": false }, "tag": { "description": "Limita i risultati ai prodotti assegnati ad uno specifico tag.", "type": "string", "required": false }, "shipping_class": { "description": "Limita i risultati ai prodotti assegnati ad una specifica classe di spedizione.", "type": "string", "required": false }, "attribute": { "description": "Limita i risultati ai prodotti con uno specifico attributo. Usa il nome della tassonomia o lo slug dell'attributo.", "type": "string", "required": false }, "attribute_term": { "description": "Limita i risultati ai prodotti con uno specifico termine di attributo (obbligatoriamente un attributo assegnato).", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false }, "stock_status": { "description": "Limite del risultato impostato sui prodotti con stato della disponibilit\u00e0 specifico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "category_operator": { "description": "Operatore per confrontare i termini di categoria del prodotto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag_operator": { "description": "Operatore per confrontare i tag dei prodotti.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "attribute_operator": { "description": "Operatore per confrontare i termini dell\u2019attributo del prodotto.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "catalog_visibility": { "description": "Determina se vengono visualizzati i prodotti nascosti o visibili del catalogo.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks\/products" } ] } }, "\/wc\/blocks\/products\/(?P[\\d]+)": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/blocks\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false }, "stock_status": { "description": "Limite del risultato impostato sui prodotti con stato della disponibilit\u00e0 specifico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false } } } ] }, "\/wc\/blocks\/products\/reviews": { "namespace": "wc\/blocks", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "product_id": { "default": [], "description": "Limita l'insieme dei risultati alle recensioni assegnate a ID di prodotto specifici.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_id": { "default": [], "description": "Limita l'insieme dei risultati alle recensioni del prodotto con ID categoria specifici.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/blocks\/products\/reviews" } ] } }, "\/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:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "filter": { "type": "object", "description": "Usa gli argomenti di WP Query per modificare la risposta; le variabili di query private necessitano dell'autorizzazione appropriata.", "required": false }, "code": { "description": "Limita i risultati alle risorse con un codice specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": true }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "expiry_date": { "description": "DateTime UTC della scadenza del codice promozionale.", "type": "string", "required": false }, "individual_use": { "default": false, "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "expiry_date": { "description": "DateTime UTC della scadenza del codice promozionale.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "expiry_date": { "description": "DateTime UTC della scadenza del codice promozionale.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitare il set di risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limita i risultati alle risorse con uno specifico indirizzo email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limita i risultati alle risorse con uno specifico ruolo.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nuovo indirizzo email dell'utente.", "required": true }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nuovo username utente.", "type": "string", "required": false }, "password": { "description": "Nuova password utente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID da re-assegnare agli articoli.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenuto della nota dell'ordine.", "required": true }, "customer_note": { "default": false, "description": "Mostra\/definisce se la nota \u00e8 solo per referenza o per il cliente (l'utente verr\u00e0 avvisato).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "filter": { "type": "object", "description": "Usa gli argomenti di WP Query per modificare la risposta; le variabili di query private necessitano dell'autorizzazione appropriata.", "required": false }, "status": { "default": "any", "description": "Limita i risultati agli ordini assegnati ad uno stato specifico.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "customer": { "description": "Limita i risultati agli ordini assegnati ad un cliente specifico.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati agli ordini contenenti uno specifico prodotto.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "amount": { "description": "Valore del rimborso.", "type": "string", "required": false }, "reason": { "description": "Motivo del rimborso.", "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": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "filter": { "type": "object", "description": "Usa gli argomenti di WP Query per modificare la risposta; le variabili di query private necessitano dell'autorizzazione appropriata.", "required": false }, "status": { "default": "any", "description": "Limita i risultati agli ordini assegnati ad uno stato specifico.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "customer": { "description": "Limita i risultati agli ordini assegnati ad un cliente specifico.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati agli ordini contenenti uno specifico prodotto.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "default": "EUR", "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dati meta dell'elemento.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etichetta del meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dati meta dell'elemento.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etichetta del meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dati meta dell'elemento.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etichetta del meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome per la risorsa.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Contenuto della recensione.", "required": true }, "date_created": { "description": "La data in cui \u00e8 stata creata la recensione, nel fuso orario del sito.", "type": "date-time", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nome del recensore.", "required": true }, "email": { "type": "string", "description": "Email del recensore.", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "review": { "description": "Contenuto della recensione.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stata creata la recensione, nel fuso orario del sito.", "type": "date-time", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nome recensore.", "type": "string", "required": false }, "email": { "description": "Indirizzo e-email recensore.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "filter": { "type": "object", "description": "Usa gli argomenti di WP Query per modificare la risposta; le variabili di query private necessitano dell'autorizzazione appropriata.", "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limita i risultati ai prodotti di un tipo specifico.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "category": { "description": "Limita i risultati ai prodotti assegnati ad una specifica categoria.", "type": "string", "required": false }, "tag": { "description": "Limita i risultati ai prodotti assegnati ad uno specifico tag.", "type": "string", "required": false }, "shipping_class": { "description": "Limita i risultati ai prodotti assegnati ad una specifica classe di spedizione.", "type": "string", "required": false }, "attribute": { "description": "Limita i risultati ai prodotti con un attributo specifico.", "type": "string", "required": false }, "attribute_term": { "description": "Limita i risultati ai prodotti con uno specifico termine di attributo (obbligatoriamente un attributo assegnato).", "type": "string", "required": false }, "sku": { "description": "Limita i risultati per prodotti con un COD specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "required": false }, "virtual": { "default": false, "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Tipo di download, controlla lo schema nel front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID dei prodotti correlati.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista delle variazioni.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID variazione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La da di creazione della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL della variazione.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificativo unico", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Prezzo attuale della variazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Mostra se la variazione \u00e8 in offerta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Mostra se la variazione pu\u00f2 essere acquistata.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Se la variazione \u00e8 visibile.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Stato imposta", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Mostra se gli ordini arretrati sono permessi.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Mostra se la variazione ha ordini arretrati.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso variazione (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID della classe di spedizione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dati immagine di variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista degli attributi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "download_type": { "description": "Tipo di download, controlla lo schema nel front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID dei prodotti correlati.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista delle variazioni.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID variazione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La da di creazione della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL della variazione.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificativo unico", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Prezzo attuale della variazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Mostra se la variazione \u00e8 in offerta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Mostra se la variazione pu\u00f2 essere acquistata.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Se la variazione \u00e8 visibile.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Stato imposta", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Mostra se gli ordini arretrati sono permessi.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Mostra se la variazione ha ordini arretrati.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso variazione (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID della classe di spedizione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dati immagine di variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista degli attributi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "download_type": { "description": "Tipo di download, controlla lo schema nel front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID dei prodotti correlati.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista delle variazioni.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID variazione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "La da di creazione della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica della variazione, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL della variazione.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Identificativo unico", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Prezzo attuale della variazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Data di inizio offerte ", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data di fine del prezzo in offerta.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Mostra se la variazione \u00e8 in offerta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Mostra se la variazione pu\u00f2 essere acquistata.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Se la variazione \u00e8 visibile.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Stato imposta", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Mostra se gli ordini arretrati sono permessi.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Mostra se la variazione ha ordini arretrati.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Peso variazione (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID della classe di spedizione.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dati immagine di variazione.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista degli attributi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome della classe d'imposta.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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 unico per la risorsa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "order" ], "type": "string", "required": false }, "class": { "description": "Ordina per classe d'imposta.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limita i risultati ai webhook con uno specifico stato.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Argomento del webhook.", "required": true }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL di consegna del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificatore univoco per il webhook.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Identificatore univoco per il webhook.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "code": { "description": "Limita i risultati alle risorse con un codice specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": true }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "default": false, "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitare il set di risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limita i risultati alle risorse con uno specifico indirizzo email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limita i risultati alle risorse con uno specifico ruolo.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nuovo indirizzo email dell'utente.", "required": true }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nuovo username utente.", "type": "string", "required": false }, "password": { "description": "Nuova password utente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID da re-assegnare agli articoli.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Restringi il risultato ai clienti o alle note interne.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenuto della nota dell'ordine.", "required": true }, "customer_note": { "default": false, "description": "Se vero, la nota verr\u00e0 mostrata ai clienti e saranno notificati. Se falso, la nota sar\u00e0 di riferimento solo per l'amministratore.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "amount": { "description": "Valore del rimborso.", "type": "string", "required": false }, "reason": { "description": "Motivo del rimborso.", "type": "string", "required": false }, "refunded_by": { "description": "ID utente dell'utente che ha creato il rimborso.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "api_refund": { "default": true, "description": "Se vero, l'API del gateway di pagamento viene utilizzata per generare il rimborso.", "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": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limita i risultati agli ordini assegnati ad uno stato specifico.", "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "customer": { "description": "Limita i risultati agli ordini assegnati ad un cliente specifico.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati agli ordini contenenti uno specifico prodotto.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "default": "EUR", "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome per la risorsa.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Contenuto della recensione.", "required": true }, "date_created": { "description": "La data in cui \u00e8 stata creata la recensione, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui la recensione \u00e8 stata creata, come GMT.", "type": "date-time", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nome del recensore.", "required": true }, "email": { "type": "string", "description": "Email del recensore.", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "review": { "description": "Contenuto della recensione.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stata creata la recensione, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui la recensione \u00e8 stata creata, come GMT.", "type": "date-time", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nome recensore.", "type": "string", "required": false }, "email": { "description": "Indirizzo e-email recensore.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "review": { "description": "Contenuto della recensione.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stata creata la recensione, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui la recensione \u00e8 stata creata, come GMT.", "type": "date-time", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false }, "name": { "description": "Nome recensore.", "type": "string", "required": false }, "email": { "description": "Indirizzo e-email recensore.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limita i risultati ai prodotti di un tipo specifico.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "featured": { "description": "Restringi il risultato ai prodotti in evidenza.", "type": "boolean", "required": false }, "category": { "description": "Limita i risultati ai prodotti assegnati ad una specifica categoria.", "type": "string", "required": false }, "tag": { "description": "Limita i risultati ai prodotti assegnati ad uno specifico tag.", "type": "string", "required": false }, "shipping_class": { "description": "Limita i risultati ai prodotti assegnati ad una specifica classe di spedizione.", "type": "string", "required": false }, "attribute": { "description": "Limita i risultati ai prodotti con uno specifico attributo. Usa il nome della tassonomia o lo slug dell'attributo.", "type": "string", "required": false }, "attribute_term": { "description": "Limita i risultati ai prodotti con uno specifico termine di attributo (obbligatoriamente un attributo assegnato).", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "in_stock": { "description": "Restringi il risultato ai prodotti disponibili in maggazzino e quelli non disponibili in magazzino.", "type": "boolean", "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "virtual": { "default": false, "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista degli ID dei prodotti raggruppati.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista degli ID dei prodotti raggruppati.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlli per gestire se il prodotto sia considerato \"in magazzino\" o \"Non disponibile\" sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista degli ID dei prodotti raggruppati.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limita i risultati ai prodotti di un tipo specifico.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "featured": { "description": "Restringi il risultato ai prodotti in evidenza.", "type": "boolean", "required": false }, "category": { "description": "Limita i risultati ai prodotti assegnati ad una specifica categoria.", "type": "string", "required": false }, "tag": { "description": "Limita i risultati ai prodotti assegnati ad uno specifico tag.", "type": "string", "required": false }, "shipping_class": { "description": "Limita i risultati ai prodotti assegnati ad una specifica classe di spedizione.", "type": "string", "required": false }, "attribute": { "description": "Limita i risultati ai prodotti con uno specifico attributo. Usa il nome della tassonomia o lo slug dell'attributo.", "type": "string", "required": false }, "attribute_term": { "description": "Limita i risultati ai prodotti con uno specifico termine di attributo (obbligatoriamente un attributo assegnato).", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "in_stock": { "description": "Restringi il risultato ai prodotti disponibili in maggazzino e quelli non disponibili in magazzino.", "type": "boolean", "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "visible": { "default": true, "description": "Definisci se la variazione \u00e8 visibile sulla pagina del prodotto.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gestione dell'inventario per le variazioni.", "type": "mixed", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "visible": { "description": "Definisci se la variazione \u00e8 visibile sulla pagina del prodotto.", "type": "boolean", "required": false }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "mixed", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data di fine dell'offerta (GMT).", "type": "date-time", "required": false }, "visible": { "description": "Definisci se la variazione \u00e8 visibile sulla pagina del prodotto.", "type": "boolean", "required": false }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "mixed", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "in_stock": { "description": "Controlla se la variazione \u00e8 elencata come 'in magazzino' o 'esaurita' sul frontend.", "type": "boolean", "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione immagine. 0 significa che l'immagine \u00e8 in evidenza.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "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 gruppo di impostazioni.", "type": "string", "required": false }, "value": { "description": "Imposta il valore", "type": "mixed", "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "type": "string", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "type": "string", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "value": { "description": "Imposta il valore", "type": "mixed", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome zona di spedizione.", "required": true }, "order": { "description": "Ordinamento zone di spedizione.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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 univoco per la risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome zona di spedizione.", "type": "string", "required": false }, "order": { "description": "Ordinamento zone di spedizione.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "code": { "description": "Codice della zona di spedizione.", "type": "string", "required": false }, "type": { "description": "Tipologia della zona di spedizione.", "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 univoco per la zona.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "order": { "description": "Ordine metodo di spedizione.", "type": "integer", "required": false }, "enabled": { "description": "Status di abilitazione del metodo di spedizione.", "type": "boolean", "required": false }, "settings": { "description": "impostazioni del metodo di spedizione.", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID del metodo di spedizione.", "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 univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false }, "order": { "description": "Ordine metodo di spedizione.", "type": "integer", "required": false }, "enabled": { "description": "Status di abilitazione del metodo di spedizione.", "type": "boolean", "required": false }, "settings": { "description": "impostazioni del metodo di spedizione.", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome della classe d'imposta.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "description": "Slug unico per la risorsa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "order" ], "type": "string", "required": false }, "class": { "description": "Ordina per classe d'imposta.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limita i risultati ai webhook con uno specifico stato.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Argomento del webhook.", "required": true }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL di consegna del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Identificatore univoco per il webhook.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Identificatore univoco per il webhook.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore unico per lo strumento.", "type": "string", "required": false }, "name": { "description": "Nome dello strumento.", "type": "string", "required": false }, "action": { "description": "Cosa far\u00e0 l'esecuzione dello strumento.", "type": "string", "required": false }, "description": { "description": "Descrizione dello strumento", "type": "string", "required": false }, "success": { "description": "Lo strumento \u00e8 stato eseguito correttamente?", "type": "boolean", "required": false }, "message": { "description": "Messaggio restituito dallo strumento.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "title": { "description": "Titolo metodo di pagamento al checkout.", "type": "string", "required": false }, "description": { "description": "Descrizione del metodo di pagamento al momento del completamento dell'ordine.", "type": "string", "required": false }, "order": { "description": "Ordine metodo di pagamento.", "type": "integer", "required": false }, "enabled": { "description": "Stato di abilitazione del metodo di pagamento.", "type": "boolean", "required": false }, "settings": { "description": "Impostazioni metodo di pagamento", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/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:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "code": { "description": "Limita i risultati alle risorse con un codice specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": true }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "default": false, "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Codice del codice promozionale.", "type": "string", "required": false }, "amount": { "description": "L'importo dello sconto. Dovrebbe essere sempre numerico, anche se \u00e8 impostata una percentuale.", "type": "string", "required": false }, "discount_type": { "description": "Determina il tipo di sconto che verr\u00e0 applicato.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Descrizione codice promozionale.", "type": "string", "required": false }, "date_expires": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario del sito.", "type": "string", "required": false }, "date_expires_gmt": { "description": "La data di scadenza del codice promozionale, secondo il fuso orario GMT.", "type": "string", "required": false }, "individual_use": { "description": "Se vero, il codice promozionale pu\u00f2 essere utilizzato solo singolarmente. Altri eventuali codici promozionali applicati verranno rimossi dal carrello.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista degli ID dei prodotti per i quali il codice promozionale non pu\u00f2 essere utilizzato.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato in totale.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Quante volte il codice promozionale pu\u00f2 essere utilizzato da ciascun cliente.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Numero massimo di prodotti nel carrello ai quali pu\u00f2 essere applicato il codice promozionale.", "type": "integer", "required": false }, "free_shipping": { "description": "Se vero e se il metodo di spedizione gratuito richiede un codice promozionale, questo codice promozionale consentir\u00e0 la spedizione gratuita.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista degli ID delle categorie per le quali il codice promozionale non pu\u00f2 essere applicato.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Se vero, questo codice promozionale non verr\u00e0 applicato a elementi che hanno prezzi scontati.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Il valore minimo dell'ordine che deve essere nel carrello prima di applicare il codice promozionale.", "type": "string", "required": false }, "maximum_amount": { "description": "Il valore massimo dell'ordine permesso utilizzando il codice promozionale.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista degli indirizzi email che possono utilizzare questo codice promozionale.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitare il set di risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limita i risultati alle risorse con uno specifico indirizzo email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limita i risultati alle risorse con uno specifico ruolo.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Nuovo indirizzo email dell'utente.", "required": true }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nuovo username utente.", "type": "string", "required": false }, "password": { "description": "Nuova password utente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID da re-assegnare agli articoli.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "L'indirizzo email per il cliente.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Nome cliente.", "type": "string", "required": false }, "last_name": { "description": "Cognome cliente.", "type": "string", "required": false }, "username": { "description": "Nome d'accesso del cliente.", "type": "string", "required": false }, "password": { "description": "Password cliente.", "type": "string", "required": false }, "billing": { "description": "Lista dei dati dell'indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista dei dati dell'indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Codice ISO della nazione.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Restringi il risultato ai clienti o alle note interne.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "note": { "type": "string", "description": "Contenuto della nota dell'ordine.", "required": true }, "customer_note": { "default": false, "description": "Se vero, la nota verr\u00e0 mostrata ai clienti e saranno notificati. Se falso, la nota sar\u00e0 di riferimento solo per l'amministratore.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "Se il valore \u00e8 \"true\", questa nota sar\u00e0 attribuita all'utente corrente. Se il valore \u00e8 \"false\", la nota sar\u00e0 attribuita 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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "amount": { "description": "Valore del rimborso.", "type": "string", "required": false }, "reason": { "description": "Motivo del rimborso.", "type": "string", "required": false }, "refunded_by": { "description": "ID utente dell'utente che ha creato il rimborso.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "api_refund": { "default": true, "description": "Se vero, l'API del gateway di pagamento viene utilizzata per generare il rimborso.", "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": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID ordine", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limite del risultato impostato sugli ordini con stati specifici.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ] }, "required": false }, "customer": { "description": "Limita i risultati agli ordini assegnati ad un cliente specifico.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati agli ordini contenenti uno specifico prodotto.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Numero di punti decimali da usare in ogni risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "default": "EUR", "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID ordine padre.", "type": "integer", "required": false }, "status": { "description": "Stato dell'ordine.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed" ], "required": false }, "currency": { "description": "La valuta usata per creare l'ordine, in 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 dell'utente a cui appartiene l'ordine. 0 per gli ospiti.", "type": "integer", "required": false }, "customer_note": { "description": "Nota lasciata dal cliente durante la verifica dell'ordine. ", "type": "string", "required": false }, "billing": { "description": "Indirizzo di fatturazione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Indirizzo email.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numero di telefono.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Indirizzo di spedizione.", "type": "object", "properties": { "first_name": { "description": "Nome.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Cognome.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ragione sociale.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Indirizzo linea 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Indirizzo linea 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Citt\u00e1.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Codice ISO o nome dello stato, provincia o distretto.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "C.A.P.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Contrassegno del paese in formato ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metodo di pagamento.", "type": "string", "required": false }, "payment_method_title": { "description": "Titolo metodo di pagamento.", "type": "string", "required": false }, "transaction_id": { "description": "ID unico della transazione.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dati dei prodotti per riga.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "product_id": { "description": "ID Prodotto.", "type": "mixed", "context": [ "view", "edit" ] }, "variation_id": { "description": "ID variazione, se applicabile.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantit\u00e0 ordinata.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Classe d'imposta del prodotto.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale (prima degli sconti).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Subtotale imposte (prima degli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Codice Prodotto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Prezzo del prodotto.", "type": "number", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "shipping_lines": { "description": "Dati di spedizione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nome del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "method_id": { "description": "ID del metodo di spedizione.", "type": "mixed", "context": [ "view", "edit" ] }, "instance_id": { "description": "ID istanza di spedizione.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dati delle tasse.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nome tassa.", "type": "mixed", "context": [ "view", "edit" ] }, "tax_class": { "description": "Categoria fiscale di pagamento.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Regime fiscale del pagamento.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Totale (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Totale imposte (dopo gli sconti).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Imposte.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID imposta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Totale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Subtotale imposte.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dati dei codici promozionale.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID elemento.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Codice del codice promozionale.", "type": "mixed", "context": [ "view", "edit" ] }, "discount": { "description": "Totale sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Totale imposte sullo sconto.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "meta_data": { "description": "Meta dati", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Definisci se l'ordine \u00e8 stato pagato. Sar\u00e0 impostato lo stato in lavorazione e ridotti gli articoli nel magazzino.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "attribute_id": { "description": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "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": "Identificatore univoco per l'attributo dei termini.", "type": "integer", "required": false }, "name": { "description": "Nome termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome per la risorsa.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "default": "select", "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome attributo.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "type": { "description": "Tipo di attributo.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Ordinamento di default.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Abilita\/Disabilita gli archivi degli attributi.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita i risultati alle risorse assegnate ad uno specifico genitore.", "type": "integer", "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome categoria.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore della risorsa.", "type": "integer", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false }, "display": { "description": "Tipo di visualizzazione dell'archivio di categoria.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dati immagine.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Ordine menu, utilizzato per personalizzare l'ordine dei risultati.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita l'insieme dei risultati alle recensioni pubblicate prima di una determinata data conforme a ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limitare il set di risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limita l'insieme dei risultati alle recensioni assegnate a ID di utenti specifici.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Assicurati che l'insieme dei risultati escluda le recensioni assegnate a ID di utenti specifici.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limita l'insieme dei risultati a quello proveniente dall'e-mail di un autore specifico.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limita l'insieme dei risultati alle recensioni assegnate a ID di prodotto specifici.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limita l'insieme dei risultati alle recensioni assegnate a uno stato specifico.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificatore univoco per il prodotto.", "type": "integer", "required": true }, "status": { "default": "approved", "description": "Stato della recensione.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nome del recensore.", "required": true }, "reviewer_email": { "type": "string", "description": "Email del recensore.", "required": true }, "review": { "type": "string", "description": "Contenuto della recensione.", "required": true }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "product_id": { "description": "Identificatore univoco per il prodotto al quale appartiene la recensione.", "type": "integer", "required": false }, "status": { "description": "Stato della recensione.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nome recensore.", "type": "string", "required": false }, "reviewer_email": { "description": "Indirizzo e-email recensore.", "type": "string", "format": "email", "required": false }, "review": { "description": "Contenuto della recensione.", "type": "string", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificatore univoco per il prodotto al quale appartiene la recensione.", "type": "integer", "required": false }, "status": { "description": "Stato della recensione.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Nome recensore.", "type": "string", "required": false }, "reviewer_email": { "description": "Indirizzo e-email recensore.", "type": "string", "format": "email", "required": false }, "review": { "description": "Contenuto della recensione.", "type": "string", "required": false }, "rating": { "description": "Valutazione della recensione (da 0 a 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome classe di spedizione.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo della risorsa.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Indica se nascondere o meno risorse non assegnate a nessun prodotto.", "type": "boolean", "default": false, "required": false }, "product": { "description": "Limita i risultati alle risorse assegnate ad uno specifico prodotto.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita i risultati alle risorse con uno slug specifico.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome per la risorsa.", "required": true }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome tag.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico univoco per il suo tipo per la risorsa.", "type": "string", "required": false }, "description": { "description": "Descrizione delle risorse HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limita i risultati ai prodotti di un tipo specifico.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "featured": { "description": "Restringi il risultato ai prodotti in evidenza.", "type": "boolean", "required": false }, "category": { "description": "Limita i risultati ai prodotti assegnati ad una specifica categoria.", "type": "string", "required": false }, "tag": { "description": "Limita i risultati ai prodotti assegnati ad uno specifico tag.", "type": "string", "required": false }, "shipping_class": { "description": "Limita i risultati ai prodotti assegnati ad una specifica classe di spedizione.", "type": "string", "required": false }, "attribute": { "description": "Limita i risultati ai prodotti con uno specifico attributo. Usa il nome della tassonomia o lo slug dell'attributo.", "type": "string", "required": false }, "attribute_term": { "description": "Limita i risultati ai prodotti con uno specifico termine di attributo (obbligatoriamente un attributo assegnato).", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false }, "stock_status": { "description": "Limite del risultato impostato sui prodotti con stato della disponibilit\u00e0 specifico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stato creato il prodotto, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui il prodotto \u00e8 stato creato, come GMT.", "type": "date-time", "required": false }, "type": { "default": "simple", "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "virtual": { "default": false, "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stato creato il prodotto, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui il prodotto \u00e8 stato creato, come GMT.", "type": "date-time", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nome prodotto.", "type": "string", "required": false }, "slug": { "description": "Slug prodotto.", "type": "string", "required": false }, "date_created": { "description": "La data in cui \u00e8 stato creato il prodotto, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_created_gmt": { "description": "La data in cui il prodotto \u00e8 stato creato, come GMT.", "type": "date-time", "required": false }, "type": { "description": "Tipologia di prodotto.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Stato prodotto (stato del post).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Prodotto in evidenza", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Visibilit\u00e0 catalogo.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Descrizione prodotto", "type": "string", "required": false }, "short_description": { "description": "Descrizione breve del prodotto", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino del prodotto.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo prodotto in offerta.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "virtual": { "description": "Se il prodotto \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se il prodotto \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "external_url": { "description": "URL esterno del prodotto. Solo per prodotti esterni.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Testo del pulsante del prodotto esterno. Solo per prodotti esterni.", "type": "string", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione magazzino sul prodotto.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Permetti l'acquisto di un elemento per ogni ordine.", "type": "boolean", "required": false }, "weight": { "description": "Peso prodotto (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni prodotto.", "type": "object", "properties": { "length": { "description": "Lunghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza prodotto (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "reviews_allowed": { "description": "Permetti recensioni.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista degli ID dei prodotti up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista degli ID dei prodotti cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID del prodotto genitore.", "type": "integer", "required": false }, "purchase_note": { "description": "Nota opzionale da inviare al cliente dopo l'acquisto.", "type": "string", "required": false }, "categories": { "description": "Lista delle categorie.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID della categoria.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug della categoria.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista dei tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del tag.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Slug del tag.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista delle immagini.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Posizione attributo.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Definisce se l'attributo \u00e8 visibile nel tab \"Informazioni aggiuntive\" nella pagina del prodotto.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Definisce se l'attributo pu\u00f2 essere usato come variazione.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dei nomi di termine disponibili per l'attributo.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Attributi di default della variazione.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita i risultati a quelli che corrispondono a una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug" ], "required": false }, "parent": { "description": "Limita i risultati a quelli con degli specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita i risultati a tutti i prodotti eccetto quelli con uno specifico ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita i risultati ai prodotti con uno slug specifico.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limita i risultati ai prodotti con uno specifico stato.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limite del risultato impostato sui prodotti con SKU specifici. Utilizza le virgole per separare.", "type": "string", "required": false }, "tax_class": { "description": "Limita l'insieme dei risultati ai prodotti con una specifica classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "on_sale": { "description": "Restringi il risultato ai prodotti in offerta.", "type": "boolean", "required": false }, "min_price": { "description": "Restringi il risultato in base ad un prezzo minimo dei prodotti.", "type": "string", "required": false }, "max_price": { "description": "Restringi il risultato in base ad un prezzo massimo dei prodotti.", "type": "string", "required": false }, "stock_status": { "description": "Limite del risultato impostato sui prodotti con stato della disponibilit\u00e0 specifico.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "status": { "default": "publish", "description": "Stato di variazione.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "status": { "description": "Stato di variazione.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "id": { "description": "identificatore univoco per la variazione.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "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": "Identificatore univoco del prodotto variabile.", "type": "integer", "required": false }, "description": { "description": "Descrizione variazione", "type": "string", "required": false }, "sku": { "description": "Identificativo unico", "type": "string", "required": false }, "regular_price": { "description": "Prezzo di listino della variazione.", "type": "string", "required": false }, "sale_price": { "description": "Prezzo in saldo della variazione.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data di inizio del prezzo scontato, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_from_gmt": { "description": "Data d'inizio sconti, come GMT.", "type": "date-time", "required": false }, "date_on_sale_to": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "date_on_sale_to_gmt": { "description": "Data Fine sconti, nel fuso orario del sito.", "type": "date-time", "required": false }, "status": { "description": "Stato di variazione.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Se la variazione \u00e8 virtuale.", "type": "boolean", "required": false }, "downloadable": { "description": "Se la variazione \u00e8 scaricabile.", "type": "boolean", "required": false }, "downloads": { "description": "Lista dei file scaricabili.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID del file.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nome del file.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL File.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Numero di volte in cui i file scaricabili possono essere scaricati dopo l'acquisto.", "type": "integer", "required": false }, "download_expiry": { "description": "Numero di giorni entro cui l'accesso ai file scaricabili scade.", "type": "integer", "required": false }, "tax_status": { "description": "Stato imposta", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Classe d'imposta.", "type": "string", "required": false }, "manage_stock": { "description": "Gestione dell'inventario per le variazioni.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Quantit\u00e0 in magazzino.", "type": "integer", "required": false }, "stock_status": { "description": "Controlla lo stato delle scorte di magazzino del prodotto.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Se stai gestendo il magazzino, questo controlla se gli ordini arretrati sono permessi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Peso variazione (kg).", "type": "string", "required": false }, "dimensions": { "description": "Dimensioni variazione.", "type": "object", "properties": { "length": { "description": "Lunghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Larghezza variazione (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Altezza variazione (cm)", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Slug della classe di spedizione.", "type": "string", "required": false }, "image": { "description": "Dati immagine di variazione.", "type": "object", "properties": { "id": { "description": "ID dell'immagine", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "La data in cui \u00e8 stata creata l'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "La data in cui l'immagine \u00e8 stata creata, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "La data di ultima modifica dell'immagine, nel fuso orario del sito.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "La data in cui l'immagine \u00e8 stata modificata l'ultima volta, come GMT.", "type": "date-time", "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL immagine.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nome dell'immagine.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Testo alternativo dell'immagine.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista degli attributi.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID attributo.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nome attributo.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Nome di termine dell'attributo selezionato.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Ordine men\u00f9, utilizzato per ordinare i prodotti in modo personalizzato.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID Meta.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Chiave meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Valore meta.", "type": "mixed", "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Periodo del report.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Restituisce le vendite per una specifica data di inizio, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Restituisce le vendite per una specifica data di fine, la data deve essere in formato YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/settings" } ] } }, "\/wc\/v3\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "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 gruppo di impostazioni.", "type": "string", "required": false }, "value": { "description": "Imposta il valore", "type": "mixed", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "type": "string", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID gruppo di impostazioni.", "type": "string", "required": false }, "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "value": { "description": "Imposta il valore", "type": "mixed", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nome zona di spedizione.", "required": true }, "order": { "description": "Ordinamento zone di spedizione.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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 univoco per la risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Nome zona di spedizione.", "type": "string", "required": false }, "order": { "description": "Ordinamento zone di spedizione.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per la risorsa.", "type": "integer", "required": false }, "code": { "description": "Codice della zona di spedizione.", "type": "string", "required": false }, "type": { "description": "Tipologia della zona di spedizione.", "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 univoco per la zona.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "order": { "description": "Ordine metodo di spedizione.", "type": "integer", "required": false }, "enabled": { "description": "Status di abilitazione del metodo di spedizione.", "type": "boolean", "required": false }, "settings": { "description": "impostazioni del metodo di spedizione.", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID del metodo di spedizione.", "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 univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false }, "order": { "description": "Ordine metodo di spedizione.", "type": "integer", "required": false }, "enabled": { "description": "Status di abilitazione del metodo di spedizione.", "type": "boolean", "required": false }, "settings": { "description": "impostazioni del metodo di spedizione.", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "ID univoco per la zona.", "type": "integer", "required": false }, "instance_id": { "description": "ID univoco per l'istanza.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Indica se saltare il cestino e forzare l'eliminazione o meno.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nome della classe d'imposta.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "description": "Slug unico per la risorsa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente della collezione.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo di prodotti restituito nella lista dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Ordina gli attributi in modo crescente o decrescente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Ordina la collezione per attributo dell'oggetto.", "enum": [ "id", "order" ], "type": "string", "required": false }, "class": { "description": "Ordina per classe d'imposta.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Codice ISO 3166 della nazione.", "type": "string", "required": false }, "state": { "description": "Codice stato.", "type": "string", "required": false }, "postcode": { "description": "C.A.P.", "type": "string", "required": false }, "city": { "description": "Citt\u00e1.", "type": "string", "required": false }, "rate": { "description": "Aliquota d'imposta.", "type": "string", "required": false }, "name": { "description": "Nome aliquota d'imposta.", "type": "string", "required": false }, "priority": { "description": "Priorit\u00e0 imposta.", "type": "integer", "required": false }, "compound": { "description": "Se questa \u00e8 una imposta composta o meno.", "type": "boolean", "required": false }, "shipping": { "description": "Se questa imposta viene applicata o meno alla spedizione.", "type": "boolean", "required": false }, "order": { "description": "Indica che l'ordine apparir\u00e0 nelle query.", "type": "integer", "required": false }, "class": { "description": "Classe d'imposta.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta alle risorse pubblicate dopo una data in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita la risposta alle risorse pubblicate prima della data fornita in formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Assicura che i risultati escludano ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita i risultati ad ID specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Compensa i risultati per un numero specifico di prodotti.", "type": "integer", "required": false }, "order": { "description": "Ordina gli attributi in modo crescente o decrescente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione per attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limita i risultati ai webhook con uno specifico stato.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Argomento del webhook.", "required": true }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL di consegna del webhook.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u00c8 necessario che sia vero, poich\u00e9 le risorse non possono essere cestinate.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Un nome semplice per il webhook.", "type": "string", "required": false }, "status": { "description": "Stato webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Argomento del webhook.", "type": "string", "required": false }, "secret": { "description": "Chiave segreta utilizzata per generare un hash del webhook spedito e fornito nelle intestazioni della richiesta. Per impostazione predefinita \u00e8 un hash MD5 ricavato dall'ID dell'utente corrente o dal nome utente se non viene fornito.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore unico per lo strumento.", "type": "string", "required": false }, "name": { "description": "Nome dello strumento.", "type": "string", "required": false }, "action": { "description": "Cosa far\u00e0 l'esecuzione dello strumento.", "type": "string", "required": false }, "description": { "description": "Descrizione dello strumento", "type": "string", "required": false }, "success": { "description": "Lo strumento \u00e8 stato eseguito correttamente?", "type": "boolean", "required": false }, "message": { "description": "Messaggio restituito dallo strumento.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per la risorsa.", "type": "string", "required": false }, "title": { "description": "Titolo metodo di pagamento al checkout.", "type": "string", "required": false }, "description": { "description": "Descrizione del metodo di pagamento al momento del completamento dell'ordine.", "type": "string", "required": false }, "order": { "description": "Ordine metodo di pagamento.", "type": "integer", "required": false }, "enabled": { "description": "Stato di abilitazione del metodo di pagamento.", "type": "boolean", "required": false }, "settings": { "description": "Impostazioni metodo di pagamento", "type": "object", "properties": { "id": { "description": "Un identificatore univoco per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Un'etichetta leggibile per l'impostazione utilizzata nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Una descrizione human readable per le impostazioni utilizzate nelle interfacce.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Tipo di impostazione.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Imposta il valore", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Valore predefinito per l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Testo di aiuto aggiuntivo mostrato all'utente riguardo l'impostazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Il testo segnaposto da visualizzare in campi testuali.", "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:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "Codice del continente a 2 caratteri.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Codice del paese ISO3166 alpha-2.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Codice della valuta ISO4217.", "type": "string", "required": false } } } ] }, "\/wccom-site\/v1": { "namespace": "wccom-site\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wccom-site\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wccom-site\/v1" } ] } }, "\/wccom-site\/v1\/installer": { "namespace": "wccom-site\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wccom-site\/v1\/installer" } ] } }, "\/mailchimp-for-woocommerce\/v1": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mailchimp-for-woocommerce\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/mailchimp-for-woocommerce\/v1" } ] } }, "\/mailchimp-for-woocommerce\/v1\/ping": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/mailchimp-for-woocommerce\/v1\/ping" } ] } }, "\/mailchimp-for-woocommerce\/v1\/survey\/disconnect": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/mailchimp-for-woocommerce\/v1\/survey\/disconnect" } ] } }, "\/elementor\/v1": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1" } ] } }, "\/elementor\/v1\/globals": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1\/globals" } ] } }, "\/elementor\/v1\/globals\/colors": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1\/globals\/colors" } ] } }, "\/elementor\/v1\/globals\/colors\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/globals\/typography": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1\/globals\/typography" } ] } }, "\/elementor\/v1\/globals\/typography\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/favorites": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1\/favorites" } ] } }, "\/elementor\/v1\/favorites\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to create.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to delete.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/template-library\/templates": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/elementor\/v1\/template-library\/templates" } ] } }, "\/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:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limita la serie di risultati agli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Garantisce che la serie di risultati escluda gli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limita i risultati basati sulle relazioni tra tassonomie multiple.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Limita l'insieme dei risultati agli elementi con i termini specifici assegnati nella tassonomia categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false }, "operator": { "description": "Se gli elementi devono essere assegnati a tutti o ad alcuni dei termini specificati.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Limita l'insieme dei risultati agli elementi tranne quelli con termini specifici assegnati nella tassonomia categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Limita l'insieme dei risultati agli elementi con i termini specifici assegnati nella tassonomia tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Se gli elementi devono essere assegnati a tutti o ad alcuni dei termini specificati.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Limita l'insieme dei risultati agli elementi tranne quelli con termini specifici assegnati nella tassonomia tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Limita la serie di risultati agli elementi in evidenza.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Il formato per l\u2019articolo.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "sticky": { "description": "Se l'articolo sia da trattare come in evidenza o meno.", "type": "boolean", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "categories": { "description": "I termini assegnati all'articolo nella tassonomia category.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "I termini assegnati all'articolo nella tassonomia post_tag.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Il formato per l\u2019articolo.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "sticky": { "description": "Se l'articolo sia da trattare come in evidenza o meno.", "type": "boolean", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "categories": { "description": "I termini assegnati all'articolo nella tassonomia category.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "I termini assegnati all'articolo nella tassonomia post_tag.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione in base ad un attributo dell'oggetto.", "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": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 le revisioni non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Il formato per l\u2019articolo.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "sticky": { "description": "Se l'articolo sia da trattare come in evidenza o meno.", "type": "boolean", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "categories": { "description": "I termini assegnati all'articolo nella tassonomia category.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "I termini assegnati all'articolo nella tassonomia post_tag.", "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": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limita la serie di risultati agli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Garantisce che la serie di risultati escluda gli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Limita l'insieme di risultati agli articoli con uno specifico valore menu_order.", "type": "integer", "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Limita la serie di risultati dei particolari parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita il risultato a tutti gli elementi eccetto quelli di un particolare ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore dell'articolo.", "type": "integer", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "parent": { "description": "L'ID del genitore dell'articolo.", "type": "integer", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione in base ad un attributo dell'oggetto.", "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": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 le revisioni non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore dell'articolo.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limita la serie di risultati agli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Garantisce che la serie di risultati escluda gli articoli assegnati ad autori specifici.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Limita la serie di risultati dei particolari parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limita il risultato a tutti gli elementi eccetto quelli di un particolare ID genitore.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "Limita l'insieme dei risultati agli allegati di un tipo media specifico.", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "Limita l'insieme dei risultati agli allegati con uno specifico tipo MIME.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "alt_text": { "description": "Testo alternativo da mostrare quando la risorsa non \u00e8 visualizzata.", "type": "string", "required": false }, "caption": { "description": "La didascalia dell'allegato.", "type": "object", "properties": { "raw": { "description": "Didascalia per l'allegato, cos\u00ec come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Didascalia HTML per l'allegato, trasformata per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "La descrizione dell'allegato.", "type": "object", "properties": { "raw": { "description": "Descrizione dell'allegato, cos\u00ec come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Descrizione HTML per l'allegato, trasformata per la visualizzazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "L'ID dell'articolo associato all'allegato.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "L'ID dell'autore dell'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "alt_text": { "description": "Testo alternativo da mostrare quando la risorsa non \u00e8 visualizzata.", "type": "string", "required": false }, "caption": { "description": "La didascalia dell'allegato.", "type": "object", "properties": { "raw": { "description": "Didascalia per l'allegato, cos\u00ec come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Didascalia HTML per l'allegato, trasformata per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "La descrizione dell'allegato.", "type": "object", "properties": { "raw": { "description": "Descrizione dell'allegato, cos\u00ec come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Descrizione HTML per l'allegato, trasformata per la visualizzazione.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "L'ID dell'articolo associato all'allegato.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Identificatore univoco per l'allegato.", "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 al file dell'immagine modificata.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Array delle modifiche dell'immagine.", "type": "array", "minItems": 1, "items": { "description": "Modifica delle immagini.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "Rotazione", "properties": { "type": { "description": "Tipo di rotazione.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "Argomenti della rotazione.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "Angolo in gradi per la rotazione in senso orario.", "type": "number" } } } } }, { "title": "Ritaglia", "properties": { "type": { "description": "Tipo di crop.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "Argomenti del crop.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "Distanza orizzontale da sinistra per iniziare il ritaglio in percentuale della larghezza dell'immagine.", "type": "number" }, "top": { "description": "Distanza verticale dall'alto per iniziare il ritaglio in percentuale dell'altezza dell'immagine.", "type": "number" }, "width": { "description": "Larghezza del crop come percentuale della larghezza dell'immagine.", "type": "number" }, "height": { "description": "Altezza del crop come percentuale dell'altezza dell'immagine.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "I gradi in senso orario di rotazione dell'immagine. DEPRECATO: preferire i `modifiers`.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "La posizione x da cui iniziare il ritaglio dell'immagine. DEPRECATO: preferire i `modifiers`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "La posizione y da cui iniziare il ritaglio dell'immagine. DEPRECATO: preferire i `modifiers`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "La larghezza di ritaglio dell'immagine in percentuale dell'immagine. DEPRECATO: preferire i `modifiers`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "L'altezza di ritaglio dell'immagine in percentuale dell'immagine. DEPRECATO: preferire i `modifiers`.", "type": "number", "minimum": 0, "maximum": 100, "required": false } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione in base ad un attributo dell'oggetto.", "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": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 le revisioni non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "required": false }, "wp_id": { "description": "Limita all'ID articolo specificato.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Slug univoco che identifica il template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z_\\-]+", "required": true }, "theme": { "description": "Identificatore del tema per il template.", "type": "string", "required": false }, "content": { "default": "", "description": "Contenuto del template.", "type": [ "object", "string" ], "required": false }, "title": { "default": "", "description": "Titolo del template.", "type": [ "object", "string" ], "required": false }, "description": { "default": "", "description": "Descrizione del template.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Stato del template.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "L'ID di un template", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "description": "Slug univoco che identifica il template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z_\\-]+", "required": false }, "theme": { "description": "Identificatore del tema per il template.", "type": "string", "required": false }, "content": { "description": "Contenuto del template.", "type": [ "object", "string" ], "required": false }, "title": { "description": "Titolo del template.", "type": [ "object", "string" ], "required": false }, "description": { "description": "Descrizione del template.", "type": "string", "required": false }, "status": { "description": "Stato del template.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione in base ad un attributo dell'oggetto.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/templates\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "L'ID per il genitore della revisione.", "type": "integer", "required": false }, "id": { "description": "Identificatore univoco per la revisione.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 le revisioni non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "slug": { "description": "Slug univoco che identifica il template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z_\\-]+", "required": false }, "theme": { "description": "Identificatore del tema per il template.", "type": "string", "required": false }, "content": { "description": "Contenuto del template.", "type": [ "object", "string" ], "required": false }, "title": { "description": "Titolo del template.", "type": [ "object", "string" ], "required": false }, "description": { "description": "Descrizione del template.", "type": "string", "required": false }, "status": { "description": "Stato del template.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/mphb_room_type": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Limita l'insieme di risultati agli articoli con uno specifico valore menu_order.", "type": "integer", "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limita i risultati basati sulle relazioni tra tassonomie multiple.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "mphb_room_type_category": { "description": "Limita l'insieme dei risultati agli elementi con i termini specifici assegnati nella tassonomia mphb_room_type_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false }, "operator": { "description": "Se gli elementi devono essere assegnati a tutti o ad alcuni dei termini specificati.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "mphb_room_type_category_exclude": { "description": "Limita l'insieme dei risultati agli elementi tranne quelli con termini specifici assegnati nella tassonomia mphb_room_type_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "mphb_room_type_tag": { "description": "Limita l'insieme dei risultati agli elementi con i termini specifici assegnati nella tassonomia mphb_room_type_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Se gli elementi devono essere assegnati a tutti o ad alcuni dei termini specificati.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "mphb_room_type_tag_exclude": { "description": "Limita l'insieme dei risultati agli elementi tranne quelli con termini specifici assegnati nella tassonomia mphb_room_type_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "mphb_room_type_facility": { "description": "Limita l'insieme dei risultati agli elementi con i termini specifici assegnati nella tassonomia mphb_room_type_facility.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false }, "operator": { "description": "Se gli elementi devono essere assegnati a tutti o ad alcuni dei termini specificati.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "mphb_room_type_facility_exclude": { "description": "Limita l'insieme dei risultati agli elementi tranne quelli con termini specifici assegnati nella tassonomia mphb_room_type_facility.", "type": [ "object", "array" ], "oneOf": [ { "title": "Elenco degli ID dei termini", "description": "Abbina i termini con gli ID elencati.", "type": "array", "items": { "type": "integer" } }, { "title": "Query della tassonomia dell'ID del termine", "description": "Esegui una query avanzata dei termini.", "type": "object", "properties": { "terms": { "description": "ID di termini.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Se i termini figli sono inclusi nei termini che limitano il set di risultati.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "mphb_room_type_category": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_category.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_tag": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_tag.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_facility": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_facility.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/mphb_room_type" } ] } }, "\/wp\/v2\/mphb_room_type\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "mphb_room_type_category": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_category.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_tag": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_tag.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_facility": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_facility.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/mphb_room_type\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Il riassunto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il riassunto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Riassunto HTML per l'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Indica se il riassunto sia protetto da password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false }, "mphb_room_type_category": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_category.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_tag": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_tag.", "type": "array", "items": { "type": "integer" }, "required": false }, "mphb_room_type_facility": { "description": "I termini assegnati all'articolo nella tassonomia mphb_room_type_facility.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/mphb_room_type\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/mphb_room_service": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita l'insieme dei risultati a risorse pubblicate dopo una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limita l'insieme dei risultati agli articoli pubblicati dopo una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limita l'insieme dei risultati a risorse pubblicate prima di una data fornita nello standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limita l'insieme dei risultati agli articoli pubblicati prima di una determinata data conforme allo standard ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Limita l'insieme di risultati agli articoli con uno specifico valore menu_order.", "type": "integer", "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta in base ad un attributo dell'articolo.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 slug specifici.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limita l'insieme dei risultati agli articoli con uno o pi\u00f9 stati assegnati.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/mphb_room_service" } ] } }, "\/wp\/v2\/mphb_room_service\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per l'articolo", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false } } } ] }, "\/wp\/v2\/mphb_room_service\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "date": { "description": "La data di pubblicazione dell'articolo, nel fuso orario del sito.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione dell'articolo, nel fuso orario GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'articolo unico di questo tipo.", "type": "string", "required": false }, "status": { "description": "Uno stato con nome per l'articolo.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "in-progress", "failed", "pending-user", "pending-payment", "abandoned", "confirmed", "cancelled", "mphb-p-pending", "mphb-p-completed", "mphb-p-failed", "mphb-p-abandoned", "mphb-p-on-hold", "mphb-p-refunded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed" ], "required": false }, "password": { "description": "Una password per proteggere l'accesso al contenuto e al riassunto.", "type": "string", "required": false }, "title": { "description": "Il titolo dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il titolo dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Titolo HTML per l'articolo, trasformato per la visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Il contenuto dell'articolo.", "type": "object", "properties": { "raw": { "description": "Il contenuto dell'articolo, come riportato nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML dell'articolo, trasformato per essere visualizzato.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Versione del formato del blocco di contenuto utilizzata dall'articolo.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Se il contenuto \u00e8 protetto da password oppure no.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "L'id del media in evidenza per l'articolo.", "type": "integer", "required": false }, "comment_status": { "description": "Se i commenti sono aperti o meno per l'articolo.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Se l'articolo si possa pingare o meno.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "L'ordine dell'articolo in relazione ad altri articoli.", "type": "integer", "required": false }, "template": { "description": "Il file del tema da utilizzare per visualizzare l'articolo.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/mphb_room_service\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "L'ID del genitore del salvataggio automatico.", "type": "integer", "required": false }, "id": { "description": "L'ID per il salvataggio automatico.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Un identificativo alfanumerico per il tipo di contenuto (post type).", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Un identificativo alfanumerico per lo stato.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Limita i risultati alle tassonomie associate ad uno specifico tipo di contenuto (post type).", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "Un identificativo alfanumerico per la tassonomia.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta per attributo del termine.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Se vuoi nascondere i termini non assegnati ad alcun articolo.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico genitore.", "type": "integer", "required": false }, "post": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico articolo.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita l'insieme dei risultati ai termini con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 i termini non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta per attributo del termine.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Se vuoi nascondere i termini non assegnati ad alcun articolo.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico articolo.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita l'insieme dei risultati ai termini con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 i termini non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/mphb_room_type_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta per attributo del termine.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Se vuoi nascondere i termini non assegnati ad alcun articolo.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico genitore.", "type": "integer", "required": false }, "post": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico articolo.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita l'insieme dei risultati ai termini con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/mphb_room_type_category" } ] } }, "\/wp\/v2\/mphb_room_type_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 i termini non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/mphb_room_type_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta per attributo del termine.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Se vuoi nascondere i termini non assegnati ad alcun articolo.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico articolo.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita l'insieme dei risultati ai termini con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/mphb_room_type_tag" } ] } }, "\/wp\/v2\/mphb_room_type_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 i termini non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/mphb_room_type_facility": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la raccolta per attributo del termine.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Se vuoi nascondere i termini non assegnati ad alcun articolo.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico genitore.", "type": "integer", "required": false }, "post": { "description": "Limita la serie di risultati ai termini assegnati ad uno specifico articolo.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limita l'insieme dei risultati ai termini con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": true }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/mphb_room_type_facility" } ] } }, "\/wp\/v2\/mphb_room_type_facility\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "description": { "description": "Descrizione HTML del termine.", "type": "string", "required": false }, "name": { "description": "Il titolo HTML del termine.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per il termine, unico nella sua tipologia.", "type": "string", "required": false }, "parent": { "description": "L'ID del termine genitore.", "type": "integer", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificativo unico per il termine.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Deve essere true, poich\u00e9 i termini non si possono eliminare.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Attributo per l'ordinamento ascendente o discendente.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Ordina la raccolta per l'attributo dell'utente.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Limita l'insieme dei risultati agli utenti con uno o pi\u00f9 specifici slug.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Limita la serie di risultati agli utenti che corrispondono ad almeno uno dei ruoli indicati. Pu\u00f2 accettare un elenco csv o un singolo ruolo.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Limita il risultato impostato agli utenti che sono considerati autori.", "type": "string", "enum": [ "authors" ], "required": false } } }, { "methods": [ "POST" ], "args": { "username": { "description": "Il nome per l'accesso dell'utente. ", "type": "string", "required": true }, "name": { "description": "Visualizza il nome dell'utente. ", "type": "string", "required": false }, "first_name": { "description": "Il nome dell'utente.", "type": "string", "required": false }, "last_name": { "description": "Il cognome dell'utente.", "type": "string", "required": false }, "email": { "description": "L'indirizzo email per l'utente.", "type": "string", "format": "email", "required": true }, "url": { "description": "L'URL dell'utente.", "type": "string", "format": "uri", "required": false }, "description": { "description": "La descrizione dell'utente.", "type": "string", "required": false }, "locale": { "description": "La lingua per l'utente.", "type": "string", "enum": [ "", "en_US", "de_DE", "it_IT" ], "required": false }, "nickname": { "description": "Il nickname per l'utente.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'utente.", "type": "string", "required": false }, "roles": { "description": "Ruoli assegnati all'utente.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password per l'utente (mai inclusa).", "type": "string", "required": true }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identificatore univoco per l'utente.", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco per l'utente.", "type": "integer", "required": false }, "username": { "description": "Il nome per l'accesso dell'utente. ", "type": "string", "required": false }, "name": { "description": "Visualizza il nome dell'utente. ", "type": "string", "required": false }, "first_name": { "description": "Il nome dell'utente.", "type": "string", "required": false }, "last_name": { "description": "Il cognome dell'utente.", "type": "string", "required": false }, "email": { "description": "L'indirizzo email per l'utente.", "type": "string", "format": "email", "required": false }, "url": { "description": "L'URL dell'utente.", "type": "string", "format": "uri", "required": false }, "description": { "description": "La descrizione dell'utente.", "type": "string", "required": false }, "locale": { "description": "La lingua per l'utente.", "type": "string", "enum": [ "", "en_US", "de_DE", "it_IT" ], "required": false }, "nickname": { "description": "Il nickname per l'utente.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'utente.", "type": "string", "required": false }, "roles": { "description": "Ruoli assegnati all'utente.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password per l'utente (mai inclusa).", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identificatore univoco per l'utente.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u00c8 necessario che sia impostato su vero, se la risorsa non supporta l'eliminazione.", "required": false }, "reassign": { "type": "integer", "description": "Assegna gli articoli e i link dell'utente eliminato all'utente con questo ID.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Il nome per l'accesso dell'utente. ", "type": "string", "required": false }, "name": { "description": "Visualizza il nome dell'utente. ", "type": "string", "required": false }, "first_name": { "description": "Il nome dell'utente.", "type": "string", "required": false }, "last_name": { "description": "Il cognome dell'utente.", "type": "string", "required": false }, "email": { "description": "L'indirizzo email per l'utente.", "type": "string", "format": "email", "required": false }, "url": { "description": "L'URL dell'utente.", "type": "string", "format": "uri", "required": false }, "description": { "description": "La descrizione dell'utente.", "type": "string", "required": false }, "locale": { "description": "La lingua per l'utente.", "type": "string", "enum": [ "", "en_US", "de_DE", "it_IT" ], "required": false }, "nickname": { "description": "Il nickname per l'utente.", "type": "string", "required": false }, "slug": { "description": "Un identificatore alfanumerico per l'utente.", "type": "string", "required": false }, "roles": { "description": "Ruoli assegnati all'utente.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Password per l'utente (mai inclusa).", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "\u00c8 necessario che sia impostato su vero, se la risorsa non supporta l'eliminazione.", "required": false }, "reassign": { "type": "integer", "description": "Assegna gli articoli e i link dell'utente eliminato all'utente con questo ID.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "Un UUID fornito dall'applicazione per una identificazione univoca. Si raccomanda di usare un UUID v5 con l'URL o il namespace DNS.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Il nome della password dell'applicazione.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "Un UUID fornito dall'applicazione per una identificazione univoca. Si raccomanda di usare un UUID v5 con l'URL o il namespace DNS.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Il nome della password dell'applicazione.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "after": { "description": "Limita la risposta ai commenti pubblicati dopo una specifica data conforme al formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limita l'insieme dei risultati ai commenti assegnati a specifici id utenti. Richiede una autorizzazione.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "Esclude dall'insieme dei risultati i commenti provenienti da specifici id di autori. Richiede una autorizzazione.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Limita l'insieme dei risultati a quelli provenienti da uno specifico indirizzo email di un autore. Richiede una autorizzazione.", "format": "email", "type": "string", "required": false }, "before": { "description": "Limita la risposta ai commenti pubblicati prima di una specifica data conforme al formato ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Esclude specifici ID dall'insieme dei risultati.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limita l'insieme dei risultati a specifici ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Sposta di uno specifico numero di elementi l'inizio dell'insieme dei risultati.", "type": "integer", "required": false }, "order": { "description": "Attributo per l'ordinamento ascendente o discendente.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Ordina la collezione in base a un attributo del commento.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "Limita l'insieme dei risultati alle risorse appartenenti a specifici ID genitore.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "Esclude dall'insieme dei risultati gli elementi con l'ID genitore specificato.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Limita l'insieme dei risultati ai commenti assegnati a specifici ID di articoli.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Limita l'insieme dei risultati ai commenti con uno specifico stato assegnato. Richiede una autorizzazione.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Limita l'insieme dei risultati a commenti assegnati ad un tipo specifico. Richiede autorizzazione.", "type": "string", "required": false }, "password": { "description": "La password per l\u2019articolo se fosse protetto da password.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "L'id dell'oggetto user, se l'autore \u00e8 stato un utente.", "type": "integer", "required": false }, "author_email": { "description": "Indirizzo email dell'autore del commento.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Indirizzo IP dell'autore del commento.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Nome pubblico visualizzato per l'autore del commento.", "type": "string", "required": false }, "author_url": { "description": "L\u2019URL dell\u2019autore del commento.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent dell'autore del commento.", "type": "string", "required": false }, "content": { "description": "Il contenuto del commento.", "type": "object", "properties": { "raw": { "description": "Il contenuto del commento, come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML del commento, adattato alla visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "La data in cui il commento \u00e8 stato pubblicato, nel fuso orario del sito web.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione del commento, nel fuso orario GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "L'ID del genitore del commento.", "type": "integer", "required": false }, "post": { "default": 0, "description": "L'id dell'oggetto articolo associato.", "type": "integer", "required": false }, "status": { "description": "Stato del commento.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "ID univoco per il commento", "type": "integer", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "La password per l'articolo genitore del commento (se l'articolo \u00e8 protetto con password).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "ID univoco per il commento", "type": "integer", "required": false }, "author": { "description": "L'id dell'oggetto user, se l'autore \u00e8 stato un utente.", "type": "integer", "required": false }, "author_email": { "description": "Indirizzo email dell'autore del commento.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Indirizzo IP dell'autore del commento.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Nome pubblico visualizzato per l'autore del commento.", "type": "string", "required": false }, "author_url": { "description": "L\u2019URL dell\u2019autore del commento.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent dell'autore del commento.", "type": "string", "required": false }, "content": { "description": "Il contenuto del commento.", "type": "object", "properties": { "raw": { "description": "Il contenuto del commento, come presente nel database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Contenuto HTML del commento, adattato alla visualizzazione.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "La data in cui il commento \u00e8 stato pubblicato, nel fuso orario del sito web.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "La data di pubblicazione del commento, nel fuso orario GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "L'ID del genitore del commento.", "type": "integer", "required": false }, "post": { "description": "L'id dell'oggetto articolo associato.", "type": "integer", "required": false }, "status": { "description": "Stato del commento.", "type": "string", "required": false }, "meta": { "description": "Campi dei meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "ID univoco per il commento", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Se evitare il cestino e eliminare definitivamente.", "required": false }, "password": { "description": "La password per l'articolo genitore del commento (se l'articolo \u00e8 protetto con password).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "type": { "default": "post", "description": "Limita i risultati agli elementi di un tipo di oggetto.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Limita i risultati agli elementi di uno o pi\u00f9 sottotipi di oggetti.", "type": "array", "items": { "enum": [ "post", "page", "product", "mphb_room_type", "mphb_room_service", "category", "post_tag", "mphb_room_type_category", "mphb_room_type_tag", "mphb_room_type_facility", "any" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Nome univoco registrato per il blocco.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Attributi del blocco.", "type": "object", "default": [], "required": false }, "post_id": { "description": "ID del contesto dell'articolo.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Namespace del blocco.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Namespace del blocco.", "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": "Nome del blocco", "type": "string", "required": false }, "namespace": { "description": "Namespace del blocco.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": { "title": { "description": "Titolo del sito.", "type": "string", "required": false }, "description": { "description": "Motto del sito.", "type": "string", "required": false }, "url": { "description": "URL del sito.", "type": "string", "format": "uri", "required": false }, "email": { "description": "Questo indirizzo \u00e8 utilizzato per scopi amministrativi, come ad esempio la notifica dell'iscrizione di nuovi utenti.", "type": "string", "format": "email", "required": false }, "timezone": { "description": "Una citt\u00e0 nel tuo stesso fuso orario.", "type": "string", "required": false }, "date_format": { "description": "Un formato per tutte le stringhe che rappresentano una data.", "type": "string", "required": false }, "time_format": { "description": "Un formato per tutte le stringhe che rappresentano un orario.", "type": "string", "required": false }, "start_of_week": { "description": "Il numero del giorno della settimana in cui la settimana dovrebbe cominciare.", "type": "integer", "required": false }, "language": { "description": "Codice locale di WordPress.", "type": "string", "required": false }, "use_smilies": { "description": "Convertire in visualizzazione gli emoticon tipo :-) e :-P in simboli grafici.", "type": "boolean", "required": false }, "default_category": { "description": "Categoria predefinita per gli articoli.", "type": "integer", "required": false }, "default_post_format": { "description": "Formato dell'articolo predefinito.", "type": "string", "required": false }, "posts_per_page": { "description": "Pagine del blog da mostrare al massimo.", "type": "integer", "required": false }, "default_ping_status": { "description": "Consenti notifiche di link da altri blog (pingback e trackback) sui nuovi articoli.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "description": "Permetti di commentare i nuovi articoli.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "description": "Logo del sito.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Limita il risultato impostato sui temi assegnati ad uno o pi\u00f9 stati.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "Il foglio di stile del tema. Questo identifica in modo univoco il tema.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "required": false }, "status": { "description": "Limita i risultati ai plugin con il seguente stato.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Slug del plugin nella directory di WordPress.org.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "Lo stato di attivazione del plugin.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "Lo stato di attivazione del plugin.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "L'id di una barra laterale registrata", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Widget annidati.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/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": "L'ID del tipo di widget.", "type": "string", "required": false }, "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "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": "L'ID del tipo di widget.", "type": "string", "required": true }, "instance": { "description": "Impostazioni dell'istanza attuale del widget.", "type": "object", "required": false }, "form_data": { "description": "Dati serializzati del modulo del widget da codificare nelle impostazioni dell'istanza.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "La barra laterale per cui restituire i widget.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Identificatore univoco del widget.", "type": "string", "required": false }, "id_base": { "description": "Il tipo del widget. Corrisponde all'ID nell'endpoint widget-types.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "La barra laterale a cui appartiene il widget.", "type": "string", "required": true }, "instance": { "description": "Istanza delle impostazioni del widget, se supportato.", "type": "object", "properties": { "encoded": { "description": "Rappresentazione codificata in base64 dell'istanza delle impostazioni.", "type": "string", "context": [ "view", "edit", "embed" ] }, "hash": { "description": "Hash crittografato dell'istanza delle impostazioni.", "type": "string", "context": [ "view", "edit", "embed" ] }, "raw": { "description": "Istanza decodificata delle impostazioni, se supportato.", "type": "object", "context": [ "view", "edit", "embed" ] } }, "required": false }, "form_data": { "description": "URL-codificato del modulo dei dati dal modulo amministrativo dei widget. Utilizzato per aggiornare un widget che non supporta le istanze. Sola scrittura.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identificatore univoco del widget.", "type": "string", "required": false }, "id_base": { "description": "Il tipo del widget. Corrisponde all'ID nell'endpoint widget-types.", "type": "string", "required": false }, "sidebar": { "description": "La barra laterale a cui appartiene il widget.", "type": "string", "required": false }, "instance": { "description": "Istanza delle impostazioni del widget, se supportato.", "type": "object", "properties": { "encoded": { "description": "Rappresentazione codificata in base64 dell'istanza delle impostazioni.", "type": "string", "context": [ "view", "edit", "embed" ] }, "hash": { "description": "Hash crittografato dell'istanza delle impostazioni.", "type": "string", "context": [ "view", "edit", "embed" ] }, "raw": { "description": "Istanza decodificata delle impostazioni, se supportato.", "type": "object", "context": [ "view", "edit", "embed" ] } }, "required": false }, "form_data": { "description": "URL-codificato del modulo dei dati dal modulo amministrativo dei widget. Utilizzato per aggiornare un widget che non supporta le istanze. Sola scrittura.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "description": "Se forzare la rimozione del widget o spostarlo nella barra laterale inattiva.", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Pagina corrente dell'elenco.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Numero massimo dei risultati da restituire nella serie dei risultati.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Limita i risultati ai blocchi che corrispondono ai termini di ricerca.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scopo della richiesta; determina i campi che saranno presenti nella risposta.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "search": { "description": "Limita la serie di risultati a quelli contententi una stringa.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Limita i risultati a quelli corrispondenti all'ID della categoria.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Limita i risultati a quelli corrispondenti all'ID della parola chiave.", "type": "integer", "minimum": 1, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/shop.villaaina.com\/it\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/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:\/\/shop.villaaina.com\/it\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } } }, "site_logo": false, "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ] } }